From c1fb21775fbaa33785d4e9abb46d34dce7e7b5f3 Mon Sep 17 00:00:00 2001 From: mdooley Date: Tue, 6 Feb 2018 14:55:10 -0800 Subject: Adding voicemail donation promo This cl shows a voicemail donation promo the first time a user tries to rate a transcription. It also changes the good/bad rating links to thumbs up/down icons. The 'learn more' link still needs the real URL. screen shots: https://drive.google.com/open?id=0B9o_KvtLkcuIOERUNUJId3FVY3UzUS0wVUdQQVpCS1lmM3Nz https://drive.google.com/open?id=0B9o_KvtLkcuIWkNVMDV1VTJ4VUMtakVwSE1UTGdUWjljTUV3 https://drive.google.com/open?id=0B9o_KvtLkcuIeU1ndG1palRkTnNJQWVYLXgyMnd4TjBDOFI4 mocks: https://drive.google.com/file/d/1FIhXDkn3h3xI7liVdJEraq47MoKQM3hi/view https://drive.google.com/file/d/1uTm58QCvFOBycsGP21vgvEGTq_Imgkqi/view Bug: 37340510 Test: manual tests PiperOrigin-RevId: 184745497 Change-Id: I40fd1e211311c3127f215ede2e44b22f345dcf8b --- .../dialer/app/res/layout/call_log_list_item.xml | 27 ++++++++-------------- 1 file changed, 9 insertions(+), 18 deletions(-) (limited to 'java/com/android/dialer/app/res/layout/call_log_list_item.xml') 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 a24552ba4..1b776b42c 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 @@ -193,36 +193,27 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" - android:gravity="start" + android:gravity="start|center_vertical" android:focusable="true" android:text="@string/voicemail_transcription_rating"/> - - - + android:src="@drawable/quantum_ic_thumb_up_grey600_24"/> - + android:src="@drawable/quantum_ic_thumb_down_grey600_24"/> -- cgit v1.2.3