Skip to content

Commit

Permalink
[BottomAppBar][Catalog] Fix bug with transparent top app bar when in …
Browse files Browse the repository at this point in the history
…bottom app bar layout

resolves #3265

PiperOrigin-RevId: 515043402
  • Loading branch information
imhappi authored and paulfthomas committed Mar 8, 2023
1 parent 2702b1a commit c22eb0d
Showing 1 changed file with 13 additions and 12 deletions.
Expand Up @@ -17,18 +17,7 @@
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">

<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fitsSystemWindows="true">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
style="?attr/catalogToolbarWithCloseButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.appbar.AppBarLayout>

<androidx.core.widget.NestedScrollView
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
Expand Down Expand Up @@ -79,4 +68,16 @@
android:text="@string/cat_bottomappbar_lorem_ipsum" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>

<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fitsSystemWindows="true">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
style="?attr/catalogToolbarWithCloseButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.appbar.AppBarLayout>

</merge>

0 comments on commit c22eb0d

Please sign in to comment.