More fixes to blue theme

Some of these have existed for a while.. guess no one really uses this theme
This commit is contained in:
Jays2Kings 2021-04-10 14:43:46 -04:00
parent 4ef4dc2677
commit b158bc6222
4 changed files with 12 additions and 4 deletions

View File

@ -470,6 +470,7 @@ class ReaderActivity :
binding.appBar.setBackgroundColor(primaryColor)
window.statusBarColor = Color.TRANSPARENT
supportActionBar?.setDisplayHomeAsUpEnabled(true)
binding.toolbar.navigationIcon?.setTint(ContextCompat.getColor(this, R.color.tint_color_secondary))
binding.toolbar.setNavigationOnClickListener {
popToMain()
}

View 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=".54" android:color="?actionBarTintColor"/>
</selector>

View File

@ -58,6 +58,8 @@
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:titleTextColor="?actionBarTintColor"
app:subtitleTextColor="@color/tint_color_secondary"
android:background="@drawable/reader_toolbar_ripple" />
</FrameLayout>

View File

@ -36,7 +36,7 @@
android:layout_marginEnd="8dp"
android:contentDescription="@string/previous_chapter"
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
app:tint="@color/textColorPrimary"
app:tint="?actionBarTintColor"
app:srcCompat="@drawable/ic_skip_previous_24" />
<LinearLayout
@ -49,7 +49,7 @@
android:layout_width="48dp"
android:layout_height="match_parent"
android:gravity="center"
android:textColor="@color/textColorPrimary"
android:textColor="?actionBarTintColor"
android:textSize="15sp"
tools:text="12-14" />
@ -58,6 +58,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:progressBackgroundTint="?actionBarTintColor"
android:maxHeight="?attr/actionBarSize"
android:minHeight="?attr/actionBarSize" />
@ -66,7 +67,7 @@
android:layout_width="48dp"
android:layout_height="match_parent"
android:gravity="center"
android:textColor="@color/textColorPrimary"
android:textColor="?actionBarTintColor"
android:textSize="15sp"
tools:text="15" />
@ -82,7 +83,7 @@
android:background="?selectableItemBackgroundBorderless"
android:contentDescription="@string/next_chapter"
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
app:tint="@color/textColorPrimary"
app:tint="?actionBarTintColor"
app:srcCompat="@drawable/ic_skip_next_24" />
<ProgressBar