Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2018 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"
     19              android:id="@+id/menu_container"
     20              android:layout_width="@dimen/navigation_key_width"
     21              android:layout_height="match_parent"
     22              android:importantForAccessibility="no"
     23              android:clipChildren="false"
     24              android:clipToPadding="false"
     25              >
     26     <com.android.systemui.statusbar.policy.KeyButtonView
     27         android:id="@+id/menu"
     28         android:layout_height="match_parent"
     29         android:layout_width="match_parent"
     30         android:layout_weight="0"
     31         android:scaleType="center"
     32         systemui:keyCode="82"
     33         systemui:playSound="false"
     34         android:visibility="invisible"
     35         android:contentDescription="@string/accessibility_menu"
     36         android:paddingStart="@dimen/navigation_key_padding"
     37         android:paddingEnd="@dimen/navigation_key_padding"
     38     />
     39     <com.android.systemui.statusbar.policy.KeyButtonView
     40         android:id="@+id/ime_switcher"
     41         android:layout_width="match_parent"
     42         android:layout_height="match_parent"
     43         android:layout_weight="0"
     44         android:scaleType="center"
     45         android:visibility="invisible"
     46         android:contentDescription="@string/accessibility_ime_switch_button"
     47         android:paddingStart="@dimen/navigation_key_padding"
     48         android:paddingEnd="@dimen/navigation_key_padding"
     49     />
     50     <com.android.systemui.statusbar.policy.KeyButtonView
     51         android:id="@+id/rotate_suggestion"
     52         android:layout_width="match_parent"
     53         android:layout_height="match_parent"
     54         android:layout_weight="0"
     55         android:scaleType="center"
     56         android:visibility="invisible"
     57         android:contentDescription="@string/accessibility_rotate_button"
     58         android:paddingStart="@dimen/navigation_key_padding"
     59         android:paddingEnd="@dimen/navigation_key_padding"
     60     />
     61     <com.android.systemui.statusbar.policy.KeyButtonView
     62         android:id="@+id/accessibility_button"
     63         android:layout_width="match_parent"
     64         android:layout_height="match_parent"
     65         android:layout_weight="0"
     66         android:scaleType="center"
     67         android:visibility="invisible"
     68         android:contentDescription="@string/accessibility_accessibility_button"
     69         android:paddingStart="@dimen/navigation_key_padding"
     70         android:paddingEnd="@dimen/navigation_key_padding"
     71     />
     72 </FrameLayout>
     73