summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@lineageos.org>2017-05-28 21:03:21 +0200
committerJoey Rizzoli <joey@lineageos.org>2017-05-28 21:03:21 +0200
commitec686b918396e2c965fd0f12e440e7b3fd2f365b (patch)
treea970a3e18e1b9fee5d1d3c470baa18b1f490f19d
parent77b414754e0b91409030c2d9fcf7a4310fdb8f72 (diff)
downloadandroid_packages_apps_Dialer-ec686b918396e2c965fd0f12e440e7b3fd2f365b.tar.gz
android_packages_apps_Dialer-ec686b918396e2c965fd0f12e440e7b3fd2f365b.tar.bz2
android_packages_apps_Dialer-ec686b918396e2c965fd0f12e440e7b3fd2f365b.zip
Dialer: update fab color to match aosp primary color
Change-Id: Id9798c71c348bcc7d445a082815e6fce642a002b Signed-off-by: Joey Rizzoli <joey@lineageos.org>
-rw-r--r--res/drawable/fab_blue_cm.xml10
-rw-r--r--res/layout/dialtacts_activity.xml2
2 files changed, 11 insertions, 1 deletions
diff --git a/res/drawable/fab_blue_cm.xml b/res/drawable/fab_blue_cm.xml
new file mode 100644
index 000000000..886b25e37
--- /dev/null
+++ b/res/drawable/fab_blue_cm.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval">
+
+ <solid android:color="@color/dialer_theme_color"/>
+
+ <size
+ android:width="56dp"
+ android:height="56dp"/>
+</shape>
diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml
index 70d056136..e08d657ba 100644
--- a/res/layout/dialtacts_activity.xml
+++ b/res/layout/dialtacts_activity.xml
@@ -40,7 +40,7 @@
<LinearLayout
android:id="@+id/floating_action_button_container"
- android:background="@drawable/fab_blue"
+ android:background="@drawable/fab_blue_cm"
android:layout_width="wrap_content"
android:layout_height="@dimen/floating_action_button_height"
android:layout_marginBottom="@dimen/floating_action_button_margin_bottom"