1
0
Fork 0

For #5270 - Adds state list color for delete browsing checkboxes

master
Emily Kager 2019-09-12 12:49:25 -07:00 committed by Emily Kager
parent 96f0ec829b
commit f698bdfcb5
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="?disabled" />
<item android:color="?secondaryText"/>
</selector>

View File

@ -27,6 +27,7 @@
<TextView
android:id="@android:id/title"
android:textColor="@color/state_list_text_color"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textSize="16sp"
@ -41,6 +42,7 @@
android:id="@android:id/summary"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textColor="@color/secondary_state_list_text_color"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@android:id/widget_frame"