diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-01-11 04:09:18 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-01-11 04:09:18 +0000 |
commit | cd705ba07e70bffba759d9cef37730ab70d58b20 (patch) | |
tree | be24762f1722f98491f0e1583313c28fa8de5321 /java/com/android/dialer/voicemail/listui/res/layout/voicemail_tos_fragment.xml | |
parent | 56d434be9658f36412047a16322c95efa48d6a8e (diff) | |
parent | 1ff546374edfd598ea7a0a3613228e75c5e1eff4 (diff) |
Merge "Initial setup of voicemail TOS"
Diffstat (limited to 'java/com/android/dialer/voicemail/listui/res/layout/voicemail_tos_fragment.xml')
-rw-r--r-- | java/com/android/dialer/voicemail/listui/res/layout/voicemail_tos_fragment.xml | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/java/com/android/dialer/voicemail/listui/res/layout/voicemail_tos_fragment.xml b/java/com/android/dialer/voicemail/listui/res/layout/voicemail_tos_fragment.xml new file mode 100644 index 000000000..dea41e76e --- /dev/null +++ b/java/com/android/dialer/voicemail/listui/res/layout/voicemail_tos_fragment.xml @@ -0,0 +1,102 @@ +<?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="20dp" + 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"> + <Button + android:id="@+id/voicemail_tos_button_decline" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/verizon_terms_and_conditions_decline_english" + android:textColor="#757575" + style="@style/TosButtonStyle"/> + + <android.support.v4.widget.Space + android:layout_width="8dp" + android:layout_height="match_parent" + android:layout_weight="1"/> + + + <Button + android:id="@+id/voicemail_tos_button_accept" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/verizon_terms_and_conditions_accept_english" + android:textColor="@color/dialer_theme_color" + style="@style/TosButtonStyle"/> + + </LinearLayout> + +</LinearLayout> |