diff options
author | mdooley <mdooley@google.com> | 2017-09-20 11:40:30 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-09-20 13:35:34 -0700 |
commit | 12da0b8101b77cbdbdd5754b667c4f122512b3c3 (patch) | |
tree | ea80d012e87ea19f947671b2de5dddb4fa947ca0 | |
parent | 7f15106e2f51919306f2cea1f9308ea673d4a701 (diff) |
Don't truncate long voicemail transcriptions
Also repostion contact icon (for allen, is there a bug for that?)
Originally i tried wrapping the transcription in a ScrollView,
but that didn't really work since there's no easy way to set
a max-height for it. Since most voicemails transcriptions are
not that long, an easier solution was just to not limit the number
of lines for the transcription.
screen shots:
https://drive.google.com/open?id=0B9o_KvtLkcuINkdXeVV0U0dOZVNfdExzSDNsai1Ld2F3ZlBN
https://drive.google.com/open?id=0B9o_KvtLkcuIZTZFQzRQaW1nblBPN2JkVW1hMkR3YWl1b2JV
Bug: 64211399
Test: manual
PiperOrigin-RevId: 169425482
Change-Id: I63c9165f48d902c06e288280116cd9b95d67852c
-rw-r--r-- | java/com/android/dialer/app/res/layout/call_log_list_item.xml | 6 |
1 files changed, 2 insertions, 4 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 63f14db9d..39dcbacf5 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 @@ -63,6 +63,7 @@ <FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_gravity="top" > <com.android.dialer.app.calllog.DialerQuickContactBadge @@ -71,7 +72,6 @@ android:layout_height="@dimen/contact_photo_size" android:paddingTop="2dp" android:nextFocusRight="@id/primary_action_view" - android:layout_gravity="top" android:focusable="true"/> <ImageView @@ -162,9 +162,7 @@ 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:maxLines="10"/> + android:textIsSelectable="true"/> <TextView android:id="@+id/voicemail_transcription_branding" |