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 40 <LinearLayout 41 android:id="@+id/enter_pin" 42 android:orientation="vertical" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content"> 45 46 <TextView 47 android:id="@+id/title" 48 android:layout_width="@dimen/pin_dialog_title_width" 49 android:layout_height="wrap_content" 50 android:layout_marginBottom="7dp" 51 android:lineSpacingExtra="@dimen/pin_dialog_text_line_spacing" 52 android:textSize="@dimen/pin_dialog_text_size" 53 android:textColor="@color/pin_dialog_text_color" 54 android:fontFamily="@string/font" 55 android:singleLine="false" /> 56 57 <LinearLayout 58 android:layout_width="match_parent" 59 android:layout_height="144dp" 60 android:paddingStart="24dp" 61 android:paddingEnd="24dp" 62 android:gravity="center" 63 android:orientation="horizontal"> 64 65 <view class="com.android.tv.dialog.PinDialogFragment$PinNumberPicker" 66 android:id="@+id/first" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" /> 69 70 <view class="com.android.tv.dialog.PinDialogFragment$PinNumberPicker" 71 android:id="@+id/second" 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 android:layout_marginStart="8dp" /> 75 76 <view class="com.android.tv.dialog.PinDialogFragment$PinNumberPicker" 77 android:id="@+id/third" 78 android:layout_width="wrap_content" 79 android:layout_height="wrap_content" 80 android:layout_marginStart="8dp" /> 81 82 <view class="com.android.tv.dialog.PinDialogFragment$PinNumberPicker" 83 android:id="@+id/fourth" 84 android:layout_width="wrap_content" 85 android:layout_height="wrap_content" 86 android:layout_marginStart="8dp" /> 87 </LinearLayout> 88 </LinearLayout> 89 </FrameLayout> 90