1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2015 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 18<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="@dimen/pin_dialog_width" 20 android:layout_height="wrap_content" 21 android:paddingTop="19dp" 22 android:paddingBottom="24dp" 23 android:paddingStart="24dp" 24 android:paddingEnd="24dp" 25 android:elevation="8dp" 26 android:background="@drawable/pin_dialog_background"> 27 28 <TextView 29 android:id="@+id/wrong_pin" 30 android:layout_width="match_parent" 31 android:layout_height="match_parent" 32 android:gravity="center" 33 android:lineSpacingExtra="@dimen/pin_dialog_text_line_spacing" 34 android:textSize="@dimen/pin_dialog_text_size" 35 android:textColor="@color/pin_dialog_text_color" 36 android:fontFamily="@string/font" 37 android:visibility="invisible" 38 android:singleLine="false" 39 android:focusableInTouchMode="true"/> 40 41 <LinearLayout 42 android:id="@+id/enter_pin" 43 android:orientation="vertical" 44 android:layout_width="match_parent" 45 android:layout_height="wrap_content"> 46 47 <TextView 48 android:id="@+id/title" 49 android:layout_width="@dimen/pin_dialog_title_width" 50 android:layout_height="wrap_content" 51 android:layout_marginBottom="7dp" 52 android:lineSpacingExtra="@dimen/pin_dialog_text_line_spacing" 53 android:textSize="@dimen/pin_dialog_text_size" 54 android:textColor="@color/pin_dialog_text_color" 55 android:fontFamily="@string/font" 56 android:singleLine="false" /> 57 58 <com.android.tv.dialog.picker.PinPicker 59 android:id="@+id/pin_picker" 60 android:importantForAccessibility="yes" 61 android:layout_width="match_parent" 62 android:layout_height="154dp" 63 android:paddingStart="24dp" 64 android:paddingEnd="24dp" 65 android:gravity="center" 66 /> 67 </LinearLayout> 68</FrameLayout> 69