diff options
Diffstat (limited to 'java/com/android/dialer/calllog/ui/res/layout')
-rw-r--r-- | java/com/android/dialer/calllog/ui/res/layout/new_call_log_duo_disclosure_card.xml | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/java/com/android/dialer/calllog/ui/res/layout/new_call_log_duo_disclosure_card.xml b/java/com/android/dialer/calllog/ui/res/layout/new_call_log_duo_disclosure_card.xml new file mode 100644 index 000000000..1e24c8ba2 --- /dev/null +++ b/java/com/android/dialer/calllog/ui/res/layout/new_call_log_duo_disclosure_card.xml @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2018 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="wrap_content" + android:orientation="vertical" + android:background="@color/background_dialer_light"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="16dp" + android:paddingStart="16dp" + android:paddingEnd="24dp" + android:clipChildren="false" + android:clipToPadding="false" + android:orientation="horizontal"> + + <ImageView + android:id="@+id/new_call_log_duo_disclosure_card_logo" + android:layout_width="40dp" + android:layout_height="40dp" + android:layout_marginEnd="16dp"/> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:orientation="vertical"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="12dp" + android:fontFamily="sans-serif-medium" + android:text="@string/new_call_log_duo_disclosure_card_header" + android:textColor="@color/primary_material_dark" + android:textSize="@dimen/call_log_primary_text_size"/> + <TextView + android:id="@+id/new_call_log_duo_disclosure_card_details" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="16dp" + android:lineSpacingExtra="8dp" + android:textColor="@color/primary_material_dark" + android:textSize="14sp"/> + <Button + android:id="@+id/new_call_log_duo_disclosure_card_ok" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="6dp" + android:layout_marginBottom="2dp" + android:layout_gravity="end" + android:paddingLeft="14dp" + android:paddingRight="14dp" + android:text="@string/new_call_log_duo_disclosure_card_ok" + android:textSize="14sp"/> + </LinearLayout> + </LinearLayout> + + <!-- The boundary line at the bottom --> + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="8dp" + android:background="#DBDBDB"/> +</LinearLayout> |