Skip to content

Commit

Permalink
♻️ alter ids of toolbars for appbar layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkim2689 committed Jul 25, 2024
1 parent c3d00f6 commit d9c513e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions android/app/src/main/res/layout/item_appbar_search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
</data>

<com.google.android.material.appbar.AppBarLayout
android:id="@+id/abl_default"
android:id="@+id/abl_search"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white">

<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/tb_default"
android:id="@+id/ctb_search"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fitsSystemWindows="false"
app:layout_anchor="@+id/abl_default"
app:layout_scrollFlags="scroll|snap">

<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:id="@+id/tb_search"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@color/white"
Expand Down
4 changes: 2 additions & 2 deletions android/app/src/main/res/layout/item_appbar_with_action.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
</data>

<com.google.android.material.appbar.AppBarLayout
android:id="@+id/abl_default"
android:id="@+id/abl_action"
android:layout_width="match_parent"
android:layout_height="wrap_content">

<androidx.appcompat.widget.Toolbar
android:id="@+id/tb_default"
android:id="@+id/tb_action"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:contentInsetStart="0dp"
Expand Down

0 comments on commit d9c513e

Please sign in to comment.