diff options
author | mdooley <mdooley@google.com> | 2017-09-15 11:07:30 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-09-15 12:15:11 -0700 |
commit | b2f2c5699f534b1e31f3e14332ee0c7af9d5a84c (patch) | |
tree | bedfaf329ef3fca044940ea8b14f4ec5dde2d638 /java | |
parent | 1bd727efdd4cb6c3651ddbe86f4ec8ce826ac419 (diff) |
Make voicemail transcription text selectable and phone numbers clickable
Also replace deprecate android:singleLine=true with android:maxLines=1
video: https://drive.google.com/open?id=0B9o_KvtLkcuIWGVBOElWdFNKa1E
Bug: 65678844
Test: manual
PiperOrigin-RevId: 168858718
Change-Id: I8be70e8496a8f0c562ca09eb315bb4e28b3e9c00
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/dialer/app/res/layout/call_log_list_item.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/java/com/android/dialer/app/res/layout/call_log_list_item.xml b/java/com/android/dialer/app/res/layout/call_log_list_item.xml index 2c248198d..63f14db9d 100644 --- a/java/com/android/dialer/app/res/layout/call_log_list_item.xml +++ b/java/com/android/dialer/app/res/layout/call_log_list_item.xml @@ -101,7 +101,7 @@ android:layout_marginEnd="@dimen/call_log_icon_margin" android:textColor="@color/call_log_primary_color" android:textSize="@dimen/call_log_primary_text_size" - android:singleLine="true"/> + android:maxLines="1"/> <LinearLayout android:id="@+id/call_type" @@ -133,7 +133,7 @@ android:layout_gravity="center_vertical" android:textColor="@color/call_log_detail_color" android:textSize="@dimen/call_log_detail_text_size" - android:singleLine="true"/> + android:maxLines="1"/> </LinearLayout> @@ -146,7 +146,7 @@ android:textColor="?android:textColorSecondary" android:textSize="@dimen/call_log_detail_text_size" android:visibility="gone" - android:singleLine="true"/> + android:maxLines="1"/> <LinearLayout android:id="@+id/transcription" @@ -162,8 +162,8 @@ android:layout_height="wrap_content" android:textColor="@color/call_log_voicemail_transcript_color" android:textSize="@dimen/call_log_voicemail_transcription_text_size" + android:textIsSelectable="true" android:ellipsize="marquee" - android:singleLine="false" android:maxLines="10"/> <TextView @@ -173,7 +173,7 @@ android:textColor="@color/call_log_voicemail_transcript_branding_color" android:textSize="@dimen/call_log_voicemail_transcription_text_size" android:paddingTop="2dp" - android:singleLine="true"/> + android:maxLines="1"/> </LinearLayout> |