blob: 5a0e76799e7c5ef4f19bae4d410b03993fcb4e62 [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"
Mike Digman30cb07a2018-02-28 14:03:30 -080019 android:layout_width="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050020 android:layout_height="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050021 >
Mike Digman30cb07a2018-02-28 14:03:30 -080022 <!-- Use width & height=match_parent for parent FrameLayout and buttons because they are placed
23 inside a view that has a size controlled by weight. Ensure weight is large enough to support
24 icon size. -->
25
Jason Monka2081822016-01-18 14:41:03 -050026 <com.android.systemui.statusbar.policy.KeyButtonView
27 android:id="@+id/menu"
Mike Digman30cb07a2018-02-28 14:03:30 -080028 android:layout_width="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050029 android:layout_height="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050030 android:scaleType="centerInside"
31 systemui:keyCode="82"
Jason Monk6c1e6ca2017-03-30 14:12:13 -040032 systemui:playSound="false"
Jason Monka2081822016-01-18 14:41:03 -050033 android:visibility="invisible"
34 android:contentDescription="@string/accessibility_menu"
35 />
36 <com.android.systemui.statusbar.policy.KeyButtonView
37 android:id="@+id/ime_switcher"
Mike Digman30cb07a2018-02-28 14:03:30 -080038 android:layout_width="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050039 android:layout_height="match_parent"
Jason Monka2081822016-01-18 14:41:03 -050040 android:visibility="invisible"
41 android:contentDescription="@string/accessibility_ime_switch_button"
42 android:scaleType="centerInside"
43 />
Casey Burkhardt048c2bc2016-12-08 16:09:20 -080044 <com.android.systemui.statusbar.policy.KeyButtonView
Mike Digmana48cf192018-02-12 17:52:48 -080045 android:id="@+id/rotate_suggestion"
Mike Digman30cb07a2018-02-28 14:03:30 -080046 android:layout_width="match_parent"
Mike Digmana48cf192018-02-12 17:52:48 -080047 android:layout_height="match_parent"
Mike Digmana48cf192018-02-12 17:52:48 -080048 android:visibility="invisible"
49 android:scaleType="centerInside"
50 android:contentDescription="@string/accessibility_rotate_button"
51 />
52 <com.android.systemui.statusbar.policy.KeyButtonView
Casey Burkhardt048c2bc2016-12-08 16:09:20 -080053 android:id="@+id/accessibility_button"
Mike Digman30cb07a2018-02-28 14:03:30 -080054 android:layout_width="match_parent"
Casey Burkhardt048c2bc2016-12-08 16:09:20 -080055 android:layout_height="match_parent"
Casey Burkhardt048c2bc2016-12-08 16:09:20 -080056 android:visibility="invisible"
57 android:contentDescription="@string/accessibility_accessibility_button"
58 android:scaleType="centerInside"
59 />
Jason Monka2081822016-01-18 14:41:03 -050060</FrameLayout>