summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorlinus_lee <llee@cyngn.com>2014-08-27 10:53:57 -0700
committerlinus_lee <llee@cyngn.com>2014-11-20 11:58:47 -0800
commit985f9307bc9ebfd4af1800f6a4f127a4d50bbd8c (patch)
tree0563e7d778b2fbc7e77d9f993fc102fc9914364e /res/layout-land
parentbcc8e52433bc844bef8f4a114a628252b7124dd8 (diff)
downloadandroid_packages_apps_Eleven-985f9307bc9ebfd4af1800f6a4f127a4d50bbd8c.tar.gz
android_packages_apps_Eleven-985f9307bc9ebfd4af1800f6a4f127a4d50bbd8c.tar.bz2
android_packages_apps_Eleven-985f9307bc9ebfd4af1800f6a4f127a4d50bbd8c.zip
Eleven: Disable landscape and also fix a bug around landscape (in case we re-enable it)
Change-Id: I9bbfa1e179d13e22ca0626c92b737466587f52d3
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/activity_player_base.xml184
1 files changed, 0 insertions, 184 deletions
diff --git a/res/layout-land/activity_player_base.xml b/res/layout-land/activity_player_base.xml
deleted file mode 100644
index a2ef12f..0000000
--- a/res/layout-land/activity_player_base.xml
+++ /dev/null
@@ -1,184 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2012 Andrew Neal
-
- 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.
--->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <RelativeLayout
- android:id="@+id/audio_player_large_album_frame"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true" >
-
- <com.cyngn.eleven.widgets.SquareImageView
- android:id="@+id/audio_player_album_art"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:scaleType="fitXY" />
-
- <ImageView
- android:layout_width="@dimen/shadow_height"
- android:layout_height="match_parent"
- android:layout_alignRight="@+id/audio_player_album_art"
- android:contentDescription="@null"
- android:src="@drawable/right_shadow" />
- </RelativeLayout>
-
- <FrameLayout
- android:id="@+id/audio_player_pager_container"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_alignRight="@+id/audio_player_large_album_frame"
- android:visibility="invisible" >
-
- <android.support.v4.view.ViewPager
- android:id="@+id/audio_player_pager"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
-
- <ImageView
- android:layout_width="@dimen/shadow_height"
- android:layout_height="match_parent"
- android:layout_gravity="right"
- android:contentDescription="@null"
- android:src="@drawable/right_shadow" />
- </FrameLayout>
-
- <View
- android:id="@+id/audio_player_footer"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:layout_toRightOf="@+id/audio_player_large_album_frame" />
-
- <LinearLayout
- android:id="@+id/audio_player_header"
- android:layout_width="match_parent"
- android:layout_height="@dimen/audio_player_header_height"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:layout_toRightOf="@+id/audio_player_large_album_frame"
- android:baselineAligned="false"
- android:orientation="horizontal"
- android:padding="0dp" >
-
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:baselineAligned="false"
- android:orientation="vertical"
- android:paddingLeft="@dimen/audio_player_header_padding_left"
- android:paddingRight="@dimen/audio_player_header_padding_right" >
-
- <TextView
- android:id="@+id/audio_player_track_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:gravity="bottom"
- android:singleLine="true"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/audio_player_artist_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:gravity="top"
- android:singleLine="true"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
-
- <FrameLayout
- android:id="@+id/audio_player_switch"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:focusable="true"
- android:padding="@dimen/audio_player_switch_padding" >
-
- <com.cyngn.eleven.widgets.SquareImageView
- android:id="@+id/audio_player_switch_queue"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:contentDescription="@null" />
-
- <com.cyngn.eleven.widgets.SquareImageView
- android:id="@+id/audio_player_switch_album_art"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:visibility="invisible" />
- </FrameLayout>
- </LinearLayout>
-
- <TextView
- android:id="@+id/audio_player_current_time"
- android:layout_width="@dimen/audio_player_time_width"
- android:layout_height="wrap_content"
- android:layout_alignBottom="@android:id/progress"
- android:layout_alignTop="@android:id/progress"
- android:layout_toRightOf="@+id/audio_player_large_album_frame"
- android:gravity="center"
- android:textSize="@dimen/text_size_micro" />
-
- <TextView
- android:id="@+id/audio_player_total_time"
- android:layout_width="@dimen/audio_player_time_width"
- android:layout_height="wrap_content"
- android:layout_alignBottom="@android:id/progress"
- android:layout_alignParentRight="true"
- android:layout_alignTop="@android:id/progress"
- android:gravity="center"
- android:textSize="@dimen/text_size_micro" />
-
- <SeekBar
- android:id="@android:id/progress"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_above="@+id/audio_player_controlss"
- android:layout_marginBottom="@dimen/audio_player_seek_bar_margin_bottom"
- android:layout_toLeftOf="@+id/audio_player_total_time"
- android:layout_toRightOf="@+id/audio_player_current_time"
- android:background="@null"
- android:max="1000"
- android:thumb="@null" />
-
- <LinearLayout
- android:id="@+id/audio_player_controlss"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentRight="true"
- android:layout_toRightOf="@+id/audio_player_large_album_frame"
- android:baselineAligned="false" >
-
- <include layout="@layout/audio_player_controls" />
- </LinearLayout>
- </RelativeLayout>
-
- <include layout="@layout/colorstrip" />
-
-</FrameLayout> \ No newline at end of file