1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2017 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 android:orientation="vertical" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content"> 23 24 <TextView 25 android:id="@+id/disambig_dialog_title" 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content" 28 android:gravity="center_vertical" 29 android:minHeight="56dp" 30 android:paddingStart="24dp" 31 android:paddingEnd="24dp" 32 android:elevation="1dp" 33 android:text="@string/speed_dial_disambig_dialog_title" 34 android:background="?android:attr/colorBackgroundFloating" 35 style="@style/Dialer.TextAppearance.Header2"/> 36 37 <com.android.dialer.widget.MaxHeightScrollView 38 android:id="@+id/disambig_scrollview" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:minHeight="168dp" 42 app:maxHeight="256dp"> 43 44 <LinearLayout 45 android:id="@+id/communication_avenue_container" 46 android:orientation="vertical" 47 android:layout_width="match_parent" 48 android:layout_height="wrap_content"/> 49 </com.android.dialer.widget.MaxHeightScrollView> 50 51 <FrameLayout 52 android:id="@+id/remember_this_choice_container" 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" 55 android:layout_gravity="bottom" 56 android:minHeight="64dp" 57 android:elevation="4dp" 58 android:background="?android:attr/colorBackgroundFloating"> 59 60 <CheckBox 61 android:id="@+id/remember_this_choice_checkbox" 62 android:layout_width="match_parent" 63 android:layout_height="48dp" 64 android:textSize="14sp" 65 android:text="@string/speed_dial_remember_this_choice" 66 style="@style/DialerCheckboxStyle"/> 67 </FrameLayout> 68</LinearLayout>