Skip to content

Commit

Permalink
fixed bug: app would crash when trying to show the bottom sheet on th…
Browse files Browse the repository at this point in the history
…e homescreen since it used attributes in its background drawable.
  • Loading branch information
sds100 committed Mar 29, 2019
1 parent 2be3b49 commit 8f5876f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/src/main/res/drawable-v19/bg_bottom_sheet.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners
android:topLeftRadius="@dimen/bottom_sheet_corner_radius"
android:topRightRadius="@dimen/bottom_sheet_corner_radius" />
<padding android:top="@dimen/bottom_sheet_top_padding" />
<!--KitKat can't use attributes in drawable files-->
<solid android:color="#ffffff" />
</shape>

0 comments on commit 8f5876f

Please sign in to comment.