Skip to content

Commit

Permalink
Sets rounded top corners in non expanded modal state
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonis Lilis committed Sep 23, 2020
1 parent 62d80db commit 7c0ab38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
android:topLeftRadius="@dimen/margin_medium"
android:topRightRadius="@dimen/margin_medium" />
<solid android:color="?attr/categoriesBackground" />
</shape>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:id="@+id/appBarLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/categoriesBackground"
android:background="@drawable/modal_layout_picker_background"
android:fitsSystemWindows="false">

<com.google.android.material.appbar.CollapsingToolbarLayout
Expand All @@ -32,7 +32,7 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/categoriesBackground"
android:background="@drawable/modal_layout_picker_background"
android:elevation="0dp"
app:layout_collapseMode="pin">

Expand Down

0 comments on commit 7c0ab38

Please sign in to comment.