Intellij / Android Studio Find / Replace Multiline View in XML Layout (Android)

I need to replace this

<fr.castorflex.android.smoothprogressbar.SmoothProgressBar xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/progress_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:indeterminate="true"
        android:visibility="gone"
        app:spb_color="#FF0000"
        app:spb_mirror_mode="false"
        app:spb_progressiveStart_activated="true"
        app:spb_progressiveStart_speed="1.5"
        app:spb_progressiveStop_speed="3.4"
        app:spb_reversed="false"
        app:spb_sections_count="4"
        app:spb_speed="2.0"
        app:spb_stroke_separator_length="4dp"
        app:spb_stroke_width="4dp" />

      

this

<fr.castorflex.android.smoothprogressbar.SmoothProgressBar
        android:id="@+id/progress_bar"
        android:layout_width="match_parent"
        android:layout_height="4dp"
        android:visibility="invisible"
        style="@style/GNowProgressBar"
        android:indeterminate="true"/>

      

completely complete the whole project using Intellij / Android Studio Find / Replace. Is it possible?

+3


source to share


1 answer


(for MAC and similarly for Windows)



Click "Modify" (top left of the Intellij / Android Studio window) Hover over "Find", Then select "Replace structurally" Now the find / replace structurally window will open. At the bottom of the window, uncheck all the boxes (otherwise it may not identify the project fragment).

+3


source







All Articles