File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ object AppConfig {
131131 const val PREF_BLUR_BOTTOM_RADIUS = " pref_blur_bottom_radius"
132132 const val DEFAULT_BLUR_BOTTOM_RADIUS = 5
133133 const val PREF_BLUR_BOTTOM_ALPHA = " pref_blur_bottom_alpha"
134- const val DEFAULT_BLUR_BOTTOM_ALPHA = 20
134+ const val DEFAULT_BLUR_BOTTOM_ALPHA = 50
135135 const val PREF_ICON_SHAPE = " pref_icon_shape"
136136 const val PREF_ICON_SHAPE_DEFAULT = " uwu_shape_cookie"
137137
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ object BlurBottomStatusController {
5757
5858 val density = activity.resources.displayMetrics.density
5959 glassRadiusPx = 28f * density
60- glassFillBaseColor = activity.getColorAttr(" colorSurfaceContainerHigh " )
60+ glassFillBaseColor = activity.getColorAttr(" colorSurfaceContainerHighest " )
6161 glassFillColor = withAlpha(glassFillBaseColor, alphaPercentToInt(alphaPercent))
6262 val glassDrawable = GradientDrawable ().apply {
6363 setColor(glassFillColor)
@@ -67,8 +67,8 @@ object BlurBottomStatusController {
6767 setCornerRadius(glassRadiusPx)
6868 setStrokeWidthTop(1f * density)
6969 setStrokeWidthBottom((2f / 3f ) * density)
70- setStrokeColorTop(withAlpha(activity.getColorAttr(" colorOutline " ), 0xA8 ))
71- setStrokeColorBottom(withAlpha(activity.getColorAttr(" colorOutline " ), 0x70 ))
70+ setStrokeColorTop(withAlpha(activity.getColorAttr(" strokeDrawable " ), 0xA8 ))
71+ setStrokeColorBottom(withAlpha(activity.getColorAttr(" strokeDrawable " ), 0x70 ))
7272 }
7373
7474 binding.blurBottomStatus.apply {
Original file line number Diff line number Diff line change 1414 <item name =" android:windowBackground" >?colorBg</item >
1515 <item name =" colorBg" >?colorSurface</item >
1616 <item name =" colorCard" >?colorSurfaceContainerLow</item >
17+ <item name =" strokeDrawable" >?colorOutline</item >
1718 <item name =" snackbarStyle" >@style/Widget.Material3.Snackbar</item >
1819 <item name =" bottomSheetDialogTheme" >@style/AppThemeBottomSheetDialog</item >
1920 <item name =" sideSheetDialogTheme" >@style/AppThemeSideSheetDialog</item >
Original file line number Diff line number Diff line change 22<resources >
33 <attr name =" colorBg" format =" color" />
44 <attr name =" colorCard" format =" color" />
5+ <attr name =" strokeDrawable" format =" color" />
56
67 <attr name =" siArrowPosition" >
78 <enum name =" left" value =" 0" />
Original file line number Diff line number Diff line change 1313 <item name =" android:windowBackground" >?colorBg</item >
1414 <item name =" colorBg" >?colorSurfaceVariant</item >
1515 <item name =" colorCard" >?colorSurfaceContainerLow</item >
16+ <item name =" strokeDrawable" >@android:color/white</item >
1617 <item name =" snackbarStyle" >@style/Widget.Material3.Snackbar</item >
1718 <item name =" bottomSheetDialogTheme" >@style/AppThemeBottomSheetDialog</item >
1819 <item name =" sideSheetDialogTheme" >@style/AppThemeSideSheetDialog</item >
You can’t perform that action at this time.
0 commit comments