ui: fix divider color

Divider colors were accidentally messed up when the dark theme was
revamped, fix that.
This commit is contained in:
OxygenCobalt 2021-09-02 06:49:20 -06:00
parent 2d24770ab9
commit 624eb57e7a
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
3 changed files with 6 additions and 3 deletions

View file

@ -36,6 +36,9 @@ import org.oxycblt.auxio.util.isLandscape
/**
* A Base [Fragment] implementing the base features shared across all detail fragments.
* TODO: Want to implement something using CollapsingToolbarLayout. This would eliminate alot of
* the complexity from this ball of mud, but I have to do something to fix the scroll stopping
* issue.
* @author OxygenCobalt
*/
abstract class DetailFragment : Fragment() {

View file

@ -5,7 +5,6 @@
tools:context=".home.HomeFragment">
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/main_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
@ -19,7 +18,7 @@
android:background="?attr/colorSurface"
android:clickable="true"
android:clipChildren="true"
android:elevation="@dimen/elevation_normal"
app:liftOnScroll="true"
android:focusable="true">
<com.google.android.material.appbar.MaterialToolbar
@ -37,6 +36,7 @@
app:tabIndicatorColor="?attr/colorAccent"
app:tabMode="scrollable"
app:tabRippleColor="?attr/colorControlHighlight"
android:background="@android:color/transparent"
app:tabTextAppearance="@style/TextAppearance.TabLayout.Label"
app:tabTextColor="?android:attr/textColorPrimary"
app:tabUnboundedRipple="true" />

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="surface">@color/surface_night</color>
<color name="divider">#323232</color>
<color name="divider">#3b3c3f</color>
<color name="selection">#484848</color>
<color name="inactive">#404040</color>
<color name="control">#ffffff</color>