summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/app/voicemail/error/res/layout/voicemail_tos_fragment.xml
diff options
context:
space:
mode:
authormdooley <mdooley@google.com>2017-06-23 15:51:08 -0700
committerEric Erfanian <erfanian@google.com>2017-06-26 09:06:33 -0700
commit059d2e2a9ef121edfbd0596cf0f8c22b167a7b8d (patch)
tree0a1621f5f812fac4b95ec49df4d15234927eec4f /java/com/android/dialer/app/voicemail/error/res/layout/voicemail_tos_fragment.xml
parent287a1838e00dd0a1d0df9f8e799bacb9b57e6c7e (diff)
Tweaks to the voicemail TOS UI
• moved scrollbar to edge of screen • changed divider to .5dp and added shadow • change "DECLINE" to "NO THANKS" for verizon TOS (it already was that way for non-verizon) • changed "ACCEPT" button to "TURN ON" text • increased the bottom bar height • made the google transcription text in the TOS bold • add an image to the non-verizon TOS screen (just using test image for now) i didn't add the 'Learn more' link, since its not ready yet. verizon screen shot: https://drive.google.com/open?id=0B9o_KvtLkcuIcVk0dHBtWmFfdjJWQVV3OEdVc0JXN01XZHQ4 non-verizon screen shot: https://drive.google.com/open?id=0B9o_KvtLkcuIci1OMlVXTHVuMGYwMWZVTS01dGVwMUpLdmRr Bug: 62375681 Test: manual and updated unit tests PiperOrigin-RevId: 160006810 Change-Id: Id45a3a848bb219a70fddbb5a7ada29cd39e604a9
Diffstat (limited to 'java/com/android/dialer/app/voicemail/error/res/layout/voicemail_tos_fragment.xml')
-rw-r--r--java/com/android/dialer/app/voicemail/error/res/layout/voicemail_tos_fragment.xml23
1 files changed, 17 insertions, 6 deletions
diff --git a/java/com/android/dialer/app/voicemail/error/res/layout/voicemail_tos_fragment.xml b/java/com/android/dialer/app/voicemail/error/res/layout/voicemail_tos_fragment.xml
index a082e8e67..ec8abed6d 100644
--- a/java/com/android/dialer/app/voicemail/error/res/layout/voicemail_tos_fragment.xml
+++ b/java/com/android/dialer/app/voicemail/error/res/layout/voicemail_tos_fragment.xml
@@ -23,13 +23,21 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
android:orientation="vertical">
+ <ImageView
+ android:id="@+id/voicemail_image"
+ android:layout_width="@dimen/voicemail_tos_image_size"
+ android:layout_height="@dimen/voicemail_tos_image_size"
+ android:layout_gravity="center"
+ android:paddingTop="24dp"
+ android:visibility="gone"
+ android:importantForAccessibility="no"/>
<TextView
android:id="@+id/tos_message_title"
android:textStyle="bold"
@@ -53,8 +61,9 @@
<View
android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="#D2D2D2"/>
+ android:layout_height="0.5dp"
+ android:elevation="1dp"
+ android:background="@drawable/shadow"/>
<LinearLayout
android:id="@+id/voicemail_tos_button"
@@ -62,10 +71,12 @@
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="16dp"
+ android:paddingTop="20dp"
+ android:paddingBottom="20dp"
android:orientation="horizontal">
<TextView
android:id="@+id/voicemail_tos_button_decline"
- style="@style/ErrorActionStyle"
+ style="@style/ErrorActionDeclineStyle"
android:background="?android:attr/selectableItemBackground"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -76,7 +87,7 @@
android:layout_weight="1"/>
<TextView
android:id="@+id/voicemail_tos_button_accept"
- style="@style/RaisedErrorActionStyle"
+ style="@style/ErrorActionStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/verizon_terms_and_conditions_accept_english"/>