blob: ac6fbda453851dffc97b8e406994cb69a900d2c4 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
**
** Copyright 2012, The Android Open Source 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.
-->
<!-- navigation bar for sw600dp (small tablets) -->
<com.android.systemui.navigation.fling.FlingView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:prvandroid="http://schemas.android.com/apk/prv/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/system_bar_background" >
<FrameLayout android:id="@+id/rot0"
android:layout_height="match_parent"
android:layout_width="match_parent"
>
<LinearLayout
android:id="@+id/nav_buttons"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true"
android:clipChildren="false"
android:clipToPadding="false"
android:orientation="horizontal" >
<Space
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"/>
<!-- navigation controls -->
<com.android.systemui.navigation.fling.FlingLogoView
android:id="@+id/fling_console"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="0"
android:src="@drawable/ic_eos_fling" />
<ImageView
android:id="@+id/rotationLogo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/ic_sysbar_rotate_button"
android:layout_weight="1"
android:visibility="invisible" />
</LinearLayout>
</FrameLayout>
<FrameLayout android:id="@+id/rot90"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:visibility="gone"
android:paddingTop="0dp"
>
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="horizontal"
android:clipChildren="false"
android:clipToPadding="false"
android:id="@+id/nav_buttons"
android:animateLayoutChanges="true"
>
<ImageView
android:id="@+id/rotationLogo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/ic_sysbar_rotate_button"
android:layout_weight="1"
android:visibility="invisible" />
<!-- navigation controls -->
<com.android.systemui.navigation.fling.FlingLogoView
android:id="@+id/fling_console"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="0"
android:src="@drawable/ic_eos_fling_land" />
<Space
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"/>
</LinearLayout>
</FrameLayout>
</com.android.systemui.navigation.fling.FlingView>