Background colour respects dark mode

This commit is contained in:
Moez Bhatti
2017-12-05 18:09:31 -05:00
parent 2f9e559894
commit aea338c247
12 changed files with 44 additions and 34 deletions
@@ -3,7 +3,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/backgroundLight"
android:orientation="vertical">
<include
@@ -52,14 +51,13 @@
android:id="@+id/composeBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical">
<ImageView
android:id="@+id/attach"
android:layout_width="56dp"
android:layout_height="56dp"
android:background="?selectableItemBackgroundBorderless"
android:background="@drawable/ripple"
android:padding="16dp"
android:src="@drawable/ic_add_circle_black_24dp"
android:tint="@color/textSecondary" />
@@ -85,7 +83,7 @@
android:id="@+id/send"
android:layout_width="56dp"
android:layout_height="56dp"
android:background="?selectableItemBackgroundBorderless"
android:background="@drawable/ripple"
android:padding="16dp"
android:src="@drawable/ic_send_black_24dp"
android:tint="@color/textTertiary" />
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:background="@drawable/ripple"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingBottom="8dp"
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:background="@drawable/ripple"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingBottom="8dp"
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:background="@drawable/ripple"
android:orientation="vertical"
android:paddingBottom="16dp">
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackground"
android:background="@drawable/ripple"
android:orientation="vertical"
android:paddingBottom="16dp">
+1
View File
@@ -13,6 +13,7 @@
<color name="bubbleLight">#F4F4F4</color>
<color name="backgroundLight">#F2F2F2</color>
<color name="backgroundDark">#212121</color>
<color name="statusLight">#F1F1F1</color>
<color name="list_separator">#F2F2F2</color>
+1 -1
View File
@@ -28,7 +28,7 @@
<style name="DrawerRow">
<item name="android:layout_height">48dp</item>
<item name="android:layout_width">match_parent</item>
<item name="android:background">?android:attr/selectableItemBackground</item>
<item name="android:background">@drawable/ripple</item>
<item name="android:gravity">center_vertical</item>
<item name="android:paddingStart">16dp</item>
<item name="android:paddingEnd">16dp</item>