Skip to content
Snippets Groups Projects
Commit f8517fba authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix BottomSheet style in video player

parent 7f654392
No related branches found
No related tags found
1 merge request!632Video player
Pipeline #19601 passed with stage
in 3 minutes and 18 seconds
......@@ -3,7 +3,7 @@
android:shape="rectangle">
<solid android:color="?attr/bottom_sheet_background" />
<corners
android:topLeftRadius="16dp"
android:topRightRadius="16dp" />
android:topLeftRadius="?attr/bottom_sheet_radius"
android:topRightRadius="?attr/bottom_sheet_radius" />
</shape>
\ No newline at end of file
......@@ -29,6 +29,7 @@
<attr name="header_background" format="reference|color" />
<attr name="bottom_navigation_background" format="reference|color" />
<attr name="bottom_sheet_background" format="reference|color" />
<attr name="bottom_sheet_radius" format="dimension" />
<attr name="bottom_navigation_color" format="reference|color" />
<attr name="background_default_darker" format="reference|color" />
<attr name="background_actionbar" format="reference|color" />
......
......@@ -35,7 +35,6 @@
android:id="@+id/player_overlay_tracks"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/black_transparent_80"
android:orientation="horizontal">
......
......@@ -35,7 +35,6 @@
android:id="@+id/player_overlay_tracks"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/black_transparent_80"
android:orientation="horizontal">
......
......@@ -43,6 +43,7 @@
<item name="background_default">@color/white</item>
<item name="bottom_navigation_background">@drawable/bottom_navigation_background</item>
<item name="bottom_sheet_background">@color/white</item>
<item name="bottom_sheet_radius">16dp</item>
<item name="bottom_navigation_color">@color/grey700</item>
<item name="progress_indeterminate_tint">@color/white</item>
<item name="header_background">@color/whitetransparent_ea</item>
......@@ -172,6 +173,7 @@
<item name="background_default">@color/black</item>
<item name="bottom_navigation_background">@drawable/bottom_navigation_background_dark</item>
<item name="bottom_sheet_background">@color/grey875</item>
<item name="bottom_sheet_radius">16dp</item>
<item name="bottom_navigation_color">@color/grey500</item>
<item name="header_background">@color/blacktransparent</item>
<item name="background_default_darker">@color/grey875</item>
......@@ -376,7 +378,10 @@
<item name="textInputStyle">@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox
</item>
<item name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme</item>
<item name="bottomSheetDialogTheme">@style/AppBottomSheetDialogTheme.Player</item>
<item name="bottom_sheet_background">@color/black_transparent_80</item>
<item name="bottom_sheet_radius">4dp</item>
<item name="colorPrimary">@color/orange500</item>
<item name="colorPrimaryDark">@color/transparent</item>
......@@ -621,6 +626,11 @@
</style>
<style name="AppBottomSheetDialogTheme.Player">
<item name="android:navigationBarColor">@color/black_transparent_80</item>
</style>
<!-- fixme : We'll have to revert to Widget.MaterialComponents.BottomSheet.Modal when this issue is fixed: https://github.com/material-components/material-components-android/issues/1086-->
<style name="AppModalStyle" parent="Widget.Design.BottomSheet.Modal">
</style>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment