Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <!--
- /*
- ** Copyright 2015 The CyanogenMod Project
- **
- ** Licensed under the Apache License, Version 2.0 (the "License");
- ** you may not use this file except in compliance with the License.
- ** You may obtain a copy of the License at
- **
- ** http://www.apache.org/licenses/LICENSE-2.0
- **
- ** Unless required by applicable law or agreed to in writing, software
- ** distributed under the License is distributed on an "AS IS" BASIS,
- ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ** See the License for the specific language governing permissions and
- ** limitations under the License.
- */
- -->
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
- android:layout_height="match_parent"
- android:layout_width="match_parent"
- android:orientation="vertical"
- android:clipChildren="false"
- android:clipToPadding="false"
- android:id="@+id/nav_buttons">
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <com.android.systemui.statusbar.policy.KeyButtonView
- android:id="@+id/ime_switcher"
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:contentDescription="@string/accessibility_ime_switch_button"
- android:scaleType="centerInside"
- android:src="@drawable/ic_ime_switcher_default"
- android:visibility="invisible" />
- <com.android.systemui.statusbar.policy.KeyButtonView
- android:id="@+id/one"
- android:layout_height="40dp"
- android:layout_width="match_parent"
- android:layout_weight="0" />
- <com.android.systemui.statusbar.policy.KeyButtonView
- android:id="@+id/dpad_left"
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:layout_weight="0"
- android:scaleType="fitCenter"
- systemui:keyRepeat="true"/>
- </FrameLayout>
- <LinearLayout
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:layout_weight="1"
- android:layout_marginTop="40dp"
- android:layout_marginBottom="40dp"
- android:orientation="vertical"
- android:clipChildren="false"
- android:gravity="center_vertical"
- android:id="@+id/mid_nav_buttons"
- android:layout_gravity="center_vertical"
- android:clipToPadding="false"
- android:animateLayoutChanges="true">
- <com.android.systemui.statusbar.policy.KeyButtonView
- android:id="@+id/two"
- android:layout_height="80dp"
- android:layout_width="match_parent"
- android:layout_weight="0"
- systemui:keyRepeat="true" />
- <View
- android:layout_height="0dp"
- android:layout_width="match_parent"
- android:layout_weight="1"
- android:visibility="invisible" />
- <com.android.systemui.statusbar.policy.KeyButtonView
- android:id="@+id/three"
- android:layout_height="80dp"
- android:layout_width="match_parent"
- systemui:keyRepeat="true"
- android:layout_weight="0" />
- <View
- android:layout_height="0dp"
- android:layout_width="match_parent"
- android:layout_weight="1"
- android:visibility="invisible" />
- <com.android.systemui.statusbar.policy.KeyButtonView
- android:id="@+id/four"
- android:layout_height="80dp"
- android:layout_width="match_parent"
- android:layout_weight="0"
- systemui:keyRepeat="true" />
- <View
- android:layout_height="0dp"
- android:layout_width="match_parent"
- android:layout_weight="1"
- android:visibility="invisible" />
- <com.android.systemui.statusbar.policy.KeyButtonView
- android:id="@+id/five"
- android:layout_height="80dp"
- android:layout_width="match_parent"
- android:layout_weight="0"
- systemui:keyRepeat="true" />
- </LinearLayout>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <com.android.systemui.statusbar.policy.KeyButtonView
- android:id="@+id/dpad_right"
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:layout_weight="0"
- android:scaleType="fitCenter"
- systemui:keyRepeat="true" />
- <com.android.systemui.statusbar.policy.KeyButtonView
- android:id="@+id/six"
- android:layout_height="40dp"
- android:layout_width="match_parent"
- android:layout_weight="0"
- systemui:keyRepeat="true" />
- </FrameLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement