Remove styles for bottom sheet, because the library already applies them for us

This commit is contained in:
Phillip Hsu 2016-10-07 16:55:17 -07:00
parent 48546653c7
commit fe434726f6

View File

@ -17,7 +17,6 @@
<resources>
<!--TODO: DayNight parent-->
<style name="BaseAppTheme" parent="Theme.AppCompat.NoActionBar">
<item name="bottomSheetDialogTheme">@style/BottomSheetDialogTheme</item>
<!--Don't need to use `@color/icon_color` ColorStateList resource because icons tinted by this
- attribute will only ever be in the active state.
- Secondly, using a ColorStateList resource via XML for the tint attribute of an ImageView
@ -175,18 +174,6 @@
<item name="android:background">@color/alert_dialog_background_color_black</item>
</style>
<style name="BottomSheetDialogTheme" parent="Theme.Design.Light.BottomSheetDialog">
<item name="bottomSheetStyle">@style/ModalStyle</item>
<!--TODO: See if defining a colorAccent item works.-->
</style>
<style name="ModalStyle" parent="Widget.Design.BottomSheet.Modal">
<!-- TODO: See if this can be set programmatically, or else we'd have to force users
~ to declare a bottomSheetDialogTheme in their theme.
-->
<item name="behavior_peekHeight">@dimen/peek_height_upper_limit</item>
</style>
<!--Style for SeekBar that spans full width-->
<style name="BaseSeekBar">
<item name="android:layout_width">match_parent</item>