Dim navbar in details
This commit is contained in:
4
app/src/main/res/color-v23/bg_dim_bottomsheet.xml
Normal file
4
app/src/main/res/color-v23/bg_dim_bottomsheet.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:alpha="0.78" android:color="?colorSurfaceContainerLow" />
|
||||
</selector>
|
||||
5
app/src/main/res/color/bg_dim_bottomsheet.xml
Normal file
5
app/src/main/res/color/bg_dim_bottomsheet.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- https://stackoverflow.com/questions/54685474/theme-attributes-in-color-selector-for-api-22 -->
|
||||
<item android:color="@color/dim2" />
|
||||
</selector>
|
||||
@@ -318,12 +318,12 @@
|
||||
tools:layout="@layout/sheet_chapters_pages" />
|
||||
|
||||
<org.koitharu.kotatsu.core.ui.widgets.WindowInsetHolder
|
||||
android:id="@+id/navbarDim"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@color/bg_dim_bottomsheet"
|
||||
android:elevation="9dp"
|
||||
tools:layout_height="10dp"
|
||||
android:id="@+id/navbarDim"
|
||||
android:background="@color/dim2" />
|
||||
tools:layout_height="10dp" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
Reference in New Issue
Block a user