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" |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame^] | 19 | android:layout_width="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 20 | android:layout_height="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 21 | > |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame^] | 22 | <!-- 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 Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 26 | <com.android.systemui.statusbar.policy.KeyButtonView |
| 27 | android:id="@+id/menu" |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame^] | 28 | android:layout_width="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 29 | android:layout_height="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 30 | android:scaleType="centerInside" |
| 31 | systemui:keyCode="82" |
Jason Monk | 6c1e6ca | 2017-03-30 14:12:13 -0400 | [diff] [blame] | 32 | systemui:playSound="false" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 33 | android:visibility="invisible" |
| 34 | android:contentDescription="@string/accessibility_menu" |
| 35 | /> |
| 36 | <com.android.systemui.statusbar.policy.KeyButtonView |
| 37 | android:id="@+id/ime_switcher" |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame^] | 38 | android:layout_width="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 39 | android:layout_height="match_parent" |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 40 | android:visibility="invisible" |
| 41 | android:contentDescription="@string/accessibility_ime_switch_button" |
| 42 | android:scaleType="centerInside" |
| 43 | /> |
Casey Burkhardt | 048c2bc | 2016-12-08 16:09:20 -0800 | [diff] [blame] | 44 | <com.android.systemui.statusbar.policy.KeyButtonView |
Mike Digman | a48cf19 | 2018-02-12 17:52:48 -0800 | [diff] [blame] | 45 | android:id="@+id/rotate_suggestion" |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame^] | 46 | android:layout_width="match_parent" |
Mike Digman | a48cf19 | 2018-02-12 17:52:48 -0800 | [diff] [blame] | 47 | android:layout_height="match_parent" |
Mike Digman | a48cf19 | 2018-02-12 17:52:48 -0800 | [diff] [blame] | 48 | android:visibility="invisible" |
| 49 | android:scaleType="centerInside" |
| 50 | android:contentDescription="@string/accessibility_rotate_button" |
| 51 | /> |
| 52 | <com.android.systemui.statusbar.policy.KeyButtonView |
Casey Burkhardt | 048c2bc | 2016-12-08 16:09:20 -0800 | [diff] [blame] | 53 | android:id="@+id/accessibility_button" |
Mike Digman | 30cb07a | 2018-02-28 14:03:30 -0800 | [diff] [blame^] | 54 | android:layout_width="match_parent" |
Casey Burkhardt | 048c2bc | 2016-12-08 16:09:20 -0800 | [diff] [blame] | 55 | android:layout_height="match_parent" |
Casey Burkhardt | 048c2bc | 2016-12-08 16:09:20 -0800 | [diff] [blame] | 56 | android:visibility="invisible" |
| 57 | android:contentDescription="@string/accessibility_accessibility_button" |
| 58 | android:scaleType="centerInside" |
| 59 | /> |
Jason Monk | a208182 | 2016-01-18 14:41:03 -0500 | [diff] [blame] | 60 | </FrameLayout> |