diff options
author | Brandon Maxwell <maxwelb@google.com> | 2016-04-14 10:59:55 -0700 |
---|---|---|
committer | Usman Abdullah <uabdullah@google.com> | 2016-04-20 18:32:00 +0000 |
commit | b5a6f7264e70052887a69b98a8fb755a9769d125 (patch) | |
tree | ba8b5458df101fb853ad080ba18ad61c8be0606c /res/values | |
parent | d0db4f8941e13766b78c90432b92b4eaccf71e2c (diff) | |
download | android_packages_apps_Dialer-b5a6f7264e70052887a69b98a8fb755a9769d125.tar.gz android_packages_apps_Dialer-b5a6f7264e70052887a69b98a8fb755a9769d125.tar.bz2 android_packages_apps_Dialer-b5a6f7264e70052887a69b98a8fb755a9769d125.zip |
Adding migrate promo to blocked numbers setting ui
This Migrate promo is shown so users have a way to migrate to the
framework blocking solution, directly from the settings. Previously,
users would have had to block a number to be presented with the
migration dialog.
UI: http://screen/GS8TdfKrnVv
Button Pressed: http://screen/ovd6NgVmOqq
Change-Id: I9c04b8afdf7c5681e09c02c7a4f6013c94b396d9
Fixes:27703938
(cherry picked from commit 3db9bde34452552973acefad5535a2273e9968fe)
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/styles.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml index 66a45f977..6a40d09be 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -322,10 +322,25 @@ <item name="android:textColor">@color/dialer_flat_button_text_color</item> </style> + <!-- Style for the 'primary' button in a view. Unlike the DialerFlatButtonStyle, this button --> + <!-- is not colored white, to draw more attention to it. --> + <style name="DialerPrimaryFlatButtonStyle" parent="@android:style/Widget.Material.Button"> + <item name="android:background">@drawable/selectable_primary_flat_button</item> + <item name="android:paddingEnd">@dimen/button_horizontal_padding</item> + <item name="android:paddingStart">@dimen/button_horizontal_padding</item> + <item name="android:textColor">@android:color/white</item> + </style> + <style name="BlockedNumbersDescriptionTextStyle"> <item name="android:lineSpacingMultiplier">1.43</item> <item name="android:paddingTop">8dp</item> <item name="android:paddingBottom">8dp</item> <item name="android:textSize">@dimen/blocked_number_settings_description_text_size</item> </style> + + <style name="FullWidthDivider"> + <item name="android:layout_width">match_parent</item> + <item name="android:layout_height">1dp</item> + <item name="android:background">?android:attr/listDivider</item> + </style> </resources> |