diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-01-23 03:51:25 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-01-23 03:51:25 +0000 |
commit | 5feae4d9f7b3685be38b48c1806ceb03c6b2273c (patch) | |
tree | 6ef19b009a788ed8f6d4b88b0a08b03adf9d1e30 /java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_tos_fragment.xml | |
parent | c979f257060fbcb95cbd4871461dd5eb1ae04f1b (diff) | |
parent | 4deaebc5a988eb83440693721f1ab28b180d8779 (diff) |
Merge "Move legacy voicemail/error to nui voicemail/listui/error"
Diffstat (limited to 'java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_tos_fragment.xml')
-rw-r--r-- | java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_tos_fragment.xml | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_tos_fragment.xml b/java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_tos_fragment.xml new file mode 100644 index 000000000..4e143a59a --- /dev/null +++ b/java/com/android/dialer/voicemail/listui/error/res/layout/voicemail_tos_fragment.xml @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2017 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <ScrollView + android:id="@+id/voicemail_tos_message" + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="1" + android:orientation="vertical"> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:paddingTop="32dp" + 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:paddingBottom="32dp" + android:importantForAccessibility="no"/> + <TextView + android:id="@+id/tos_message_title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal|top" + android:minHeight="20sp" + android:text="@string/verizon_terms_and_conditions_title" + style="@style/TosTitleStyle"/> + <TextView + android:id="@+id/tos_message_details" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:text="@string/verizon_terms_and_conditions_1.1_english" + style="@style/TosTextStyle"/> + </LinearLayout> + </ScrollView> + + <View + android:layout_width="match_parent" + android:layout_height="0.5dp" + android:elevation="1dp" + android:background="@drawable/shadow"/> + + <LinearLayout + android:id="@+id/voicemail_tos_button" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical" + android:minHeight="56dp" + android:paddingStart="16dp" + android:paddingEnd="16dp" + android:paddingTop="10dp" + android:paddingBottom="10dp" + android:background="#ffffffff" + android:orientation="horizontal"> + <TextView + android:id="@+id/voicemail_tos_button_decline" + style="@style/ErrorActionDeclineStyle" + android:background="?android:attr/selectableItemBackground" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/verizon_terms_and_conditions_decline_english"/> + <android.support.v4.widget.Space + android:layout_width="8dp" + android:layout_height="match_parent" + android:layout_weight="1"/> + <TextView + android:id="@+id/voicemail_tos_button_accept" + style="@style/ErrorActionStyle" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/verizon_terms_and_conditions_accept_english"/> + </LinearLayout> + +</LinearLayout> |