summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruabdullah <uabdullah@google.com>2018-02-02 21:30:46 -0800
committerCopybara-Service <copybara-piper@google.com>2018-02-05 16:34:13 -0800
commit5820d091f86b2b3e24a7e23368eb5ab35c356a9c (patch)
treec872716c56abea0cd4958d6cf7b70c776b6942d9
parentbeaaff27e6ea36ddab00ccf259bb73a18208f5c2 (diff)
Make transcription text black
Makes the color of the transcription text different from the secondary text as expected by the spec. Bug: 72746803 Test: N/A PiperOrigin-RevId: 184372919 Change-Id: I3de30a3031a57d1bf3600c491e3881152aee9b03
-rw-r--r--java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml3
-rw-r--r--java/com/android/dialer/voicemail/listui/res/values/dimens.xml2
2 files changed, 4 insertions, 1 deletions
diff --git a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml
index 6900627dd..fc98f0210 100644
--- a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml
+++ b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml
@@ -75,11 +75,12 @@
<!-- TODO(a bug): Fix text cropping issue, make text selectable -->
<TextView
android:id="@+id/transcription_text"
- style="@style/SecondaryText"
+ style="@style/PrimaryText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/call_log_entry_photo_text_margin"
android:layout_gravity="center_vertical"
+ android:textSize="@dimen/voicemail_transcription_text_size"
android:visibility="gone"/>
<TextView
diff --git a/java/com/android/dialer/voicemail/listui/res/values/dimens.xml b/java/com/android/dialer/voicemail/listui/res/values/dimens.xml
index 960d327b2..e6fcb74f9 100644
--- a/java/com/android/dialer/voicemail/listui/res/values/dimens.xml
+++ b/java/com/android/dialer/voicemail/listui/res/values/dimens.xml
@@ -25,6 +25,8 @@
<dimen name="call_log_entry_photo_text_margin">8dp</dimen>
<dimen name="call_log_entry_menu_button_size">48dp</dimen>
+ <dimen name="voicemail_transcription_text_size">14sp</dimen>
+
<dimen name="voicemail_icon_margin">12dp</dimen>
<dimen name="voicemail_icon_size">16dp</dimen>