diff options
author | mdooley <mdooley@google.com> | 2018-02-06 14:55:10 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-06 17:33:51 -0800 |
commit | c1fb21775fbaa33785d4e9abb46d34dce7e7b5f3 (patch) | |
tree | d16403e71b291be7027258f023b0cf946e1396b7 /java/com/android/dialer/app/res/values/styles.xml | |
parent | 3b42bce613b3c57ad5e4a85fdd713553c7ed56eb (diff) |
Adding voicemail donation promo
This cl shows a voicemail donation promo the first time a user
tries to rate a transcription. It also changes the good/bad rating links
to thumbs up/down icons.
The 'learn more' link still needs the real URL.
screen shots:
https://drive.google.com/open?id=0B9o_KvtLkcuIOERUNUJId3FVY3UzUS0wVUdQQVpCS1lmM3Nz
https://drive.google.com/open?id=0B9o_KvtLkcuIWkNVMDV1VTJ4VUMtakVwSE1UTGdUWjljTUV3
https://drive.google.com/open?id=0B9o_KvtLkcuIeU1ndG1palRkTnNJQWVYLXgyMnd4TjBDOFI4
mocks:
https://drive.google.com/file/d/1FIhXDkn3h3xI7liVdJEraq47MoKQM3hi/view
https://drive.google.com/file/d/1uTm58QCvFOBycsGP21vgvEGTq_Imgkqi/view
Bug: 37340510
Test: manual tests
PiperOrigin-RevId: 184745497
Change-Id: I40fd1e211311c3127f215ede2e44b22f345dcf8b
Diffstat (limited to 'java/com/android/dialer/app/res/values/styles.xml')
-rw-r--r-- | java/com/android/dialer/app/res/values/styles.xml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/java/com/android/dialer/app/res/values/styles.xml b/java/com/android/dialer/app/res/values/styles.xml index b275cecd1..869f1276d 100644 --- a/java/com/android/dialer/app/res/values/styles.xml +++ b/java/com/android/dialer/app/res/values/styles.xml @@ -258,15 +258,22 @@ <style name="TranscriptionQualityRating"> <item name="android:textColor">@color/call_log_voicemail_transcript_branding_color</item> <item name="android:textSize">@dimen/call_log_voicemail_transcription_text_size</item> + <item name="android:textStyle">italic</item> + <item name="android:paddingRight">20dp</item> + <item name="android:minHeight">56dp</item> </style> - <style name="TranscriptionQualityRatingLink"> - <item name="android:textColor">@color/call_log_voicemail_transcript_rating_color</item> - <item name="android:textSize">@dimen/call_log_voicemail_transcription_text_size</item> + <style name="TranscriptionQualityRatingIcon"> <item name="android:paddingTop">8dp</item> <item name="android:paddingBottom">8dp</item> - <item name="android:paddingLeft">12dp</item> - <item name="android:paddingRight">12dp</item> - <item name="android:minHeight">48dp</item> + <item name="android:paddingLeft">16dp</item> + <item name="android:paddingRight">16dp</item> + <item name="android:minHeight">56dp</item> </style> + + <style name="PromoLinkStyle"> + <item name="android:textColor">@color/dialer_theme_color</item> + <item name="android:fontFamily">"sans-serif-medium"</item> + </style> + </resources> |