ui: fix divider color
Divider colors were accidentally messed up when the dark theme was revamped, fix that.
This commit is contained in:
@@ -36,6 +36,9 @@ import org.oxycblt.auxio.util.isLandscape
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A Base [Fragment] implementing the base features shared across all detail fragments.
|
* 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
|
* @author OxygenCobalt
|
||||||
*/
|
*/
|
||||||
abstract class DetailFragment : Fragment() {
|
abstract class DetailFragment : Fragment() {
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
tools:context=".home.HomeFragment">
|
tools:context=".home.HomeFragment">
|
||||||
|
|
||||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||||
|
|
||||||
android:id="@+id/main_layout"
|
android:id="@+id/main_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
@@ -19,7 +18,7 @@
|
|||||||
android:background="?attr/colorSurface"
|
android:background="?attr/colorSurface"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:clipChildren="true"
|
android:clipChildren="true"
|
||||||
android:elevation="@dimen/elevation_normal"
|
app:liftOnScroll="true"
|
||||||
android:focusable="true">
|
android:focusable="true">
|
||||||
|
|
||||||
<com.google.android.material.appbar.MaterialToolbar
|
<com.google.android.material.appbar.MaterialToolbar
|
||||||
@@ -37,6 +36,7 @@
|
|||||||
app:tabIndicatorColor="?attr/colorAccent"
|
app:tabIndicatorColor="?attr/colorAccent"
|
||||||
app:tabMode="scrollable"
|
app:tabMode="scrollable"
|
||||||
app:tabRippleColor="?attr/colorControlHighlight"
|
app:tabRippleColor="?attr/colorControlHighlight"
|
||||||
|
android:background="@android:color/transparent"
|
||||||
app:tabTextAppearance="@style/TextAppearance.TabLayout.Label"
|
app:tabTextAppearance="@style/TextAppearance.TabLayout.Label"
|
||||||
app:tabTextColor="?android:attr/textColorPrimary"
|
app:tabTextColor="?android:attr/textColorPrimary"
|
||||||
app:tabUnboundedRipple="true" />
|
app:tabUnboundedRipple="true" />
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="surface">@color/surface_night</color>
|
<color name="surface">@color/surface_night</color>
|
||||||
<color name="divider">#323232</color>
|
<color name="divider">#3b3c3f</color>
|
||||||
<color name="selection">#484848</color>
|
<color name="selection">#484848</color>
|
||||||
<color name="inactive">#404040</color>
|
<color name="inactive">#404040</color>
|
||||||
<color name="control">#ffffff</color>
|
<color name="control">#ffffff</color>
|
||||||
|
|||||||
Reference in New Issue
Block a user