File tree 3 files changed +12
-3
lines changed
library/ui-styles/src/main/res/values
vector/src/main/res/layout
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 14
14
<!-- Default color for text View -->
15
15
<item name =" android:textColorTertiary" >@color/element_content_primary_light</item >
16
16
<item name =" android:textColorLink" >@color/element_link_light</item >
17
+ <item name =" bottomSheetStyle" >@style/BottomSheetStyle</item >
17
18
</style >
18
19
19
20
<style name =" Theme.Vector.BottomSheetDialog.Dark" parent =" Theme.MaterialComponents.BottomSheetDialog" >
28
29
<!-- Default color for text View -->
29
30
<item name =" android:textColorTertiary" >@color/element_content_primary_dark</item >
30
31
<item name =" android:textColorLink" >@color/element_link_dark</item >
32
+ <item name =" bottomSheetStyle" >@style/BottomSheetStyle</item >
31
33
</style >
32
34
33
35
<style name =" Theme.Vector.BottomSheetDialog.Black" parent =" Theme.Vector.BottomSheetDialog.Dark" >
34
36
<item name =" colorSurface" >@color/element_background_black</item >
35
37
</style >
36
38
37
39
<!-- BottomSheet style -->
40
+ <style name =" BottomSheetStyle" parent =" Widget.MaterialComponents.BottomSheet.Modal" >
41
+ <item name =" shapeAppearance" >@style/BottomSheetShapeAppearance</item >
42
+ </style >
43
+
44
+ <style name =" BottomSheetShapeAppearance" parent =" " >
45
+ <item name =" cornerFamily" >rounded</item >
46
+ <item name =" cornerSize" >20dp</item >
47
+ </style >
48
+
38
49
<style name =" BottomSheetItemTextMain" >
39
50
<item name =" android:fontFamily" >sans-serif-medium</item >
40
51
<item name =" android:layout_width" >0dp</item >
Original file line number Diff line number Diff line change 3
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
4
android : layout_width =" match_parent"
5
5
android : layout_height =" match_parent"
6
- android : background =" ?colorSurface"
7
6
android : orientation =" vertical" >
8
7
9
8
<androidx .core.widget.NestedScrollView
Original file line number Diff line number Diff line change 10
10
android : id =" @+id/bottomSheetActionClickableZone"
11
11
android : layout_width =" match_parent"
12
12
android : layout_height =" wrap_content"
13
- android : background =" ?colorSurface"
14
13
android : clickable =" true"
15
14
android : focusable =" true"
16
15
android : foreground =" ?attr/selectableItemBackground"
93
92
94
93
</androidx .constraintlayout.widget.ConstraintLayout>
95
94
96
- </merge >
95
+ </merge >
You can’t perform that action at this time.
0 commit comments