blob: 24374e80b211a5b085dbee38ac31a95a47f03448 [file] [log] [blame]
Jason Monka2081822016-01-18 14:41:03 -05001<?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 xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:systemui="http://schemas.android.com/apk/res-auto"
Matthew Ng6607c3d2018-04-26 15:23:27 -070019 android:id="@+id/menu_container"
Matthew Ngeb9bf012018-07-03 14:24:04 -070020 android:layout_width="@dimen/navigation_key_width"
Jason Monka2081822016-01-18 14:41:03 -050021 android:layout_height="match_parent"
Mike Digman9b772c62018-05-11 12:27:32 -070022 android:importantForAccessibility="no"
Jason Monka2081822016-01-18 14:41:03 -050023 >
Matthew Ngeb9bf012018-07-03 14:24:04 -070024 <!-- Use nav button width & height=match_parent for parent FrameLayout and buttons because they
25 are placed inside a view that has a size controlled by weight. Ensure weight is large enough to
26 support icon size. -->
Mike Digman30cb07a2018-02-28 14:03:30 -080027
Jason Monka2081822016-01-18 14:41:03 -050028 <com.android.systemui.statusbar.policy.KeyButtonView
29 android:id="@+id/menu"
Mike Digman30cb07a2018-02-28 14:03:30 -080030 android:layout_width="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050031 android:layout_height="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050032 android:scaleType="centerInside"
33 systemui:keyCode="82"
Jason Monk6c1e6ca2017-03-30 14:12:13 -040034 systemui:playSound="false"
Jason Monka2081822016-01-18 14:41:03 -050035 android:visibility="invisible"
36 android:contentDescription="@string/accessibility_menu"
37 />
Matthew Ngf03c3a62019-04-03 13:52:57 -070038 <include layout="@layout/ime_switcher"
Mike Digman30cb07a2018-02-28 14:03:30 -080039 android:layout_width="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050040 android:layout_height="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050041 android:scaleType="centerInside"
Matthew Ngf03c3a62019-04-03 13:52:57 -070042 android:visibility="invisible"
43 android:paddingStart="0dp"
44 android:paddingEnd="0dp"
Jason Monka2081822016-01-18 14:41:03 -050045 />
Casey Burkhardt048c2bc2016-12-08 16:09:20 -080046 <com.android.systemui.statusbar.policy.KeyButtonView
Mike Digmana48cf192018-02-12 17:52:48 -080047 android:id="@+id/rotate_suggestion"
Mike Digman30cb07a2018-02-28 14:03:30 -080048 android:layout_width="match_parent"
Mike Digmana48cf192018-02-12 17:52:48 -080049 android:layout_height="match_parent"
Mike Digmana48cf192018-02-12 17:52:48 -080050 android:visibility="invisible"
51 android:scaleType="centerInside"
52 android:contentDescription="@string/accessibility_rotate_button"
53 />
54 <com.android.systemui.statusbar.policy.KeyButtonView
Casey Burkhardt048c2bc2016-12-08 16:09:20 -080055 android:id="@+id/accessibility_button"
Mike Digman30cb07a2018-02-28 14:03:30 -080056 android:layout_width="match_parent"
Casey Burkhardt048c2bc2016-12-08 16:09:20 -080057 android:layout_height="match_parent"
Casey Burkhardt048c2bc2016-12-08 16:09:20 -080058 android:visibility="invisible"
59 android:contentDescription="@string/accessibility_accessibility_button"
60 android:scaleType="centerInside"
61 />
Jason Monka2081822016-01-18 14:41:03 -050062</FrameLayout>