summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/voicemail/listui/res/layout
diff options
context:
space:
mode:
authoruabdullah <uabdullah@google.com>2017-11-01 18:17:51 -0700
committerzachh <zachh@google.com>2017-11-10 23:41:15 +0000
commitf1f9455defca82ce14825239aebe060ee61c4c17 (patch)
tree6d1f88e6dc9550eb4ef0787686ce4de7c2e486c1 /java/com/android/dialer/voicemail/listui/res/layout
parent2f38c65ba17d94b187591ed917a2dfe3bbc3b772 (diff)
Expand Voicemails on tapping
Currently we only show as much of the voicemail transcription, as we can see on the first line. This CL allows us to tap the voicemail, so that it is expanded and the whole transcription is now visible. Bug: 68382421,64882313 Test: Unit Tests PiperOrigin-RevId: 174267231 Change-Id: I19d3dea028c06d7c31aeb2949a19360eff648dcd
Diffstat (limited to 'java/com/android/dialer/voicemail/listui/res/layout')
-rw-r--r--java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry.xml9
1 files changed, 4 insertions, 5 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 fe009922e..d9c557f1a 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
@@ -72,25 +72,24 @@
android:layout_marginStart="@dimen/call_log_entry_photo_text_margin"/>
</LinearLayout>
- <!-- TODO(uabdullah): Fix text cropping issue -->
+ <!-- TODO(a bug): Fix text cropping issue, make text selectable -->
<TextView
android:id="@+id/transcription_text"
style="@style/SecondaryText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:visibility="gone"
android:layout_marginStart="@dimen/call_log_entry_photo_text_margin"
- android:layout_gravity="center_vertical"/>
-
+ android:layout_gravity="center_vertical"
+ android:visibility="gone"/>
</LinearLayout>
+ <!-- TODO(a bug): Add ripple effect -->
<ImageView
android:id="@+id/menu_button"
android:layout_width="@dimen/call_log_entry_menu_button_size"
android:layout_height="@dimen/call_log_entry_menu_button_size"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
- android:background="?android:attr/selectableItemBackgroundBorderless"
android:scaleType="center"
android:src="@drawable/quantum_ic_more_vert_vd_theme_24"
android:tint="@color/dialer_secondary_text_color"/>