1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2016 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<FrameLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 android:layout_height="wrap_content" 21 android:layout_width="match_parent" 22 android:background="?android:attr/colorBackground" > 23 <FrameLayout 24 android:id="@+id/keyboard_wrapper" 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:layout_gravity="center_horizontal|bottom" > 28 <com.android.inputmethod.latin.car.KeyboardView 29 android:id="@+id/keyboard" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:focusable="true" 33 app:keyTextColorPrimary="?android:attr/textColorPrimary" 34 android:layout_gravity="center_horizontal" 35 style="@style/Keyboard" /> 36 <com.android.inputmethod.latin.car.KeyboardView 37 android:id="@+id/popup_keyboard" 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" 40 android:layout_marginTop="@dimen/keyboard_popup_offset" 41 android:visibility="gone" 42 app:keyTextColorPrimary="?android:attr/textColorPrimary" 43 android:layout_gravity="top|center" 44 style="@style/Keyboard" /> 45 </FrameLayout> 46 <FrameLayout 47 android:id="@+id/lockout" 48 android:layout_width="match_parent" 49 android:layout_height="match_parent" 50 android:alpha="0.935" 51 android:clickable="true" > 52 <TextView 53 android:id="@+id/lockout_label" 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 android:fontFamily="sans-serif" 57 android:layout_gravity="center" 58 android:textColor="?android:attr/textColorPrimary" 59 android:textSize="@dimen/keyboard_lockout_text_size" 60 android:text="@string/park_to_use_keyboard" /> 61 </FrameLayout> 62</FrameLayout> 63