diff options
author | Buga Dániel <bugadani@gmail.com> | 2013-03-19 13:55:14 +0100 |
---|---|---|
committer | Buga Dániel <bugadani@gmail.com> | 2013-03-19 14:02:10 +0100 |
commit | 2703ec4060514d198cfdd5309515dae987233674 (patch) | |
tree | fb991d0cb9a793e07943aedfb3e10e4615cd3977 /res/layout-land | |
parent | 4c8eebed1ae498cbed3ea3e71ae8d94eabf3ad65 (diff) | |
download | android_packages_apps_Eleven-2703ec4060514d198cfdd5309515dae987233674.tar.gz android_packages_apps_Eleven-2703ec4060514d198cfdd5309515dae987233674.tar.bz2 android_packages_apps_Eleven-2703ec4060514d198cfdd5309515dae987233674.zip |
Convert line endings
Change-Id: I16eeea17b850f411e7031c79da06de628675e977
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/activity_player_base.xml | 376 |
1 files changed, 188 insertions, 188 deletions
diff --git a/res/layout-land/activity_player_base.xml b/res/layout-land/activity_player_base.xml index ac0e480..a23ec70 100644 --- a/res/layout-land/activity_player_base.xml +++ b/res/layout-land/activity_player_base.xml @@ -1,189 +1,189 @@ -<?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.
--->
-<com.andrew.apollo.widgets.theme.ThemeableFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res/com.andrew.apollo"
- 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.andrew.apollo.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" >
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- 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"
- app:themeResource="audio_player_line_one" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- 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"
- app:themeResource="audio_player_line_two" />
- </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.andrew.apollo.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.andrew.apollo.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>
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- 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"
- app:themeResource="audio_player_current_time" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- 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"
- app:themeResource="audio_player_total_time" />
-
- <com.andrew.apollo.widgets.theme.ThemeableSeekBar
- 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" />
-
+<?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. +--> +<com.andrew.apollo.widgets.theme.ThemeableFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res/com.andrew.apollo" + 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.andrew.apollo.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" > + + <com.andrew.apollo.widgets.theme.ThemeableTextView + 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" + app:themeResource="audio_player_line_one" /> + + <com.andrew.apollo.widgets.theme.ThemeableTextView + 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" + app:themeResource="audio_player_line_two" /> + </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.andrew.apollo.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.andrew.apollo.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> + + <com.andrew.apollo.widgets.theme.ThemeableTextView + 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" + app:themeResource="audio_player_current_time" /> + + <com.andrew.apollo.widgets.theme.ThemeableTextView + 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" + app:themeResource="audio_player_total_time" /> + + <com.andrew.apollo.widgets.theme.ThemeableSeekBar + 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" /> + </com.andrew.apollo.widgets.theme.ThemeableFrameLayout>
\ No newline at end of file |