I'm trying to find instances in my resources where View contains background="@+id/play_bubble" and replace the View with custom view Bubble.
So the current
<View android:id="@+id/obstacle3" android:layout_height="@dimen/obstacle_width" android:layout_width="@dimen/obstacle_width" android:background="@drawable/play_bubble" android:layout_alignParentLeft="true" android:layout_above="@id/obstacle2" /> I want it to find all View objects that contain a certain background, regardless of the other attributes. I'm not getting any results though.
My end result after replace should look like this:
<Bubble android:id="@+id/obstacle3" android:layout_height="@dimen/obstacle_width" android:layout_width="@dimen/obstacle_width" android:background="@drawable/play_bubble" android:layout_alignParentLeft="true" android:layout_above="@id/obstacle2" /> Any help is much appreciated.
No comments:
Post a Comment