summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-09-15 21:23:50 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-09-15 21:23:50 +0000
commitcceef72738753b896d9cc8e99d05b04a612a5fee (patch)
treebedfaf329ef3fca044940ea8b14f4ec5dde2d638 /java
parenta97b1d35ca3fb8123b7ef364bae74189b4b322ea (diff)
parentb2f2c5699f534b1e31f3e14332ee0c7af9d5a84c (diff)
Merge "Make voicemail transcription text selectable and phone numbers clickable"
Diffstat (limited to 'java')
-rw-r--r--java/com/android/dialer/app/res/layout/call_log_list_item.xml10
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>