Fixes: 128942468 Test: 1. In fully gestural mode, rotation/back button is moved to the bottom left corner and keyboard button is moved to the bottom right. When the keyboard is up, rotation button does not show. The rotation button in this setting has an oval background that matches the home handle color. 2. In 2-button and 3-button mode, the rotation button stays the same. Screenshot: https://screenshot.googleplex.com/or2GbOzmZTX Change-Id: I32f2f11d33bf6881a67770679db2118917d2123b
62 lines
2.5 KiB
XML
62 lines
2.5 KiB
XML
<?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.
|
|
-->
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:systemui="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/menu_container"
|
|
android:layout_width="@dimen/navigation_key_width"
|
|
android:layout_height="match_parent"
|
|
android:importantForAccessibility="no"
|
|
android:focusable="false"
|
|
android:clipChildren="false"
|
|
android:clipToPadding="false"
|
|
>
|
|
<com.android.systemui.statusbar.policy.KeyButtonView
|
|
android:id="@+id/menu"
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_weight="0"
|
|
android:scaleType="center"
|
|
systemui:keyCode="82"
|
|
systemui:playSound="false"
|
|
android:visibility="invisible"
|
|
android:contentDescription="@string/accessibility_menu"
|
|
android:paddingStart="@dimen/navigation_key_padding"
|
|
android:paddingEnd="@dimen/navigation_key_padding"
|
|
/>
|
|
<include layout="@layout/ime_switcher"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="invisible"
|
|
/>
|
|
<include layout="@layout/rotate_suggestion"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="invisible"
|
|
/>
|
|
<com.android.systemui.statusbar.policy.KeyButtonView
|
|
android:id="@+id/accessibility_button"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0"
|
|
android:scaleType="center"
|
|
android:visibility="invisible"
|
|
android:contentDescription="@string/accessibility_accessibility_button"
|
|
android:paddingStart="@dimen/navigation_key_padding"
|
|
android:paddingEnd="@dimen/navigation_key_padding"
|
|
/>
|
|
</FrameLayout>
|