Very hacky dark-mode-only compatibility

master
Cole Deck 2 years ago
parent 997cb7cb30
commit 104e7cf0fb

@ -13,18 +13,19 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:background="@color/black"
> android:orientation="vertical">
<TextView <TextView
android:id="@+id/title_paired_devices" android:id="@+id/title_paired_devices"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@color/black"
android:padding="24dp" android:padding="24dp"
android:textAppearance="?attr/textAppearanceHeadline6"
android:text="Select a Device" android:text="Select a Device"
android:visibility="visible" android:textAppearance="?attr/textAppearanceHeadline6"
/> android:textColor="@color/white"
android:visibility="visible" />
<View <View
android:id="@+id/divider" android:id="@+id/divider"
@ -36,8 +37,9 @@
android:id="@+id/paired_devices" android:id="@+id/paired_devices"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:stackFromBottom="false" android:background="@color/black"
/> android:listSelector="@color/grey_800"
android:stackFromBottom="false" />
<View <View
android:id="@+id/divider1" android:id="@+id/divider1"
@ -49,14 +51,13 @@
android:id="@+id/cancel_picker" android:id="@+id/cancel_picker"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="24dp" android:background="?attr/selectableItemBackground"
android:textAppearance="?attr/textAppearanceButton"
android:gravity="center_horizontal"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:background="?attr/selectableItemBackground" android:gravity="center_horizontal"
android:padding="24dp"
android:text="Cancel" android:text="Cancel"
android:visibility="visible" android:textAppearance="?attr/textAppearanceButton"
/> android:visibility="visible" />
</LinearLayout> </LinearLayout>

@ -7,6 +7,7 @@
android:background="@color/grey_500" android:background="@color/grey_500"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:forceDarkAllowed="false"
android:paddingTop="16dp" android:paddingTop="16dp"
android:paddingBottom="16dp"> android:paddingBottom="16dp">

Loading…
Cancel
Save