Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 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 xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | xmlns:systemui="http://schemas.android.com/apk/res-auto" |
Matthew Ng | 6607c3d | 2018-04-26 15:23:27 -0700 | [diff] [blame] | 19 | android:id="@+id/menu_container" |
Matthew Ng | eb9bf01 | 2018-07-03 14:24:04 -0700 | [diff] [blame] | 20 | android:layout_width="@dimen/navigation_key_width" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 21 | android:layout_height="match_parent" |
Mike Digman | 9b772c6 | 2018-05-11 12:27:32 -0700 | [diff] [blame] | 22 | android:importantForAccessibility="no" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 23 | > |
Matthew Ng | eb9bf01 | 2018-07-03 14:24:04 -0700 | [diff] [blame] | 24 | <!-- 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 Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame] | 27 | |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 28 | <com.android.systemui.statusbar.policy.KeyButtonView |
| 29 | android:id="@+id/menu" |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame] | 30 | android:layout_width="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 31 | android:layout_height="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 32 | android:scaleType="centerInside" |
| 33 | systemui:keyCode="82" |
Jason Monk | 6c1e6ca | 2017-03-30 14:12:13 -0400 | [diff] [blame] | 34 | systemui:playSound="false" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 35 | android:visibility="invisible" |
| 36 | android:contentDescription="@string/accessibility_menu" |
| 37 | /> |
Matthew Ng | f03c3a6 | 2019-04-03 13:52:57 -0700 | [diff] [blame] | 38 | <include layout="@layout/ime_switcher" |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame] | 39 | android:layout_width="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 40 | android:layout_height="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 41 | android:scaleType="centerInside" |
Matthew Ng | f03c3a6 | 2019-04-03 13:52:57 -0700 | [diff] [blame] | 42 | android:visibility="invisible" |
| 43 | android:paddingStart="0dp" |
| 44 | android:paddingEnd="0dp" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 45 | /> |
Casey Burkhardt | 048c2bc | 2016-12-08 16:09:20 -0800 | [diff] [blame] | 46 | <com.android.systemui.statusbar.policy.KeyButtonView |
Mike Digman | a48cf19 | 2018-02-12 17:52:48 -0800 | [diff] [blame] | 47 | android:id="@+id/rotate_suggestion" |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame] | 48 | android:layout_width="match_parent" |
Mike Digman | a48cf19 | 2018-02-12 17:52:48 -0800 | [diff] [blame] | 49 | android:layout_height="match_parent" |
Mike Digman | a48cf19 | 2018-02-12 17:52:48 -0800 | [diff] [blame] | 50 | android:visibility="invisible" |
| 51 | android:scaleType="centerInside" |
| 52 | android:contentDescription="@string/accessibility_rotate_button" |
| 53 | /> |
| 54 | <com.android.systemui.statusbar.policy.KeyButtonView |
Casey Burkhardt | 048c2bc | 2016-12-08 16:09:20 -0800 | [diff] [blame] | 55 | android:id="@+id/accessibility_button" |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame] | 56 | android:layout_width="match_parent" |
Casey Burkhardt | 048c2bc | 2016-12-08 16:09:20 -0800 | [diff] [blame] | 57 | android:layout_height="match_parent" |
Casey Burkhardt | 048c2bc | 2016-12-08 16:09:20 -0800 | [diff] [blame] | 58 | android:visibility="invisible" |
| 59 | android:contentDescription="@string/accessibility_accessibility_button" |
| 60 | android:scaleType="centerInside" |
| 61 | /> |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 62 | </FrameLayout> |