From bea5b289ffeb59271ce80155683e093114b0cfa8 Mon Sep 17 00:00:00 2001 From: Edgar Wang Date: Mon, 29 Oct 2018 20:22:11 +0800 Subject: [PATCH] Move "About Phone" to bottom of Settings main IA, above "Tips & Support" Merged-In: I0a0f03bdb27d9eea48eb758496eefeebcbc57b6c Change-Id: If839a7199992104cc0abac9327844145d148cd68 Fixes: 118168552 Test: robotests --- AndroidManifest.xml | 8 ++--- color-check-baseline.xml | 54 ++++++++++++++++++++++++------ res/drawable/ic_homepage_about.xml | 36 ++++++++++++++++++++ res/drawable/ic_phone_info.xml | 9 +++++ res/values/colors.xml | 7 ++-- 5 files changed, 96 insertions(+), 18 deletions(-) create mode 100644 res/drawable/ic_homepage_about.xml create mode 100644 res/drawable/ic_phone_info.xml diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 39e049c4004..dbccf6cbe65 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -999,7 +999,7 @@ @@ -1012,11 +1012,11 @@ - + + android:value="com.android.settings.category.ia.homepage" /> - + diff --git a/color-check-baseline.xml b/color-check-baseline.xml index 7ce4da7f9d4..de680657650 100644 --- a/color-check-baseline.xml +++ b/color-check-baseline.xml @@ -1033,7 +1033,7 @@ priority="4" summary="Using hardcoded color" explanation="Hardcoded color values are bad because theme changes cannot be uniformly applied.Instead use the theme specific colors such as `?android:attr/textColorPrimary` in attributes. This ensures that a theme change from a light to a dark theme can be uniformlyapplied across the app." - errorLine1=" <color name="homepage_connected_device_background">#71A234</color>" + errorLine1=" <color name="homepage_connected_device_background">#72B70F</color>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + + + + @@ -1213,7 +1229,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1229,7 +1245,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1245,7 +1261,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1261,7 +1277,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1277,7 +1293,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1293,7 +1309,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1309,7 +1325,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -1633,6 +1649,22 @@ column="9"/> + + + + + + + + + + + + + + + + + diff --git a/res/drawable/ic_phone_info.xml b/res/drawable/ic_phone_info.xml new file mode 100644 index 00000000000..7aee3e86ebc --- /dev/null +++ b/res/drawable/ic_phone_info.xml @@ -0,0 +1,9 @@ + + + diff --git a/res/values/colors.xml b/res/values/colors.xml index e5f7c276ae9..be6cb62edd9 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -113,16 +113,17 @@ #2196F3 - #71A234 + #72B70F #FF7E0F #258982 - #FFB600 + #FFA727 #01B1AF #C14CE6 #0F9D58 #F15B8D #5011C1 - #757575 + #9E9E9E + #9FA8DA #26459C #1A73E8