summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorBuga Dániel <bugadani@gmail.com>2013-03-19 13:55:14 +0100
committerBuga Dániel <bugadani@gmail.com>2013-03-19 14:02:10 +0100
commit2703ec4060514d198cfdd5309515dae987233674 (patch)
treefb991d0cb9a793e07943aedfb3e10e4615cd3977 /res
parent4c8eebed1ae498cbed3ea3e71ae8d94eabf3ad65 (diff)
downloadandroid_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')
-rw-r--r--res/drawable/action_bar.xml40
-rw-r--r--res/drawable/audio_player_pager_container.xml40
-rw-r--r--res/drawable/bottom_action_bar.xml40
-rw-r--r--res/drawable/bottom_shadow.xml48
-rw-r--r--res/drawable/pager_background.xml38
-rw-r--r--res/drawable/right_shadow.xml48
-rw-r--r--res/drawable/top_shadow.xml48
-rw-r--r--res/drawable/tpi_background.xml38
-rw-r--r--res/layout-land/activity_player_base.xml376
-rw-r--r--res/layout-v16/notification_template_expanded_base.xml242
-rw-r--r--res/layout/action_bar.xml112
-rw-r--r--res/layout/activity_player_base.xml410
-rw-r--r--res/layout/activity_profile_base.xml104
-rw-r--r--res/layout/app_widget_large.xml234
-rw-r--r--res/layout/app_widget_large_alternate.xml274
-rw-r--r--res/layout/app_widget_recents.xml210
-rw-r--r--res/layout/app_widget_recents_items.xml120
-rw-r--r--res/layout/app_widget_small.xml300
-rw-r--r--res/layout/audio_player_controls.xml186
-rw-r--r--res/layout/bottom_action_bar.xml194
-rw-r--r--res/layout/color_scheme_dialog.xml310
-rw-r--r--res/layout/colorstrip.xml36
-rw-r--r--res/layout/edit_track_list_item.xml76
-rw-r--r--res/layout/faux_carousel.xml46
-rw-r--r--res/layout/fragment_themes_base.xml92
-rw-r--r--res/layout/grid_base.xml90
-rw-r--r--res/layout/grid_items_normal.xml108
-rw-r--r--res/layout/list_base.xml92
-rw-r--r--res/layout/list_header.xml50
-rw-r--r--res/layout/list_item_detailed.xml154
-rw-r--r--res/layout/list_item_detailed_no_background.xml152
-rw-r--r--res/layout/list_item_normal.xml126
-rw-r--r--res/layout/list_item_simple.xml108
-rw-r--r--res/layout/notification_template_base.xml138
-rw-r--r--res/layout/profile_tab.xml178
-rw-r--r--res/layout/profile_tab_carousel.xml108
-rw-r--r--res/layout/square_image_view.xml52
-rw-r--r--res/layout/top_shadow.xml38
-rw-r--r--res/menu/add_to_homescreen.xml50
-rw-r--r--res/menu/album_song_sort_by.xml76
-rw-r--r--res/menu/album_sort_by.xml82
-rw-r--r--res/menu/artist_album_sort_by.xml76
-rw-r--r--res/menu/artist_song_sort_by.xml86
-rw-r--r--res/menu/artist_sort_by.xml76
-rw-r--r--res/menu/audio_player.xml64
-rw-r--r--res/menu/favorite.xml50
-rw-r--r--res/menu/queue.xml52
-rw-r--r--res/menu/search.xml54
-rw-r--r--res/menu/shuffle.xml46
-rw-r--r--res/menu/song_sort_by.xml88
-rw-r--r--res/menu/theme_shop.xml48
-rw-r--r--res/menu/view_as.xml70
-rw-r--r--res/values-sw600dp/dimens.xml42
-rw-r--r--res/xml/app_widget_large.xml46
-rw-r--r--res/xml/app_widget_large_alternate.xml46
-rw-r--r--res/xml/app_widget_recents.xml52
-rw-r--r--res/xml/app_widget_small.xml46
-rw-r--r--res/xml/searchable.xml48
-rw-r--r--res/xml/settings.xml176
59 files changed, 3215 insertions, 3215 deletions
diff --git a/res/drawable/action_bar.xml b/res/drawable/action_bar.xml
index eb2c17e..090c35f 100644
--- a/res/drawable/action_bar.xml
+++ b/res/drawable/action_bar.xml
@@ -1,21 +1,21 @@
-<?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.
--->
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item android:drawable="@color/action_bar"></item>
-
+<?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.
+-->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:drawable="@color/action_bar"></item>
+
</selector> \ No newline at end of file
diff --git a/res/drawable/audio_player_pager_container.xml b/res/drawable/audio_player_pager_container.xml
index eb2c17e..090c35f 100644
--- a/res/drawable/audio_player_pager_container.xml
+++ b/res/drawable/audio_player_pager_container.xml
@@ -1,21 +1,21 @@
-<?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.
--->
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item android:drawable="@color/action_bar"></item>
-
+<?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.
+-->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:drawable="@color/action_bar"></item>
+
</selector> \ No newline at end of file
diff --git a/res/drawable/bottom_action_bar.xml b/res/drawable/bottom_action_bar.xml
index 2fceb5c..49205e7 100644
--- a/res/drawable/bottom_action_bar.xml
+++ b/res/drawable/bottom_action_bar.xml
@@ -1,21 +1,21 @@
-<?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.
--->
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
-
- <item android:drawable="@color/bottom_action_bar"></item>
-
+<?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.
+-->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:drawable="@color/bottom_action_bar"></item>
+
</selector> \ No newline at end of file
diff --git a/res/drawable/bottom_shadow.xml b/res/drawable/bottom_shadow.xml
index f6cb3f5..ddea296 100644
--- a/res/drawable/bottom_shadow.xml
+++ b/res/drawable/bottom_shadow.xml
@@ -1,25 +1,25 @@
-<?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.
--->
-<shape xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="rectangle" >
-
- <gradient
- android:angle="90.0"
- android:endColor="@color/transparent"
- android:startColor="@color/black" />
-
+<?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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle" >
+
+ <gradient
+ android:angle="90.0"
+ android:endColor="@color/transparent"
+ android:startColor="@color/black" />
+
</shape> \ No newline at end of file
diff --git a/res/drawable/pager_background.xml b/res/drawable/pager_background.xml
index ac03fea..8400045 100644
--- a/res/drawable/pager_background.xml
+++ b/res/drawable/pager_background.xml
@@ -1,19 +1,19 @@
-<?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.
--->
-<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
- android:src="@drawable/view_pager_background_texture"
- android:tileMode="repeat" />
+<?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.
+-->
+<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
+ android:src="@drawable/view_pager_background_texture"
+ android:tileMode="repeat" />
diff --git a/res/drawable/right_shadow.xml b/res/drawable/right_shadow.xml
index e22eee1..e0b1780 100644
--- a/res/drawable/right_shadow.xml
+++ b/res/drawable/right_shadow.xml
@@ -1,25 +1,25 @@
-<?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.
--->
-<shape xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="rectangle" >
-
- <gradient
- android:angle="180"
- android:endColor="@color/transparent"
- android:startColor="@color/black" />
-
+<?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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle" >
+
+ <gradient
+ android:angle="180"
+ android:endColor="@color/transparent"
+ android:startColor="@color/black" />
+
</shape> \ No newline at end of file
diff --git a/res/drawable/top_shadow.xml b/res/drawable/top_shadow.xml
index 59e060b..dfeca47 100644
--- a/res/drawable/top_shadow.xml
+++ b/res/drawable/top_shadow.xml
@@ -1,25 +1,25 @@
-<?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.
--->
-<shape xmlns:android="http://schemas.android.com/apk/res/android"
- android:shape="rectangle" >
-
- <gradient
- android:angle="270"
- android:endColor="@color/transparent"
- android:startColor="@color/black" />
-
+<?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.
+-->
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle" >
+
+ <gradient
+ android:angle="270"
+ android:endColor="@color/transparent"
+ android:startColor="@color/black" />
+
</shape> \ No newline at end of file
diff --git a/res/drawable/tpi_background.xml b/res/drawable/tpi_background.xml
index d96958b..b19e327 100644
--- a/res/drawable/tpi_background.xml
+++ b/res/drawable/tpi_background.xml
@@ -1,19 +1,19 @@
-<?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.
--->
-<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
- android:src="@drawable/bg_stripes_dark"
- android:tileMode="repeat" />
+<?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.
+-->
+<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
+ android:src="@drawable/bg_stripes_dark"
+ android:tileMode="repeat" />
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
diff --git a/res/layout-v16/notification_template_expanded_base.xml b/res/layout-v16/notification_template_expanded_base.xml
index a8dd2f3..da6b8ea 100644
--- a/res/layout-v16/notification_template_expanded_base.xml
+++ b/res/layout-v16/notification_template_expanded_base.xml
@@ -1,123 +1,123 @@
-<?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
+<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="128.0dip"
- tools:ignore="ContentDescription" >
-
- <!-- The height cannot be specified any other way. It must read "128.0dip" and cannot be referenced. I think it's a bug. -->
-
- <ImageView
- android:id="@+id/notification_expanded_base_image"
- android:layout_width="@dimen/notification_expanded_height"
- android:layout_height="@dimen/notification_expanded_height"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:background="@drawable/default_artwork"
- android:scaleType="fitXY" />
-
- <LinearLayout
- android:id="@+id/notification_expanded_buttons"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentRight="true"
- android:layout_toRightOf="@+id/notification_expanded_base_image"
- android:divider="?android:listDivider"
- android:dividerPadding="@dimen/notification_expanded_buttons_divider_padding"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:showDividers="middle" >
-
- <ImageButton
- android:id="@+id/notification_expanded_base_previous"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_previous" />
-
- <ImageButton
- android:id="@+id/notification_expanded_base_play"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_pause" />
-
- <ImageButton
- android:id="@+id/notification_expanded_base_next"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_next" />
- </LinearLayout>
-
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="1dp"
- android:layout_above="@+id/notification_expanded_buttons"
- android:layout_alignParentRight="true"
- android:layout_toRightOf="@+id/notification_expanded_base_image"
- android:background="?android:dividerHorizontal" />
-
- <ImageButton
- android:id="@+id/notification_expanded_base_collapse"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:background="?android:selectableItemBackground"
- android:padding="@dimen/notification_expanded_collapse_padding"
- android:src="@drawable/btn_notification_collapse" />
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_gravity="center_vertical"
- android:layout_toLeftOf="@+id/notification_expanded_base_collapse"
- android:layout_toRightOf="@+id/notification_expanded_base_image"
- android:orientation="vertical"
- android:paddingLeft="@dimen/notification_info_container_padding_left"
- android:paddingTop="@dimen/notification_expanded_content_padding_top" >
-
- <TextView
- android:id="@+id/notification_expanded_base_line_one"
- style="@style/NotificationText"
- android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title" />
-
- <TextView
- android:id="@+id/notification_expanded_base_line_two"
- style="@style/NotificationText"
- android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" />
-
- <TextView
- android:id="@+id/notification_expanded_base_line_three"
- style="@style/NotificationText"
- android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" />
- </LinearLayout>
-
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="128.0dip"
+ tools:ignore="ContentDescription" >
+
+ <!-- The height cannot be specified any other way. It must read "128.0dip" and cannot be referenced. I think it's a bug. -->
+
+ <ImageView
+ android:id="@+id/notification_expanded_base_image"
+ android:layout_width="@dimen/notification_expanded_height"
+ android:layout_height="@dimen/notification_expanded_height"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:background="@drawable/default_artwork"
+ android:scaleType="fitXY" />
+
+ <LinearLayout
+ android:id="@+id/notification_expanded_buttons"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="true"
+ android:layout_toRightOf="@+id/notification_expanded_base_image"
+ android:divider="?android:listDivider"
+ android:dividerPadding="@dimen/notification_expanded_buttons_divider_padding"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:showDividers="middle" >
+
+ <ImageButton
+ android:id="@+id/notification_expanded_base_previous"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_previous" />
+
+ <ImageButton
+ android:id="@+id/notification_expanded_base_play"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_pause" />
+
+ <ImageButton
+ android:id="@+id/notification_expanded_base_next"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_next" />
+ </LinearLayout>
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="1dp"
+ android:layout_above="@+id/notification_expanded_buttons"
+ android:layout_alignParentRight="true"
+ android:layout_toRightOf="@+id/notification_expanded_base_image"
+ android:background="?android:dividerHorizontal" />
+
+ <ImageButton
+ android:id="@+id/notification_expanded_base_collapse"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:background="?android:selectableItemBackground"
+ android:padding="@dimen/notification_expanded_collapse_padding"
+ android:src="@drawable/btn_notification_collapse" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_gravity="center_vertical"
+ android:layout_toLeftOf="@+id/notification_expanded_base_collapse"
+ android:layout_toRightOf="@+id/notification_expanded_base_image"
+ android:orientation="vertical"
+ android:paddingLeft="@dimen/notification_info_container_padding_left"
+ android:paddingTop="@dimen/notification_expanded_content_padding_top" >
+
+ <TextView
+ android:id="@+id/notification_expanded_base_line_one"
+ style="@style/NotificationText"
+ android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title" />
+
+ <TextView
+ android:id="@+id/notification_expanded_base_line_two"
+ style="@style/NotificationText"
+ android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" />
+
+ <TextView
+ android:id="@+id/notification_expanded_base_line_three"
+ style="@style/NotificationText"
+ android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" />
+ </LinearLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/action_bar.xml b/res/layout/action_bar.xml
index 1fad70e..7cac41b 100644
--- a/res/layout/action_bar.xml
+++ b/res/layout/action_bar.xml
@@ -1,57 +1,57 @@
-<?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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:enabled="false"
- android:orientation="horizontal"
- android:paddingEnd="8dip" >
-
- <ImageView
- android:id="@+id/up"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical|start"
- android:contentDescription="@null"
- android:visibility="gone" />
-
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical|start"
- android:orientation="vertical" >
-
- <TextView
- android:id="@+id/action_bar_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:singleLine="true"
- android:textSize="@dimen/text_size_medium" />
-
- <TextView
- android:id="@+id/action_bar_subtitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="-3dp"
- android:ellipsize="end"
- android:singleLine="true"
- android:textSize="@dimen/text_size_small"
- android:visibility="gone" />
- </LinearLayout>
-
+<?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.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:enabled="false"
+ android:orientation="horizontal"
+ android:paddingEnd="8dip" >
+
+ <ImageView
+ android:id="@+id/up"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical|start"
+ android:contentDescription="@null"
+ android:visibility="gone" />
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical|start"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/action_bar_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textSize="@dimen/text_size_medium" />
+
+ <TextView
+ android:id="@+id/action_bar_subtitle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="-3dp"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textSize="@dimen/text_size_small"
+ android:visibility="gone" />
+ </LinearLayout>
+
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/activity_player_base.xml b/res/layout/activity_player_base.xml
index e98bbb5..5e197ae 100644
--- a/res/layout/activity_player_base.xml
+++ b/res/layout/activity_player_base.xml
@@ -1,206 +1,206 @@
-<?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" >
-
- <View
- android:id="@+id/audio_player_footer"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignTop="@android:id/progress" />
-
- <LinearLayout
- android:id="@+id/audio_player_header"
- android:layout_width="match_parent"
- android:layout_height="@dimen/audio_player_header_height"
- android:layout_alignParentTop="true"
- android:baselineAligned="false"
- android:orientation="horizontal" >
-
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- 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: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: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:clickable="true"
- 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>
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_above="@android:id/progress"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_below="@+id/audio_player_header" >
-
- <com.andrew.apollo.widgets.SquareImageView
- android:id="@+id/audio_player_album_art"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerHorizontal="true"
- android:scaleType="fitXY" />
-
- <View
- android:id="@+id/audio_player_footer_two"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_below="@+id/audio_player_album_art" />
-
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="@dimen/shadow_height"
- android:layout_alignTop="@+id/audio_player_album_art"
- android:contentDescription="@null"
- android:src="@drawable/top_shadow" />
-
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="@dimen/shadow_height"
- android:layout_alignBottom="@+id/audio_player_album_art"
- android:contentDescription="@null"
- android:src="@drawable/bottom_shadow" />
-
- <FrameLayout
- android:id="@+id/audio_player_pager_container"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignBottom="@+id/audio_player_album_art"
- 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="match_parent"
- android:layout_height="@dimen/shadow_height"
- android:layout_gravity="top"
- android:contentDescription="@null"
- android:src="@drawable/top_shadow" />
-
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="@dimen/shadow_height"
- android:layout_gravity="bottom"
- android:contentDescription="@null"
- android:src="@drawable/bottom_shadow" />
- </FrameLayout>
- </RelativeLayout>
-
- <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_alignParentLeft="true"
- android:layout_alignTop="@android:id/progress"
- 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:max="1000"
- android:thumb="@null" />
-
- <LinearLayout
- android:id="@+id/audio_player_controlss"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:baselineAligned="false"
- android:gravity="center" >
-
- <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" >
+
+ <View
+ android:id="@+id/audio_player_footer"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignTop="@android:id/progress" />
+
+ <LinearLayout
+ android:id="@+id/audio_player_header"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/audio_player_header_height"
+ android:layout_alignParentTop="true"
+ android:baselineAligned="false"
+ android:orientation="horizontal" >
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+ 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: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: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:clickable="true"
+ 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>
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@android:id/progress"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentRight="true"
+ android:layout_below="@+id/audio_player_header" >
+
+ <com.andrew.apollo.widgets.SquareImageView
+ android:id="@+id/audio_player_album_art"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_centerHorizontal="true"
+ android:scaleType="fitXY" />
+
+ <View
+ android:id="@+id/audio_player_footer_two"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_below="@+id/audio_player_album_art" />
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/shadow_height"
+ android:layout_alignTop="@+id/audio_player_album_art"
+ android:contentDescription="@null"
+ android:src="@drawable/top_shadow" />
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/shadow_height"
+ android:layout_alignBottom="@+id/audio_player_album_art"
+ android:contentDescription="@null"
+ android:src="@drawable/bottom_shadow" />
+
+ <FrameLayout
+ android:id="@+id/audio_player_pager_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignBottom="@+id/audio_player_album_art"
+ 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="match_parent"
+ android:layout_height="@dimen/shadow_height"
+ android:layout_gravity="top"
+ android:contentDescription="@null"
+ android:src="@drawable/top_shadow" />
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/shadow_height"
+ android:layout_gravity="bottom"
+ android:contentDescription="@null"
+ android:src="@drawable/bottom_shadow" />
+ </FrameLayout>
+ </RelativeLayout>
+
+ <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_alignParentLeft="true"
+ android:layout_alignTop="@android:id/progress"
+ 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:max="1000"
+ android:thumb="@null" />
+
+ <LinearLayout
+ android:id="@+id/audio_player_controlss"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentRight="true"
+ android:baselineAligned="false"
+ android:gravity="center" >
+
+ <include layout="@layout/audio_player_controls" />
+ </LinearLayout>
+ </RelativeLayout>
+
+ <include layout="@layout/colorstrip" />
+
</com.andrew.apollo.widgets.theme.ThemeableFrameLayout> \ No newline at end of file
diff --git a/res/layout/activity_profile_base.xml b/res/layout/activity_profile_base.xml
index fa8f654..7745769 100644
--- a/res/layout/activity_profile_base.xml
+++ b/res/layout/activity_profile_base.xml
@@ -1,53 +1,53 @@
-<?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"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
-
- <include
- android:id="@+id/shadow"
- layout="@layout/top_shadow" />
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="0dip"
- android:layout_weight="1" >
-
- <android.support.v4.view.ViewPager
- android:id="@+id/acivity_profile_base_pager"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true" />
-
- <include
- android:id="@+id/acivity_profile_base_tab_carousel"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- layout="@layout/profile_tab_carousel" />
- </RelativeLayout>
-
- <include layout="@layout/bottom_action_bar" />
- </LinearLayout>
-
+<?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"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <include
+ android:id="@+id/shadow"
+ layout="@layout/top_shadow" />
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1" >
+
+ <android.support.v4.view.ViewPager
+ android:id="@+id/acivity_profile_base_pager"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true" />
+
+ <include
+ android:id="@+id/acivity_profile_base_tab_carousel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ layout="@layout/profile_tab_carousel" />
+ </RelativeLayout>
+
+ <include layout="@layout/bottom_action_bar" />
+ </LinearLayout>
+
</com.andrew.apollo.widgets.theme.ThemeableFrameLayout> \ No newline at end of file
diff --git a/res/layout/app_widget_large.xml b/res/layout/app_widget_large.xml
index 7756d5f..3a23d5d 100644
--- a/res/layout/app_widget_large.xml
+++ b/res/layout/app_widget_large.xml
@@ -1,118 +1,118 @@
-<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="@dimen/app_widget_large_min_height"
- android:background="@drawable/appwidget_bg"
- tools:ignore="ContentDescription" >
-
- <ImageView
- android:id="@+id/app_widget_large_image"
- android:layout_width="@dimen/notification_expanded_height"
- android:layout_height="@dimen/notification_expanded_height"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:background="@drawable/default_artwork"
- android:scaleType="fitXY" />
-
- <LinearLayout
- android:id="@+id/app_widget_large_buttons"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentRight="true"
- android:layout_toRightOf="@+id/app_widget_large_image"
- android:divider="?android:listDivider"
- android:dividerPadding="@dimen/notification_expanded_buttons_divider_padding"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:showDividers="middle" >
-
- <ImageButton
- android:id="@+id/app_widget_large_previous"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@string/accessibility_prev"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_previous" />
-
- <ImageButton
- android:id="@+id/app_widget_large_play"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_pause" />
-
- <ImageButton
- android:id="@+id/app_widget_large_next"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@string/accessibility_next"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_next" />
- </LinearLayout>
-
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="1dp"
- android:layout_above="@+id/app_widget_large_buttons"
- android:layout_alignParentRight="true"
- android:layout_toRightOf="@+id/app_widget_large_image"
- android:background="?android:dividerHorizontal" />
-
- <LinearLayout
- android:id="@+id/app_widget_large_info_container"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_gravity="center_vertical"
- android:layout_toRightOf="@+id/app_widget_large_image"
- android:orientation="vertical"
- android:paddingLeft="@dimen/notification_info_container_padding_left"
- android:paddingTop="@dimen/notification_expanded_content_padding_top" >
-
- <TextView
- android:id="@+id/app_widget_large_line_one"
- style="@style/NotificationText"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/app_widget_large_line_two"
- style="@style/NotificationText"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small" />
-
- <TextView
- android:id="@+id/app_widget_large_line_three"
- style="@style/NotificationText"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small" />
- </LinearLayout>
-
+<?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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/app_widget_large_min_height"
+ android:background="@drawable/appwidget_bg"
+ tools:ignore="ContentDescription" >
+
+ <ImageView
+ android:id="@+id/app_widget_large_image"
+ android:layout_width="@dimen/notification_expanded_height"
+ android:layout_height="@dimen/notification_expanded_height"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:background="@drawable/default_artwork"
+ android:scaleType="fitXY" />
+
+ <LinearLayout
+ android:id="@+id/app_widget_large_buttons"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="true"
+ android:layout_toRightOf="@+id/app_widget_large_image"
+ android:divider="?android:listDivider"
+ android:dividerPadding="@dimen/notification_expanded_buttons_divider_padding"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:showDividers="middle" >
+
+ <ImageButton
+ android:id="@+id/app_widget_large_previous"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@string/accessibility_prev"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_previous" />
+
+ <ImageButton
+ android:id="@+id/app_widget_large_play"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_pause" />
+
+ <ImageButton
+ android:id="@+id/app_widget_large_next"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@string/accessibility_next"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_next" />
+ </LinearLayout>
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="1dp"
+ android:layout_above="@+id/app_widget_large_buttons"
+ android:layout_alignParentRight="true"
+ android:layout_toRightOf="@+id/app_widget_large_image"
+ android:background="?android:dividerHorizontal" />
+
+ <LinearLayout
+ android:id="@+id/app_widget_large_info_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_gravity="center_vertical"
+ android:layout_toRightOf="@+id/app_widget_large_image"
+ android:orientation="vertical"
+ android:paddingLeft="@dimen/notification_info_container_padding_left"
+ android:paddingTop="@dimen/notification_expanded_content_padding_top" >
+
+ <TextView
+ android:id="@+id/app_widget_large_line_one"
+ style="@style/NotificationText"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_medium"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/app_widget_large_line_two"
+ style="@style/NotificationText"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small" />
+
+ <TextView
+ android:id="@+id/app_widget_large_line_three"
+ style="@style/NotificationText"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small" />
+ </LinearLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/app_widget_large_alternate.xml b/res/layout/app_widget_large_alternate.xml
index 8f777dd..0f43347 100644
--- a/res/layout/app_widget_large_alternate.xml
+++ b/res/layout/app_widget_large_alternate.xml
@@ -1,138 +1,138 @@
-<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="@dimen/app_widget_large_min_height"
- android:background="@drawable/appwidget_bg"
- tools:ignore="ContentDescription" >
-
- <ImageView
- android:id="@+id/app_widget_large_alternate_image"
- android:layout_width="@dimen/app_widget_large_alternate_artwork_size"
- android:layout_height="@dimen/app_widget_large_alternate_artwork_size"
- android:layout_above="@+id/app_widget_large_alternate_buttons"
- android:layout_alignParentLeft="true"
- android:background="@drawable/default_artwork"
- android:scaleType="fitXY" />
-
- <LinearLayout
- android:id="@+id/app_widget_large_alternate_buttons"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:divider="?android:listDivider"
- android:dividerPadding="@dimen/notification_expanded_buttons_divider_padding"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:showDividers="middle" >
-
- <ImageButton
- android:id="@+id/app_widget_large_alternate_shuffle"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@string/accessibility_shuffle"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_shuffle" />
-
- <ImageButton
- android:id="@+id/app_widget_large_alternate_previous"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@string/accessibility_prev"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_previous" />
-
- <ImageButton
- android:id="@+id/app_widget_large_alternate_play"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_pause" />
-
- <ImageButton
- android:id="@+id/app_widget_large_alternate_next"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@string/accessibility_next"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_next" />
-
- <ImageButton
- android:id="@+id/app_widget_large_alternate_repeat"
- android:layout_width="0dp"
- android:layout_height="@dimen/notification_expanded_button_height"
- android:layout_weight="1"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@string/accessibility_repeat"
- android:padding="@dimen/notification_expanded_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_repeat" />
- </LinearLayout>
-
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="1dp"
- android:layout_above="@+id/app_widget_large_alternate_buttons"
- android:layout_alignParentRight="true"
- android:layout_toRightOf="@+id/app_widget_large_alternate_image"
- android:background="?android:dividerHorizontal" />
-
- <LinearLayout
- android:id="@+id/app_widget_large_alternate_info_container"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_gravity="center_vertical"
- android:layout_toRightOf="@+id/app_widget_large_alternate_image"
- android:orientation="vertical"
- android:paddingLeft="@dimen/notification_info_container_padding_left"
- android:paddingTop="@dimen/notification_expanded_content_padding_top" >
-
- <TextView
- android:id="@+id/app_widget_large_alternate_line_one"
- style="@style/NotificationText"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/app_widget_large_alternate_line_two"
- style="@style/NotificationText"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small" />
-
- <TextView
- android:id="@+id/app_widget_large_alternate_line_three"
- style="@style/NotificationText"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small" />
- </LinearLayout>
-
+<?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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/app_widget_large_min_height"
+ android:background="@drawable/appwidget_bg"
+ tools:ignore="ContentDescription" >
+
+ <ImageView
+ android:id="@+id/app_widget_large_alternate_image"
+ android:layout_width="@dimen/app_widget_large_alternate_artwork_size"
+ android:layout_height="@dimen/app_widget_large_alternate_artwork_size"
+ android:layout_above="@+id/app_widget_large_alternate_buttons"
+ android:layout_alignParentLeft="true"
+ android:background="@drawable/default_artwork"
+ android:scaleType="fitXY" />
+
+ <LinearLayout
+ android:id="@+id/app_widget_large_alternate_buttons"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:divider="?android:listDivider"
+ android:dividerPadding="@dimen/notification_expanded_buttons_divider_padding"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ android:showDividers="middle" >
+
+ <ImageButton
+ android:id="@+id/app_widget_large_alternate_shuffle"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@string/accessibility_shuffle"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_shuffle" />
+
+ <ImageButton
+ android:id="@+id/app_widget_large_alternate_previous"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@string/accessibility_prev"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_previous" />
+
+ <ImageButton
+ android:id="@+id/app_widget_large_alternate_play"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_pause" />
+
+ <ImageButton
+ android:id="@+id/app_widget_large_alternate_next"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@string/accessibility_next"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_next" />
+
+ <ImageButton
+ android:id="@+id/app_widget_large_alternate_repeat"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/notification_expanded_button_height"
+ android:layout_weight="1"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@string/accessibility_repeat"
+ android:padding="@dimen/notification_expanded_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_repeat" />
+ </LinearLayout>
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="1dp"
+ android:layout_above="@+id/app_widget_large_alternate_buttons"
+ android:layout_alignParentRight="true"
+ android:layout_toRightOf="@+id/app_widget_large_alternate_image"
+ android:background="?android:dividerHorizontal" />
+
+ <LinearLayout
+ android:id="@+id/app_widget_large_alternate_info_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_gravity="center_vertical"
+ android:layout_toRightOf="@+id/app_widget_large_alternate_image"
+ android:orientation="vertical"
+ android:paddingLeft="@dimen/notification_info_container_padding_left"
+ android:paddingTop="@dimen/notification_expanded_content_padding_top" >
+
+ <TextView
+ android:id="@+id/app_widget_large_alternate_line_one"
+ style="@style/NotificationText"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_medium"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/app_widget_large_alternate_line_two"
+ style="@style/NotificationText"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small" />
+
+ <TextView
+ android:id="@+id/app_widget_large_alternate_line_three"
+ style="@style/NotificationText"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small" />
+ </LinearLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/app_widget_recents.xml b/res/layout/app_widget_recents.xml
index 54ce198..44d3e45 100644
--- a/res/layout/app_widget_recents.xml
+++ b/res/layout/app_widget_recents.xml
@@ -1,106 +1,106 @@
-<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="0dp"
- android:background="@color/action_bar_color" >
-
- <RelativeLayout
- android:id="@+id/app_widget_recents_action_bar"
- android:layout_width="match_parent"
- android:layout_height="@dimen/app_widget_recents_action_bar_height" >
-
- <ImageView
- android:id="@+id/app_widget_recents_icon"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@string/app_name"
- android:padding="@dimen/app_widget_recents_action_bar_item_padding"
- android:scaleType="centerInside"
- android:src="@drawable/ic_launcher" />
-
- <TextView
- android:id="@+id/app_widget_recents_app_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_toRightOf="@+id/app_widget_recents_icon"
- android:text="@string/page_recent"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_medium" />
-
- <ImageButton
- android:id="@+id/app_widget_recents_previous"
- android:layout_width="@dimen/app_widget_recents_action_bar_height"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_toLeftOf="@+id/app_widget_recents_play"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@null"
- android:scaleType="center"
- android:src="@drawable/btn_playback_previous" />
-
- <ImageButton
- android:id="@+id/app_widget_recents_play"
- android:layout_width="@dimen/app_widget_recents_action_bar_height"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_toLeftOf="@+id/app_widget_recents_next"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@null"
- android:scaleType="center"
- android:src="@drawable/btn_playback_play" />
-
- <ImageButton
- android:id="@+id/app_widget_recents_next"
- android:layout_width="@dimen/app_widget_recents_action_bar_height"
- android:layout_height="match_parent"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:background="?android:selectableItemBackground"
- android:contentDescription="@null"
- android:scaleType="center"
- android:src="@drawable/btn_playback_next" />
- </RelativeLayout>
-
- <ImageView
- android:id="@+id/colorstrip"
- android:layout_width="match_parent"
- android:layout_height="@dimen/colorstrip_height"
- android:layout_below="@+id/app_widget_recents_action_bar"
- android:background="@color/holo_blue_light"
- android:contentDescription="@null" />
-
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/colorstrip"
- android:layout_centerVertical="true"
- android:background="@drawable/appwidget_bg" >
-
- <ListView
- android:id="@+id/app_widget_recents_list"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@null"
- android:cacheColorHint="@color/transparent" />
- </FrameLayout>
-
+<?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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_margin="0dp"
+ android:background="@color/action_bar_color" >
+
+ <RelativeLayout
+ android:id="@+id/app_widget_recents_action_bar"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/app_widget_recents_action_bar_height" >
+
+ <ImageView
+ android:id="@+id/app_widget_recents_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_centerVertical="true"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@string/app_name"
+ android:padding="@dimen/app_widget_recents_action_bar_item_padding"
+ android:scaleType="centerInside"
+ android:src="@drawable/ic_launcher" />
+
+ <TextView
+ android:id="@+id/app_widget_recents_app_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toRightOf="@+id/app_widget_recents_icon"
+ android:text="@string/page_recent"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_medium" />
+
+ <ImageButton
+ android:id="@+id/app_widget_recents_previous"
+ android:layout_width="@dimen/app_widget_recents_action_bar_height"
+ android:layout_height="match_parent"
+ android:layout_centerVertical="true"
+ android:layout_toLeftOf="@+id/app_widget_recents_play"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@null"
+ android:scaleType="center"
+ android:src="@drawable/btn_playback_previous" />
+
+ <ImageButton
+ android:id="@+id/app_widget_recents_play"
+ android:layout_width="@dimen/app_widget_recents_action_bar_height"
+ android:layout_height="match_parent"
+ android:layout_centerVertical="true"
+ android:layout_toLeftOf="@+id/app_widget_recents_next"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@null"
+ android:scaleType="center"
+ android:src="@drawable/btn_playback_play" />
+
+ <ImageButton
+ android:id="@+id/app_widget_recents_next"
+ android:layout_width="@dimen/app_widget_recents_action_bar_height"
+ android:layout_height="match_parent"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:background="?android:selectableItemBackground"
+ android:contentDescription="@null"
+ android:scaleType="center"
+ android:src="@drawable/btn_playback_next" />
+ </RelativeLayout>
+
+ <ImageView
+ android:id="@+id/colorstrip"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/colorstrip_height"
+ android:layout_below="@+id/app_widget_recents_action_bar"
+ android:background="@color/holo_blue_light"
+ android:contentDescription="@null" />
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/colorstrip"
+ android:layout_centerVertical="true"
+ android:background="@drawable/appwidget_bg" >
+
+ <ListView
+ android:id="@+id/app_widget_recents_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@null"
+ android:cacheColorHint="@color/transparent" />
+ </FrameLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/app_widget_recents_items.xml b/res/layout/app_widget_recents_items.xml
index 1568177..29d5fd9 100644
--- a/res/layout/app_widget_recents_items.xml
+++ b/res/layout/app_widget_recents_items.xml
@@ -1,61 +1,61 @@
-<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/app_widget_recents_items"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- tools:ignore="ContentDescription" >
-
- <ImageView
- android:id="@+id/app_widget_recents_base_image"
- android:layout_width="@dimen/item_normal_height"
- android:layout_height="@dimen/item_normal_height"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:scaleType="fitXY" />
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/item_normal_height"
- android:layout_gravity="center_vertical"
- android:layout_toRightOf="@+id/app_widget_recents_base_image"
- android:gravity="center_vertical"
- android:paddingLeft="@dimen/list_preferred_item_padding" >
-
- <TextView
- android:id="@+id/app_widget_recents_line_one"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:singleLine="true"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/app_widget_recents_line_two"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/app_widget_recents_line_one"
- android:layout_marginTop="@dimen/list_item_line_two_margin_top"
- android:singleLine="true"
- android:textSize="@dimen/text_size_small" />
- </RelativeLayout>
-
+<?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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/app_widget_recents_items"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ tools:ignore="ContentDescription" >
+
+ <ImageView
+ android:id="@+id/app_widget_recents_base_image"
+ android:layout_width="@dimen/item_normal_height"
+ android:layout_height="@dimen/item_normal_height"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:scaleType="fitXY" />
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/item_normal_height"
+ android:layout_gravity="center_vertical"
+ android:layout_toRightOf="@+id/app_widget_recents_base_image"
+ android:gravity="center_vertical"
+ android:paddingLeft="@dimen/list_preferred_item_padding" >
+
+ <TextView
+ android:id="@+id/app_widget_recents_line_one"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:singleLine="true"
+ android:textSize="@dimen/text_size_medium"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/app_widget_recents_line_two"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/app_widget_recents_line_one"
+ android:layout_marginTop="@dimen/list_item_line_two_margin_top"
+ android:singleLine="true"
+ android:textSize="@dimen/text_size_small" />
+ </RelativeLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/app_widget_small.xml b/res/layout/app_widget_small.xml
index 62eb356..6cdc7ba 100644
--- a/res/layout/app_widget_small.xml
+++ b/res/layout/app_widget_small.xml
@@ -1,151 +1,151 @@
-<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="top"
- android:background="@drawable/appwidget_bg"
- android:gravity="top"
- android:padding="@dimen/app_widget_padding"
- tools:ignore="NestedWeights" >
-
- <LinearLayout
- android:id="@+id/app_widget_small_buttons"
- android:layout_width="match_parent"
- android:layout_height="@dimen/app_widget_small_artwork_size"
- android:baselineAligned="false"
- android:focusable="true"
- android:orientation="horizontal" >
-
- <FrameLayout
- android:layout_width="@dimen/app_widget_small_artwork_size"
- android:layout_height="@dimen/app_widget_small_artwork_size"
- android:focusable="true" >
-
- <ImageView
- android:id="@+id/app_widget_small_image"
- android:layout_width="@dimen/app_widget_small_artwork_size"
- android:layout_height="@dimen/app_widget_small_artwork_size"
- android:background="@drawable/default_artwork"
- android:contentDescription="@null"
- android:scaleType="centerInside" />
- </FrameLayout>
-
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:focusable="true"
- android:gravity="center_horizontal"
- android:orientation="horizontal" >
-
- <ImageButton
- android:id="@+id/app_widget_small_previous"
- android:layout_width="0dp"
- android:layout_height="@dimen/app_widget_small_button_height"
- android:layout_weight="1"
- android:background="@null"
- android:contentDescription="@string/accessibility_prev"
- android:focusable="true"
- android:padding="@dimen/app_widget_small_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_previous" />
-
- <ImageButton
- android:id="@+id/app_widget_small_play"
- android:layout_width="0dp"
- android:layout_height="@dimen/app_widget_small_button_height"
- android:layout_weight="1"
- android:background="@null"
- android:contentDescription="@string/accessibility_play"
- android:focusable="true"
- android:padding="@dimen/app_widget_small_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_play" />
-
- <ImageButton
- android:id="@+id/app_widget_small_next"
- android:layout_width="0dp"
- android:layout_height="@dimen/app_widget_small_button_height"
- android:layout_weight="1"
- android:background="@null"
- android:contentDescription="@string/accessibility_next"
- android:focusable="true"
- android:padding="@dimen/app_widget_small_button_padding"
- android:scaleType="fitCenter"
- android:src="@drawable/btn_playback_next" />
- </LinearLayout>
- </LinearLayout>
-
- <LinearLayout
- android:id="@+id/app_widget_small_half_separator"
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_below="@+id/app_widget_small_buttons"
- android:background="@color/transparent_white" />
-
- <RelativeLayout
- android:id="@+id/app_widget_small_info_container"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_below="@+id/app_widget_small_half_separator"
- android:focusable="true"
- android:gravity="top"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/app_widget_small_info_container_padding_left"
- android:paddingRight="@dimen/app_widget_small_info_container_padding_right"
- android:paddingTop="@dimen/app_widget_small_info_container_padding_top" >
-
- <TextView
- android:id="@+id/app_widget_small_line_one"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ellipsize="none"
- android:singleLine="true"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_small"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/app_widget_small_text_separator"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@+id/app_widget_small_line_one"
- android:ellipsize="none"
- android:paddingLeft="5dp"
- android:paddingRight="5dp"
- android:singleLine="true"
- android:text="@string/app_widget_text_separator"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/app_widget_small_line_two"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@+id/app_widget_small_text_separator"
- android:ellipsize="marquee"
- android:singleLine="true"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small" />
- </RelativeLayout>
-
+<?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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="top"
+ android:background="@drawable/appwidget_bg"
+ android:gravity="top"
+ android:padding="@dimen/app_widget_padding"
+ tools:ignore="NestedWeights" >
+
+ <LinearLayout
+ android:id="@+id/app_widget_small_buttons"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/app_widget_small_artwork_size"
+ android:baselineAligned="false"
+ android:focusable="true"
+ android:orientation="horizontal" >
+
+ <FrameLayout
+ android:layout_width="@dimen/app_widget_small_artwork_size"
+ android:layout_height="@dimen/app_widget_small_artwork_size"
+ android:focusable="true" >
+
+ <ImageView
+ android:id="@+id/app_widget_small_image"
+ android:layout_width="@dimen/app_widget_small_artwork_size"
+ android:layout_height="@dimen/app_widget_small_artwork_size"
+ android:background="@drawable/default_artwork"
+ android:contentDescription="@null"
+ android:scaleType="centerInside" />
+ </FrameLayout>
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:layout_weight="1"
+ android:focusable="true"
+ android:gravity="center_horizontal"
+ android:orientation="horizontal" >
+
+ <ImageButton
+ android:id="@+id/app_widget_small_previous"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/app_widget_small_button_height"
+ android:layout_weight="1"
+ android:background="@null"
+ android:contentDescription="@string/accessibility_prev"
+ android:focusable="true"
+ android:padding="@dimen/app_widget_small_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_previous" />
+
+ <ImageButton
+ android:id="@+id/app_widget_small_play"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/app_widget_small_button_height"
+ android:layout_weight="1"
+ android:background="@null"
+ android:contentDescription="@string/accessibility_play"
+ android:focusable="true"
+ android:padding="@dimen/app_widget_small_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_play" />
+
+ <ImageButton
+ android:id="@+id/app_widget_small_next"
+ android:layout_width="0dp"
+ android:layout_height="@dimen/app_widget_small_button_height"
+ android:layout_weight="1"
+ android:background="@null"
+ android:contentDescription="@string/accessibility_next"
+ android:focusable="true"
+ android:padding="@dimen/app_widget_small_button_padding"
+ android:scaleType="fitCenter"
+ android:src="@drawable/btn_playback_next" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/app_widget_small_half_separator"
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:layout_below="@+id/app_widget_small_buttons"
+ android:background="@color/transparent_white" />
+
+ <RelativeLayout
+ android:id="@+id/app_widget_small_info_container"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@+id/app_widget_small_half_separator"
+ android:focusable="true"
+ android:gravity="top"
+ android:orientation="horizontal"
+ android:paddingLeft="@dimen/app_widget_small_info_container_padding_left"
+ android:paddingRight="@dimen/app_widget_small_info_container_padding_right"
+ android:paddingTop="@dimen/app_widget_small_info_container_padding_top" >
+
+ <TextView
+ android:id="@+id/app_widget_small_line_one"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:ellipsize="none"
+ android:singleLine="true"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_small"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/app_widget_small_text_separator"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@+id/app_widget_small_line_one"
+ android:ellipsize="none"
+ android:paddingLeft="5dp"
+ android:paddingRight="5dp"
+ android:singleLine="true"
+ android:text="@string/app_widget_text_separator"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/app_widget_small_line_two"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@+id/app_widget_small_text_separator"
+ android:ellipsize="marquee"
+ android:singleLine="true"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small" />
+ </RelativeLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/audio_player_controls.xml b/res/layout/audio_player_controls.xml
index 511aea9..21ce7f8 100644
--- a/res/layout/audio_player_controls.xml
+++ b/res/layout/audio_player_controls.xml
@@ -1,94 +1,94 @@
-<?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.
--->
-<merge xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" >
-
- <com.andrew.apollo.widgets.ShuffleButton
- android:id="@+id/action_button_shuffle"
- android:layout_width="@dimen/audio_player_controls_end_button_width"
- android:layout_height="@dimen/audio_player_controls_end_button_height"
- android:layout_gravity="center"
- android:contentDescription="@string/accessibility_shuffle"
- android:scaleType="centerInside"
- android:src="@drawable/btn_playback_shuffle" />
- </FrameLayout>
-
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" >
-
- <com.andrew.apollo.widgets.RepeatingImageButton
- android:id="@+id/action_button_previous"
- android:layout_width="@dimen/audio_player_controls_main_button_width"
- android:layout_height="@dimen/audio_player_controls_main_button_height"
- android:layout_gravity="center"
- android:scaleType="centerInside"
- android:src="@drawable/btn_playback_previous" />
- </FrameLayout>
-
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" >
-
- <com.andrew.apollo.widgets.PlayPauseButton
- android:id="@+id/action_button_play"
- android:layout_width="@dimen/audio_player_controls_main_button_width"
- android:layout_height="@dimen/audio_player_controls_main_button_height"
- android:layout_gravity="center"
- android:contentDescription="@string/accessibility_play"
- android:focusable="true"
- android:scaleType="centerInside"
- android:src="@drawable/btn_playback_play" />
- </FrameLayout>
-
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" >
-
- <com.andrew.apollo.widgets.RepeatingImageButton
- android:id="@+id/action_button_next"
- android:layout_width="@dimen/audio_player_controls_main_button_width"
- android:layout_height="@dimen/audio_player_controls_main_button_height"
- android:layout_gravity="center"
- android:scaleType="centerInside"
- android:src="@drawable/btn_playback_next" />
- </FrameLayout>
-
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1" >
-
- <com.andrew.apollo.widgets.RepeatButton
- android:id="@+id/action_button_repeat"
- android:layout_width="@dimen/audio_player_controls_end_button_width"
- android:layout_height="@dimen/audio_player_controls_end_button_height"
- android:layout_gravity="center"
- android:contentDescription="@string/accessibility_repeat"
- android:focusable="true"
- android:scaleType="centerInside"
- android:src="@drawable/btn_playback_repeat" />
- </FrameLayout>
-
+<?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.
+-->
+<merge xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <FrameLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" >
+
+ <com.andrew.apollo.widgets.ShuffleButton
+ android:id="@+id/action_button_shuffle"
+ android:layout_width="@dimen/audio_player_controls_end_button_width"
+ android:layout_height="@dimen/audio_player_controls_end_button_height"
+ android:layout_gravity="center"
+ android:contentDescription="@string/accessibility_shuffle"
+ android:scaleType="centerInside"
+ android:src="@drawable/btn_playback_shuffle" />
+ </FrameLayout>
+
+ <FrameLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" >
+
+ <com.andrew.apollo.widgets.RepeatingImageButton
+ android:id="@+id/action_button_previous"
+ android:layout_width="@dimen/audio_player_controls_main_button_width"
+ android:layout_height="@dimen/audio_player_controls_main_button_height"
+ android:layout_gravity="center"
+ android:scaleType="centerInside"
+ android:src="@drawable/btn_playback_previous" />
+ </FrameLayout>
+
+ <FrameLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" >
+
+ <com.andrew.apollo.widgets.PlayPauseButton
+ android:id="@+id/action_button_play"
+ android:layout_width="@dimen/audio_player_controls_main_button_width"
+ android:layout_height="@dimen/audio_player_controls_main_button_height"
+ android:layout_gravity="center"
+ android:contentDescription="@string/accessibility_play"
+ android:focusable="true"
+ android:scaleType="centerInside"
+ android:src="@drawable/btn_playback_play" />
+ </FrameLayout>
+
+ <FrameLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" >
+
+ <com.andrew.apollo.widgets.RepeatingImageButton
+ android:id="@+id/action_button_next"
+ android:layout_width="@dimen/audio_player_controls_main_button_width"
+ android:layout_height="@dimen/audio_player_controls_main_button_height"
+ android:layout_gravity="center"
+ android:scaleType="centerInside"
+ android:src="@drawable/btn_playback_next" />
+ </FrameLayout>
+
+ <FrameLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" >
+
+ <com.andrew.apollo.widgets.RepeatButton
+ android:id="@+id/action_button_repeat"
+ android:layout_width="@dimen/audio_player_controls_end_button_width"
+ android:layout_height="@dimen/audio_player_controls_end_button_height"
+ android:layout_gravity="center"
+ android:contentDescription="@string/accessibility_repeat"
+ android:focusable="true"
+ android:scaleType="centerInside"
+ android:src="@drawable/btn_playback_repeat" />
+ </FrameLayout>
+
</merge> \ No newline at end of file
diff --git a/res/layout/bottom_action_bar.xml b/res/layout/bottom_action_bar.xml
index 2bcb032..65ddb69 100644
--- a/res/layout/bottom_action_bar.xml
+++ b/res/layout/bottom_action_bar.xml
@@ -1,98 +1,98 @@
-<?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.BottomActionBar xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res/com.andrew.apollo"
- android:id="@+id/bottom_action_bar_parent"
- android:layout_width="match_parent"
- android:layout_height="@dimen/bottom_action_bar_height"
- android:layout_gravity="bottom"
- tools:ignore="ContentDescription" >
-
- <include
- android:id="@+id/colorstrip"
- layout="@layout/colorstrip" />
-
- <LinearLayout
- android:id="@+id/bottom_action_bar"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/colorstrip"
- android:clickable="true"
- android:orientation="horizontal" >
-
- <com.andrew.apollo.widgets.SquareImageView
- android:id="@+id/bottom_action_bar_album_art"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="left|center"
- android:background="@drawable/default_artwork" />
-
- <RelativeLayout
- android:id="@+id/bottom_action_bar_info_container"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:paddingLeft="@dimen/bottom_action_bar_info_padding_left" >
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/bottom_action_bar_line_one"
- style="@style/BottomActionBarLineOne"
- app:themeResource="bab_line_one" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/bottom_action_bar_line_two"
- style="@style/BottomActionBarLineTwo"
- android:layout_below="@+id/bottom_action_bar_line_one"
- app:themeResource="bab_line_two" />
- </RelativeLayout>
-
- <HorizontalScrollView
- android:layout_width="@dimen/bottom_action_bar_button_container_width"
- android:layout_height="match_parent"
- android:scrollbars="none" >
-
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:orientation="horizontal" >
-
- <com.andrew.apollo.widgets.RepeatingImageButton
- android:id="@+id/action_button_previous"
- style="@style/BottomActionBarItem.Previous" />
-
- <com.andrew.apollo.widgets.PlayPauseButton
- android:id="@+id/action_button_play"
- style="@style/BottomActionBarItem.Play" />
-
- <com.andrew.apollo.widgets.RepeatingImageButton
- android:id="@+id/action_button_next"
- style="@style/BottomActionBarItem.Next" />
-
- <com.andrew.apollo.widgets.ShuffleButton
- android:id="@+id/action_button_shuffle"
- style="@style/BottomActionBarItem.Shuffle" />
-
- <com.andrew.apollo.widgets.RepeatButton
- android:id="@+id/action_button_repeat"
- style="@style/BottomActionBarItem.Repeat" />
- </LinearLayout>
- </HorizontalScrollView>
- </LinearLayout>
-
+<?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.BottomActionBar xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res/com.andrew.apollo"
+ android:id="@+id/bottom_action_bar_parent"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/bottom_action_bar_height"
+ android:layout_gravity="bottom"
+ tools:ignore="ContentDescription" >
+
+ <include
+ android:id="@+id/colorstrip"
+ layout="@layout/colorstrip" />
+
+ <LinearLayout
+ android:id="@+id/bottom_action_bar"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/colorstrip"
+ android:clickable="true"
+ android:orientation="horizontal" >
+
+ <com.andrew.apollo.widgets.SquareImageView
+ android:id="@+id/bottom_action_bar_album_art"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="left|center"
+ android:background="@drawable/default_artwork" />
+
+ <RelativeLayout
+ android:id="@+id/bottom_action_bar_info_container"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+ android:paddingLeft="@dimen/bottom_action_bar_info_padding_left" >
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/bottom_action_bar_line_one"
+ style="@style/BottomActionBarLineOne"
+ app:themeResource="bab_line_one" />
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/bottom_action_bar_line_two"
+ style="@style/BottomActionBarLineTwo"
+ android:layout_below="@+id/bottom_action_bar_line_one"
+ app:themeResource="bab_line_two" />
+ </RelativeLayout>
+
+ <HorizontalScrollView
+ android:layout_width="@dimen/bottom_action_bar_button_container_width"
+ android:layout_height="match_parent"
+ android:scrollbars="none" >
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:orientation="horizontal" >
+
+ <com.andrew.apollo.widgets.RepeatingImageButton
+ android:id="@+id/action_button_previous"
+ style="@style/BottomActionBarItem.Previous" />
+
+ <com.andrew.apollo.widgets.PlayPauseButton
+ android:id="@+id/action_button_play"
+ style="@style/BottomActionBarItem.Play" />
+
+ <com.andrew.apollo.widgets.RepeatingImageButton
+ android:id="@+id/action_button_next"
+ style="@style/BottomActionBarItem.Next" />
+
+ <com.andrew.apollo.widgets.ShuffleButton
+ android:id="@+id/action_button_shuffle"
+ style="@style/BottomActionBarItem.Shuffle" />
+
+ <com.andrew.apollo.widgets.RepeatButton
+ android:id="@+id/action_button_repeat"
+ style="@style/BottomActionBarItem.Repeat" />
+ </LinearLayout>
+ </HorizontalScrollView>
+ </LinearLayout>
+
</com.andrew.apollo.widgets.theme.BottomActionBar> \ No newline at end of file
diff --git a/res/layout/color_scheme_dialog.xml b/res/layout/color_scheme_dialog.xml
index 49bcaf1..f56c37f 100644
--- a/res/layout/color_scheme_dialog.xml
+++ b/res/layout/color_scheme_dialog.xml
@@ -1,156 +1,156 @@
-<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="@dimen/color_scheme_dialog_row_padding" >
-
- <com.andrew.apollo.widgets.ColorPickerView
- android:id="@+id/color_picker_view"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
-
- <LinearLayout
- android:id="@+id/color_scheme_dialog_row_one"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/color_picker_view"
- android:layout_marginBottom="4dp"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/color_scheme_dialog_row_padding"
- android:paddingRight="@dimen/color_scheme_dialog_row_padding" >
-
- <Button
- android:id="@+id/color_scheme_dialog_preset_one"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@color/holo_blue_light" />
-
- <Button
- android:id="@+id/color_scheme_dialog_preset_two"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
- android:layout_weight="1"
- android:background="@color/holo_green_light" />
-
- <Button
- android:id="@+id/color_scheme_dialog_preset_three"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
- android:layout_weight="1"
- android:background="@color/holo_orange_dark" />
-
- <Button
- android:id="@+id/color_scheme_dialog_preset_four"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
- android:layout_weight="1"
- android:background="@color/holo_orange_light" />
-
- <Button
- android:id="@+id/color_scheme_dialog_old_color"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
- android:layout_weight="2"
- android:background="@color/holo_blue_light"
- android:text="@string/current_color"
- android:textSize="@dimen/text_size_micro"
- android:textStyle="bold" />
-
- <Button
- android:id="@+id/color_scheme_dialog_new_color"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:background="@color/transparent"
- android:text="@string/new_color"
- android:textSize="@dimen/text_size_micro"
- android:textStyle="bold" />
- </LinearLayout>
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/color_scheme_dialog_row_one"
- android:layout_marginBottom="4dp"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/color_scheme_dialog_row_padding"
- android:paddingRight="@dimen/color_scheme_dialog_row_padding" >
-
- <Button
- android:id="@+id/color_scheme_dialog_preset_five"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@color/holo_purple" />
-
- <Button
- android:id="@+id/color_scheme_dialog_preset_six"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
- android:layout_weight="1"
- android:background="@color/holo_red_light" />
-
- <Button
- android:id="@+id/color_scheme_dialog_preset_seven"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
- android:layout_weight="1"
- android:background="@color/white" />
-
- <Button
- android:id="@+id/color_scheme_dialog_preset_eight"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
- android:layout_weight="1"
- android:background="@color/black" />
-
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
- android:layout_weight="4"
- android:gravity="center"
- android:orientation="horizontal" >
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/hex" />
-
- <EditText
- android:id="@+id/color_scheme_dialog_hex_value"
- android:layout_width="110dp"
- android:layout_height="wrap_content"
- android:digits="0123456789ABCDEFabcdef"
- android:imeOptions="actionGo"
- android:inputType="textFilter"
- android:maxLength="8"
- android:singleLine="true"
- android:typeface="monospace" />
- </LinearLayout>
- </LinearLayout>
-
+<?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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="@dimen/color_scheme_dialog_row_padding" >
+
+ <com.andrew.apollo.widgets.ColorPickerView
+ android:id="@+id/color_picker_view"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+
+ <LinearLayout
+ android:id="@+id/color_scheme_dialog_row_one"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/color_picker_view"
+ android:layout_marginBottom="4dp"
+ android:orientation="horizontal"
+ android:paddingLeft="@dimen/color_scheme_dialog_row_padding"
+ android:paddingRight="@dimen/color_scheme_dialog_row_padding" >
+
+ <Button
+ android:id="@+id/color_scheme_dialog_preset_one"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@color/holo_blue_light" />
+
+ <Button
+ android:id="@+id/color_scheme_dialog_preset_two"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
+ android:layout_weight="1"
+ android:background="@color/holo_green_light" />
+
+ <Button
+ android:id="@+id/color_scheme_dialog_preset_three"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
+ android:layout_weight="1"
+ android:background="@color/holo_orange_dark" />
+
+ <Button
+ android:id="@+id/color_scheme_dialog_preset_four"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
+ android:layout_weight="1"
+ android:background="@color/holo_orange_light" />
+
+ <Button
+ android:id="@+id/color_scheme_dialog_old_color"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
+ android:layout_weight="2"
+ android:background="@color/holo_blue_light"
+ android:text="@string/current_color"
+ android:textSize="@dimen/text_size_micro"
+ android:textStyle="bold" />
+
+ <Button
+ android:id="@+id/color_scheme_dialog_new_color"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="2"
+ android:background="@color/transparent"
+ android:text="@string/new_color"
+ android:textSize="@dimen/text_size_micro"
+ android:textStyle="bold" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/color_scheme_dialog_row_one"
+ android:layout_marginBottom="4dp"
+ android:orientation="horizontal"
+ android:paddingLeft="@dimen/color_scheme_dialog_row_padding"
+ android:paddingRight="@dimen/color_scheme_dialog_row_padding" >
+
+ <Button
+ android:id="@+id/color_scheme_dialog_preset_five"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@color/holo_purple" />
+
+ <Button
+ android:id="@+id/color_scheme_dialog_preset_six"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
+ android:layout_weight="1"
+ android:background="@color/holo_red_light" />
+
+ <Button
+ android:id="@+id/color_scheme_dialog_preset_seven"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
+ android:layout_weight="1"
+ android:background="@color/white" />
+
+ <Button
+ android:id="@+id/color_scheme_dialog_preset_eight"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
+ android:layout_weight="1"
+ android:background="@color/black" />
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/color_scheme_dialog_row_padding"
+ android:layout_weight="4"
+ android:gravity="center"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/hex" />
+
+ <EditText
+ android:id="@+id/color_scheme_dialog_hex_value"
+ android:layout_width="110dp"
+ android:layout_height="wrap_content"
+ android:digits="0123456789ABCDEFabcdef"
+ android:imeOptions="actionGo"
+ android:inputType="textFilter"
+ android:maxLength="8"
+ android:singleLine="true"
+ android:typeface="monospace" />
+ </LinearLayout>
+ </LinearLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/colorstrip.xml b/res/layout/colorstrip.xml
index 4c13b7a..09659e7 100644
--- a/res/layout/colorstrip.xml
+++ b/res/layout/colorstrip.xml
@@ -1,20 +1,20 @@
-<?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
+<?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.Colorstrip xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/colorstrip"
- android:layout_width="match_parent"
+-->
+<com.andrew.apollo.widgets.theme.Colorstrip xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/colorstrip"
+ android:layout_width="match_parent"
android:layout_height="@dimen/colorstrip_height"/> \ No newline at end of file
diff --git a/res/layout/edit_track_list_item.xml b/res/layout/edit_track_list_item.xml
index 1d388d4..3d93e9b 100644
--- a/res/layout/edit_track_list_item.xml
+++ b/res/layout/edit_track_list_item.xml
@@ -1,39 +1,39 @@
-<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/edit_track_list_parent"
- android:layout_width="match_parent"
- android:layout_height="@dimen/item_normal_height" >
-
- <ImageView
- android:id="@+id/edit_track_list_item_handle"
- android:layout_width="@dimen/drag_and_drop_handle"
- android:layout_height="wrap_content"
- android:scaleType="fitXY"
- android:src="@drawable/playlist_tile_normal" />
-
- <FrameLayout
- android:id="@+id/edit_track_list_container"
- android:layout_width="match_parent"
- android:layout_height="@dimen/item_normal_height"
- android:layout_toRightOf="@+id/edit_track_list_item_handle"
- android:gravity="center_vertical" >
-
- <include layout="@layout/list_item_simple" />
- </FrameLayout>
-
+<?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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/edit_track_list_parent"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/item_normal_height" >
+
+ <ImageView
+ android:id="@+id/edit_track_list_item_handle"
+ android:layout_width="@dimen/drag_and_drop_handle"
+ android:layout_height="wrap_content"
+ android:scaleType="fitXY"
+ android:src="@drawable/playlist_tile_normal" />
+
+ <FrameLayout
+ android:id="@+id/edit_track_list_container"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/item_normal_height"
+ android:layout_toRightOf="@+id/edit_track_list_item_handle"
+ android:gravity="center_vertical" >
+
+ <include layout="@layout/list_item_simple" />
+ </FrameLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/faux_carousel.xml b/res/layout/faux_carousel.xml
index e8e7564..cbdc6f0 100644
--- a/res/layout/faux_carousel.xml
+++ b/res/layout/faux_carousel.xml
@@ -1,24 +1,24 @@
-<?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="wrap_content" >
-
- <include
- layout="@layout/profile_tab_carousel"
- android:visibility="invisible" />
-
+<?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="wrap_content" >
+
+ <include
+ layout="@layout/profile_tab_carousel"
+ android:visibility="invisible" />
+
</FrameLayout> \ No newline at end of file
diff --git a/res/layout/fragment_themes_base.xml b/res/layout/fragment_themes_base.xml
index 521cce5..d9b9584 100644
--- a/res/layout/fragment_themes_base.xml
+++ b/res/layout/fragment_themes_base.xml
@@ -1,47 +1,47 @@
-<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="@dimen/grid_item_spacing" >
-
- <ImageView
- android:id="@+id/image"
- android:layout_width="match_parent"
- android:layout_height="155.0dip"
- android:scaleType="centerCrop"
- tools:ignore="ContentDescription" />
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_below="@+id/image" >
-
- <TextView
- android:id="@+id/line_one"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:background="@color/transparent_black"
- android:gravity="center"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_dayum" />
- </RelativeLayout>
-
+<?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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="@dimen/grid_item_spacing" >
+
+ <ImageView
+ android:id="@+id/image"
+ android:layout_width="match_parent"
+ android:layout_height="155.0dip"
+ android:scaleType="centerCrop"
+ tools:ignore="ContentDescription" />
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_below="@+id/image" >
+
+ <TextView
+ android:id="@+id/line_one"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+ android:background="@color/transparent_black"
+ android:gravity="center"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_dayum" />
+ </RelativeLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/grid_base.xml b/res/layout/grid_base.xml
index 6437b36..255e562 100644
--- a/res/layout/grid_base.xml
+++ b/res/layout/grid_base.xml
@@ -1,46 +1,46 @@
-<?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:id="@+id/grid_base_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="@dimen/list_preferred_item_padding" >
-
- <TextView
- android:id="@+id/empty"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical|center"
- android:textColor="@color/holo_blue_light"
- android:textSize="@dimen/text_size_large"
- android:textStyle="bold"
- android:visibility="gone" />
-
- <GridView
- android:id="@+id/grid_base"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:cacheColorHint="@color/transparent"
- android:drawSelectorOnTop="true"
- android:fadingEdge="vertical"
- android:fastScrollEnabled="true"
- android:horizontalSpacing="@dimen/grid_item_spacing"
- android:scrollbarStyle="outsideOverlay"
- android:scrollbars="vertical"
- android:verticalSpacing="@dimen/grid_item_spacing" />
-
+<?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:id="@+id/grid_base_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="@dimen/list_preferred_item_padding" >
+
+ <TextView
+ android:id="@+id/empty"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical|center"
+ android:textColor="@color/holo_blue_light"
+ android:textSize="@dimen/text_size_large"
+ android:textStyle="bold"
+ android:visibility="gone" />
+
+ <GridView
+ android:id="@+id/grid_base"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:cacheColorHint="@color/transparent"
+ android:drawSelectorOnTop="true"
+ android:fadingEdge="vertical"
+ android:fastScrollEnabled="true"
+ android:horizontalSpacing="@dimen/grid_item_spacing"
+ android:scrollbarStyle="outsideOverlay"
+ android:scrollbars="vertical"
+ android:verticalSpacing="@dimen/grid_item_spacing" />
+
</FrameLayout> \ No newline at end of file
diff --git a/res/layout/grid_items_normal.xml b/res/layout/grid_items_normal.xml
index 290a8b0..dda83d0 100644
--- a/res/layout/grid_items_normal.xml
+++ b/res/layout/grid_items_normal.xml
@@ -1,55 +1,55 @@
-<?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.
--->
-<RelativeLayout 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"
- android:gravity="center_vertical" >
-
- <include layout="@layout/square_image_view" />
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/item_normal_height"
- android:layout_alignParentBottom="true"
- android:background="@color/transparent_black"
- android:gravity="center_vertical"
- android:paddingLeft="@dimen/grid_item_padding_left" >
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_one"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:maxLines="2"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold"
- app:themeResource="@null" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_two"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/line_one"
- android:singleLine="true"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small"
- app:themeResource="@null" />
- </RelativeLayout>
-
+<?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.
+-->
+<RelativeLayout 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"
+ android:gravity="center_vertical" >
+
+ <include layout="@layout/square_image_view" />
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/item_normal_height"
+ android:layout_alignParentBottom="true"
+ android:background="@color/transparent_black"
+ android:gravity="center_vertical"
+ android:paddingLeft="@dimen/grid_item_padding_left" >
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_one"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:maxLines="2"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_medium"
+ android:textStyle="bold"
+ app:themeResource="@null" />
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_two"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/line_one"
+ android:singleLine="true"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small"
+ app:themeResource="@null" />
+ </RelativeLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/list_base.xml b/res/layout/list_base.xml
index 0bd7cc6..63ef3fc 100644
--- a/res/layout/list_base.xml
+++ b/res/layout/list_base.xml
@@ -1,47 +1,47 @@
-<?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:id="@+id/list_base_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingBottom="@dimen/list_preferred_item_padding"
- android:paddingTop="@dimen/list_preferred_item_padding" >
-
- <TextView
- android:id="@+id/empty"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical|center"
- android:padding="@dimen/list_preferred_item_padding"
- android:textColor="@color/holo_blue_light"
- android:textSize="@dimen/text_size_large"
- android:textStyle="bold"
- android:visibility="gone" />
-
- <com.andrew.apollo.dragdrop.DragSortListView
- android:id="@+id/list_base"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:cacheColorHint="@color/transparent"
- android:drawSelectorOnTop="false"
- android:fadingEdge="vertical"
- android:fastScrollAlwaysVisible="true"
- android:fastScrollEnabled="true"
- android:paddingLeft="@dimen/fast_scroll_padding_left"
- android:paddingRight="@dimen/fast_scroll_padding_right" />
-
+<?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:id="@+id/list_base_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="@dimen/list_preferred_item_padding"
+ android:paddingTop="@dimen/list_preferred_item_padding" >
+
+ <TextView
+ android:id="@+id/empty"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical|center"
+ android:padding="@dimen/list_preferred_item_padding"
+ android:textColor="@color/holo_blue_light"
+ android:textSize="@dimen/text_size_large"
+ android:textStyle="bold"
+ android:visibility="gone" />
+
+ <com.andrew.apollo.dragdrop.DragSortListView
+ android:id="@+id/list_base"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:cacheColorHint="@color/transparent"
+ android:drawSelectorOnTop="false"
+ android:fadingEdge="vertical"
+ android:fastScrollAlwaysVisible="true"
+ android:fastScrollEnabled="true"
+ android:paddingLeft="@dimen/fast_scroll_padding_left"
+ android:paddingRight="@dimen/fast_scroll_padding_right" />
+
</FrameLayout> \ No newline at end of file
diff --git a/res/layout/list_header.xml b/res/layout/list_header.xml
index b8522eb..3742e37 100644
--- a/res/layout/list_header.xml
+++ b/res/layout/list_header.xml
@@ -1,25 +1,25 @@
-<?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.
--->
-<TextView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="32.0dip"
- android:background="@null"
- android:gravity="center_vertical"
- android:paddingLeft="10.0dip"
- android:textAllCaps="true"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_medium" />
+<?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.
+-->
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="32.0dip"
+ android:background="@null"
+ android:gravity="center_vertical"
+ android:paddingLeft="10.0dip"
+ android:textAllCaps="true"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_medium" />
diff --git a/res/layout/list_item_detailed.xml b/res/layout/list_item_detailed.xml
index 6af42f5..594d834 100644
--- a/res/layout/list_item_detailed.xml
+++ b/res/layout/list_item_detailed.xml
@@ -1,78 +1,78 @@
-<?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.
--->
-<RelativeLayout 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"
- android:gravity="center_vertical" >
-
- <com.andrew.apollo.widgets.LayoutSuppressingImageView
- android:id="@+id/list_item_background"
- android:layout_width="match_parent"
- android:layout_height="@dimen/list_item_detailed_height"
- android:scaleType="centerCrop" />
-
- <com.andrew.apollo.widgets.LayoutSuppressingImageView
- android:id="@+id/image"
- android:layout_width="@dimen/list_item_detailed_height"
- android:layout_height="@dimen/list_item_detailed_height"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:scaleType="centerCrop" />
-
- <RelativeLayout
- android:id="@+id/image_background"
- android:layout_width="match_parent"
- android:layout_height="@dimen/list_item_detailed_height"
- android:layout_toRightOf="@+id/image"
- android:background="@color/list_item_background"
- android:padding="@dimen/list_preferred_item_padding" >
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_one"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:maxLines="2"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold"
- app:themeResource="@null" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_two"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/line_one"
- android:layout_marginTop="@dimen/list_item_line_two_margin_top"
- android:maxLines="2"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small"
- app:themeResource="@null" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_three"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:singleLine="true"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small"
- app:themeResource="@null" />
- </RelativeLayout>
-
+<?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.
+-->
+<RelativeLayout 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"
+ android:gravity="center_vertical" >
+
+ <com.andrew.apollo.widgets.LayoutSuppressingImageView
+ android:id="@+id/list_item_background"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/list_item_detailed_height"
+ android:scaleType="centerCrop" />
+
+ <com.andrew.apollo.widgets.LayoutSuppressingImageView
+ android:id="@+id/image"
+ android:layout_width="@dimen/list_item_detailed_height"
+ android:layout_height="@dimen/list_item_detailed_height"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:scaleType="centerCrop" />
+
+ <RelativeLayout
+ android:id="@+id/image_background"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/list_item_detailed_height"
+ android:layout_toRightOf="@+id/image"
+ android:background="@color/list_item_background"
+ android:padding="@dimen/list_preferred_item_padding" >
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_one"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:maxLines="2"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_medium"
+ android:textStyle="bold"
+ app:themeResource="@null" />
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_two"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/line_one"
+ android:layout_marginTop="@dimen/list_item_line_two_margin_top"
+ android:maxLines="2"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small"
+ app:themeResource="@null" />
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_three"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:singleLine="true"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small"
+ app:themeResource="@null" />
+ </RelativeLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/list_item_detailed_no_background.xml b/res/layout/list_item_detailed_no_background.xml
index b0c9f56..2cc99d7 100644
--- a/res/layout/list_item_detailed_no_background.xml
+++ b/res/layout/list_item_detailed_no_background.xml
@@ -1,77 +1,77 @@
-<?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. -->
-<RelativeLayout 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"
- android:gravity="center_vertical" >
-
- <com.andrew.apollo.widgets.LayoutSuppressingImageView
- android:id="@+id/list_item_background"
- android:layout_width="match_parent"
- android:layout_height="@dimen/list_item_detailed_height"
- android:scaleType="centerCrop" />
-
- <com.andrew.apollo.widgets.LayoutSuppressingImageView
- android:id="@+id/image"
- android:layout_width="@dimen/list_item_detailed_height"
- android:layout_height="@dimen/list_item_detailed_height"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:scaleType="centerCrop" />
-
- <RelativeLayout
- android:id="@+id/image_background"
- android:layout_width="match_parent"
- android:layout_height="@dimen/list_item_detailed_height"
- android:layout_toRightOf="@+id/image"
- android:background="@color/list_item_background"
- android:padding="@dimen/list_preferred_item_padding" >
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_one"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:maxLines="2"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold"
- app:themeResource="line_one" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_two"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/line_one"
- android:layout_marginTop="@dimen/list_item_line_two_margin_top"
- android:maxLines="2"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small"
- app:themeResource="line_two" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_three"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:singleLine="true"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small"
- app:themeResource="line_three" />
- </RelativeLayout>
-
+<?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. -->
+<RelativeLayout 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"
+ android:gravity="center_vertical" >
+
+ <com.andrew.apollo.widgets.LayoutSuppressingImageView
+ android:id="@+id/list_item_background"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/list_item_detailed_height"
+ android:scaleType="centerCrop" />
+
+ <com.andrew.apollo.widgets.LayoutSuppressingImageView
+ android:id="@+id/image"
+ android:layout_width="@dimen/list_item_detailed_height"
+ android:layout_height="@dimen/list_item_detailed_height"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:scaleType="centerCrop" />
+
+ <RelativeLayout
+ android:id="@+id/image_background"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/list_item_detailed_height"
+ android:layout_toRightOf="@+id/image"
+ android:background="@color/list_item_background"
+ android:padding="@dimen/list_preferred_item_padding" >
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_one"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:maxLines="2"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_medium"
+ android:textStyle="bold"
+ app:themeResource="line_one" />
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_two"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/line_one"
+ android:layout_marginTop="@dimen/list_item_line_two_margin_top"
+ android:maxLines="2"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small"
+ app:themeResource="line_two" />
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_three"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:singleLine="true"
+ android:textColor="@color/transparent_white"
+ android:textSize="@dimen/text_size_small"
+ app:themeResource="line_three" />
+ </RelativeLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/list_item_normal.xml b/res/layout/list_item_normal.xml
index 615ab5d..f7f125c 100644
--- a/res/layout/list_item_normal.xml
+++ b/res/layout/list_item_normal.xml
@@ -1,64 +1,64 @@
-<?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.
--->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res/com.andrew.apollo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- tools:ignore="ContentDescription" >
-
- <com.andrew.apollo.widgets.SquareImageView
- android:id="@+id/image"
- android:layout_width="@dimen/item_normal_height"
- android:layout_height="@dimen/item_normal_height"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:scaleType="fitXY" />
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/item_normal_height"
- android:layout_toRightOf="@+id/image"
- android:gravity="center_vertical"
- android:minHeight="@dimen/item_normal_height"
- android:paddingLeft="@dimen/list_preferred_item_padding"
- android:paddingRight="@dimen/list_preferred_item_padding" >
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_one"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:singleLine="true"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold"
- app:themeResource="line_one" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_two"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/line_one"
- android:layout_marginTop="@dimen/list_item_line_two_margin_top"
- android:singleLine="true"
- android:textSize="@dimen/text_size_small"
- app:themeResource="line_two" />
- </RelativeLayout>
-
+<?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.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res/com.andrew.apollo"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ tools:ignore="ContentDescription" >
+
+ <com.andrew.apollo.widgets.SquareImageView
+ android:id="@+id/image"
+ android:layout_width="@dimen/item_normal_height"
+ android:layout_height="@dimen/item_normal_height"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:scaleType="fitXY" />
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/item_normal_height"
+ android:layout_toRightOf="@+id/image"
+ android:gravity="center_vertical"
+ android:minHeight="@dimen/item_normal_height"
+ android:paddingLeft="@dimen/list_preferred_item_padding"
+ android:paddingRight="@dimen/list_preferred_item_padding" >
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_one"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:singleLine="true"
+ android:textSize="@dimen/text_size_medium"
+ android:textStyle="bold"
+ app:themeResource="line_one" />
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_two"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/line_one"
+ android:layout_marginTop="@dimen/list_item_line_two_margin_top"
+ android:singleLine="true"
+ android:textSize="@dimen/text_size_small"
+ app:themeResource="line_two" />
+ </RelativeLayout>
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/list_item_simple.xml b/res/layout/list_item_simple.xml
index 3cbc3ed..cc887f1 100644
--- a/res/layout/list_item_simple.xml
+++ b/res/layout/list_item_simple.xml
@@ -1,55 +1,55 @@
-<?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.
--->
-<RelativeLayout 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="@dimen/item_normal_height"
- android:gravity="center_vertical"
- android:minHeight="@dimen/item_normal_height"
- android:paddingLeft="@dimen/list_preferred_item_padding"
- android:paddingRight="@dimen/list_preferred_item_padding" >
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_one"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:singleLine="true"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold"
- app:themeResource="line_one" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_two"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/line_one"
- android:layout_marginTop="@dimen/list_item_line_two_margin_top"
- android:singleLine="true"
- android:textSize="@dimen/text_size_small"
- app:themeResource="line_two" />
-
- <com.andrew.apollo.widgets.theme.ThemeableTextView
- android:id="@+id/line_three"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:singleLine="true"
- android:textSize="@dimen/text_size_small"
- app:themeResource="line_three" />
-
+<?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.
+-->
+<RelativeLayout 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="@dimen/item_normal_height"
+ android:gravity="center_vertical"
+ android:minHeight="@dimen/item_normal_height"
+ android:paddingLeft="@dimen/list_preferred_item_padding"
+ android:paddingRight="@dimen/list_preferred_item_padding" >
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_one"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:singleLine="true"
+ android:textSize="@dimen/text_size_medium"
+ android:textStyle="bold"
+ app:themeResource="line_one" />
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_two"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/line_one"
+ android:layout_marginTop="@dimen/list_item_line_two_margin_top"
+ android:singleLine="true"
+ android:textSize="@dimen/text_size_small"
+ app:themeResource="line_two" />
+
+ <com.andrew.apollo.widgets.theme.ThemeableTextView
+ android:id="@+id/line_three"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:singleLine="true"
+ android:textSize="@dimen/text_size_small"
+ app:themeResource="line_three" />
+
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/notification_template_base.xml b/res/layout/notification_template_base.xml
index b4d9e1c..5af6514 100644
--- a/res/layout/notification_template_base.xml
+++ b/res/layout/notification_template_base.xml
@@ -1,70 +1,70 @@
-<?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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/notification_base"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- tools:ignore="ContentDescription" >
-
- <ImageView
- android:id="@+id/notification_base_image"
- android:layout_width="@dimen/notification_big_icon_width"
- android:layout_height="@dimen/notification_big_icon_height"
- android:background="@drawable/default_artwork"
- android:gravity="center" />
-
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_weight="1"
- android:orientation="vertical"
- android:paddingLeft="@dimen/notification_info_container_padding_left"
- android:paddingBottom="@dimen/notification_info_container_padding_bottom" >
-
- <TextView
- android:id="@+id/notification_base_line_one"
- style="@style/NotificationText"
- android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title" />
-
- <TextView
- android:id="@+id/notification_base_line_two"
- style="@style/NotificationText"
- android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" />
-
- </LinearLayout>
-
- <ImageButton
- android:id="@+id/notification_base_previous"
- style="@style/NotificationAction.Previous" />
-
- <ImageButton
- android:id="@+id/notification_base_play"
- style="@style/NotificationAction.Play" />
-
- <ImageButton
- android:id="@+id/notification_base_next"
- style="@style/NotificationAction.Next" />
-
- <ImageButton
- android:id="@+id/notification_base_collapse"
- style="@style/NotificationAction.Collapse" />
-
+<?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.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/notification_base"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ tools:ignore="ContentDescription" >
+
+ <ImageView
+ android:id="@+id/notification_base_image"
+ android:layout_width="@dimen/notification_big_icon_width"
+ android:layout_height="@dimen/notification_big_icon_height"
+ android:background="@drawable/default_artwork"
+ android:gravity="center" />
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="1"
+ android:orientation="vertical"
+ android:paddingLeft="@dimen/notification_info_container_padding_left"
+ android:paddingBottom="@dimen/notification_info_container_padding_bottom" >
+
+ <TextView
+ android:id="@+id/notification_base_line_one"
+ style="@style/NotificationText"
+ android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title" />
+
+ <TextView
+ android:id="@+id/notification_base_line_two"
+ style="@style/NotificationText"
+ android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" />
+
+ </LinearLayout>
+
+ <ImageButton
+ android:id="@+id/notification_base_previous"
+ style="@style/NotificationAction.Previous" />
+
+ <ImageButton
+ android:id="@+id/notification_base_play"
+ style="@style/NotificationAction.Play" />
+
+ <ImageButton
+ android:id="@+id/notification_base_next"
+ style="@style/NotificationAction.Next" />
+
+ <ImageButton
+ android:id="@+id/notification_base_collapse"
+ style="@style/NotificationAction.Collapse" />
+
</LinearLayout> \ No newline at end of file
diff --git a/res/layout/profile_tab.xml b/res/layout/profile_tab.xml
index 27693ba..51b48e1 100644
--- a/res/layout/profile_tab.xml
+++ b/res/layout/profile_tab.xml
@@ -1,90 +1,90 @@
-<?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.
--->
-<view xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="0dip"
- android:layout_height="match_parent"
- android:layout_weight="1"
- class="com.andrew.apollo.widgets.CarouselTab" >
-
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <com.andrew.apollo.widgets.LayoutSuppressingImageView
- android:id="@+id/profile_tab_photo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:contentDescription="@null"
- android:scaleType="centerCrop" />
-
- <com.andrew.apollo.widgets.SquareImageView
- android:id="@+id/profile_tab_album_art"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:contentDescription="@null"
- android:scaleType="fitXY"
- android:visibility="gone" />
-
- <View
- android:id="@+id/profile_tab_photo_overlay"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true" />
-
- <View
- android:id="@+id/profile_tab_label_background"
- android:layout_width="match_parent"
- android:layout_height="@dimen/profile_carousel_label_height"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:background="@color/transparent_black" />
-
- <com.andrew.apollo.widgets.theme.Colorstrip
- android:id="@+id/profile_tab_colorstrip"
- android:layout_width="match_parent"
- android:layout_height="@dimen/profile_indicator_height"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true" />
-
- <View
- android:id="@+id/profile_tab_alpha_overlay"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:layout_marginBottom="@dimen/profile_carousel_label_height" />
-
- <TextView
- android:id="@+id/profile_tab_label"
- android:layout_width="match_parent"
- android:layout_height="@dimen/profile_carousel_label_height"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:gravity="left|center_vertical"
- android:paddingLeft="@dimen/profile_label_padding"
- android:paddingRight="@dimen/profile_label_padding"
- android:singleLine="true"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_large" />
- </RelativeLayout>
-
+<?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.
+-->
+<view xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ class="com.andrew.apollo.widgets.CarouselTab" >
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <com.andrew.apollo.widgets.LayoutSuppressingImageView
+ android:id="@+id/profile_tab_photo"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:contentDescription="@null"
+ android:scaleType="centerCrop" />
+
+ <com.andrew.apollo.widgets.SquareImageView
+ android:id="@+id/profile_tab_album_art"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:contentDescription="@null"
+ android:scaleType="fitXY"
+ android:visibility="gone" />
+
+ <View
+ android:id="@+id/profile_tab_photo_overlay"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true" />
+
+ <View
+ android:id="@+id/profile_tab_label_background"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/profile_carousel_label_height"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:background="@color/transparent_black" />
+
+ <com.andrew.apollo.widgets.theme.Colorstrip
+ android:id="@+id/profile_tab_colorstrip"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/profile_indicator_height"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true" />
+
+ <View
+ android:id="@+id/profile_tab_alpha_overlay"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:layout_marginBottom="@dimen/profile_carousel_label_height" />
+
+ <TextView
+ android:id="@+id/profile_tab_label"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/profile_carousel_label_height"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:gravity="left|center_vertical"
+ android:paddingLeft="@dimen/profile_label_padding"
+ android:paddingRight="@dimen/profile_label_padding"
+ android:singleLine="true"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_large" />
+ </RelativeLayout>
+
</view> \ No newline at end of file
diff --git a/res/layout/profile_tab_carousel.xml b/res/layout/profile_tab_carousel.xml
index 18c5580..f01c71e 100644
--- a/res/layout/profile_tab_carousel.xml
+++ b/res/layout/profile_tab_carousel.xml
@@ -1,55 +1,55 @@
-<?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.
--->
-<view xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/profile_tab_carousel"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- class="com.andrew.apollo.widgets.ProfileTabCarousel"
- android:fadingEdge="none"
- android:scrollbars="none" >
-
- <LinearLayout
- android:id="@+id/profile_tab_carousel_tab_and_shadow_container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
-
- <LinearLayout
- android:id="@+id/profile_tab_carousel_tab_container"
- android:layout_width="match_parent"
- android:layout_height="0dip"
- android:layout_weight="1"
- android:baselineAligned="false"
- android:orientation="horizontal" >
-
- <include
- android:id="@+id/profile_tab_carousel_tab_one"
- layout="@layout/profile_tab" />
-
- <include
- android:id="@+id/profile_tab_carousel_tab_two"
- layout="@layout/profile_tab" />
- </LinearLayout>
-
- <View
- android:id="@+id/profile_tab_carousel_shadow"
- android:layout_width="match_parent"
- android:layout_height="@dimen/profile_photo_shadow_height"
- android:background="?android:attr/windowContentOverlay" />
- </LinearLayout>
-
+<?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.
+-->
+<view xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/profile_tab_carousel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ class="com.andrew.apollo.widgets.ProfileTabCarousel"
+ android:fadingEdge="none"
+ android:scrollbars="none" >
+
+ <LinearLayout
+ android:id="@+id/profile_tab_carousel_tab_and_shadow_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/profile_tab_carousel_tab_container"
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:baselineAligned="false"
+ android:orientation="horizontal" >
+
+ <include
+ android:id="@+id/profile_tab_carousel_tab_one"
+ layout="@layout/profile_tab" />
+
+ <include
+ android:id="@+id/profile_tab_carousel_tab_two"
+ layout="@layout/profile_tab" />
+ </LinearLayout>
+
+ <View
+ android:id="@+id/profile_tab_carousel_shadow"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/profile_photo_shadow_height"
+ android:background="?android:attr/windowContentOverlay" />
+ </LinearLayout>
+
</view> \ No newline at end of file
diff --git a/res/layout/square_image_view.xml b/res/layout/square_image_view.xml
index ea958b5..94913f7 100644
--- a/res/layout/square_image_view.xml
+++ b/res/layout/square_image_view.xml
@@ -1,28 +1,28 @@
-<?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
+<?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.SquareView xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/square_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
-
- <com.andrew.apollo.widgets.SquareImageView
- android:id="@+id/image"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scaleType="centerCrop" />
-
+-->
+<com.andrew.apollo.widgets.SquareView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/square_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <com.andrew.apollo.widgets.SquareImageView
+ android:id="@+id/image"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:scaleType="centerCrop" />
+
</com.andrew.apollo.widgets.SquareView> \ No newline at end of file
diff --git a/res/layout/top_shadow.xml b/res/layout/top_shadow.xml
index f37f41b..ca819a9 100644
--- a/res/layout/top_shadow.xml
+++ b/res/layout/top_shadow.xml
@@ -1,19 +1,19 @@
-<?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. -->
-<View xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="@dimen/shadow_height"
- android:background="@drawable/top_shadow" />
+<?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. -->
+<View xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/shadow_height"
+ android:background="@drawable/top_shadow" />
diff --git a/res/menu/add_to_homescreen.xml b/res/menu/add_to_homescreen.xml
index b1a2de2..0581360 100644
--- a/res/menu/add_to_homescreen.xml
+++ b/res/menu/add_to_homescreen.xml
@@ -1,26 +1,26 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_add_to_homescreen"
- android:icon="@drawable/ic_action_pinn_to_home"
- android:orderInCategory="2"
- android:showAsAction="ifRoom"
- android:title="@string/menu_add_to_homescreen"/>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_add_to_homescreen"
+ android:icon="@drawable/ic_action_pinn_to_home"
+ android:orderInCategory="2"
+ android:showAsAction="ifRoom"
+ android:title="@string/menu_add_to_homescreen"/>
+
</menu> \ No newline at end of file
diff --git a/res/menu/album_song_sort_by.xml b/res/menu/album_song_sort_by.xml
index 9300f86..d608700 100644
--- a/res/menu/album_song_sort_by.xml
+++ b/res/menu/album_song_sort_by.xml
@@ -1,39 +1,39 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_sort_by"
- android:showAsAction="never"
- android:title="@string/menu_sort_by">
- <menu>
- <item
- android:id="@+id/menu_sort_by_az"
- android:title="@string/sort_order_entry_az"/>
- <item
- android:id="@+id/menu_sort_by_za"
- android:title="@string/sort_order_entry_za"/>
- <item
- android:id="@+id/menu_sort_by_duration"
- android:title="@string/sort_order_entry_duration"/>
- <item
- android:id="@+id/menu_sort_by_track_list"
- android:title="@string/sort_order_entry_track_list"/>
- </menu>
- </item>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_sort_by"
+ android:showAsAction="never"
+ android:title="@string/menu_sort_by">
+ <menu>
+ <item
+ android:id="@+id/menu_sort_by_az"
+ android:title="@string/sort_order_entry_az"/>
+ <item
+ android:id="@+id/menu_sort_by_za"
+ android:title="@string/sort_order_entry_za"/>
+ <item
+ android:id="@+id/menu_sort_by_duration"
+ android:title="@string/sort_order_entry_duration"/>
+ <item
+ android:id="@+id/menu_sort_by_track_list"
+ android:title="@string/sort_order_entry_track_list"/>
+ </menu>
+ </item>
+
</menu> \ No newline at end of file
diff --git a/res/menu/album_sort_by.xml b/res/menu/album_sort_by.xml
index dd4bef9..034a280 100644
--- a/res/menu/album_sort_by.xml
+++ b/res/menu/album_sort_by.xml
@@ -1,42 +1,42 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_sort_by"
- android:showAsAction="never"
- android:title="@string/menu_sort_by">
- <menu>
- <item
- android:id="@+id/menu_sort_by_az"
- android:title="@string/sort_order_entry_az"/>
- <item
- android:id="@+id/menu_sort_by_za"
- android:title="@string/sort_order_entry_za"/>
- <item
- android:id="@+id/menu_sort_by_year"
- android:title="@string/sort_order_entry_year"/>
- <item
- android:id="@+id/menu_sort_by_artist"
- android:title="@string/sort_order_entry_artist"/>
- <item
- android:id="@+id/menu_sort_by_number_of_songs"
- android:title="@string/sort_order_entry_number_of_songs"/>
- </menu>
- </item>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_sort_by"
+ android:showAsAction="never"
+ android:title="@string/menu_sort_by">
+ <menu>
+ <item
+ android:id="@+id/menu_sort_by_az"
+ android:title="@string/sort_order_entry_az"/>
+ <item
+ android:id="@+id/menu_sort_by_za"
+ android:title="@string/sort_order_entry_za"/>
+ <item
+ android:id="@+id/menu_sort_by_year"
+ android:title="@string/sort_order_entry_year"/>
+ <item
+ android:id="@+id/menu_sort_by_artist"
+ android:title="@string/sort_order_entry_artist"/>
+ <item
+ android:id="@+id/menu_sort_by_number_of_songs"
+ android:title="@string/sort_order_entry_number_of_songs"/>
+ </menu>
+ </item>
+
</menu> \ No newline at end of file
diff --git a/res/menu/artist_album_sort_by.xml b/res/menu/artist_album_sort_by.xml
index 9be6ed8..420a8e8 100644
--- a/res/menu/artist_album_sort_by.xml
+++ b/res/menu/artist_album_sort_by.xml
@@ -1,39 +1,39 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_sort_by"
- android:showAsAction="never"
- android:title="@string/menu_sort_by">
- <menu>
- <item
- android:id="@+id/menu_sort_by_az"
- android:title="@string/sort_order_entry_az"/>
- <item
- android:id="@+id/menu_sort_by_za"
- android:title="@string/sort_order_entry_za"/>
- <item
- android:id="@+id/menu_sort_by_year"
- android:title="@string/sort_order_entry_year"/>
- <item
- android:id="@+id/menu_sort_by_number_of_songs"
- android:title="@string/sort_order_entry_number_of_songs"/>
- </menu>
- </item>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_sort_by"
+ android:showAsAction="never"
+ android:title="@string/menu_sort_by">
+ <menu>
+ <item
+ android:id="@+id/menu_sort_by_az"
+ android:title="@string/sort_order_entry_az"/>
+ <item
+ android:id="@+id/menu_sort_by_za"
+ android:title="@string/sort_order_entry_za"/>
+ <item
+ android:id="@+id/menu_sort_by_year"
+ android:title="@string/sort_order_entry_year"/>
+ <item
+ android:id="@+id/menu_sort_by_number_of_songs"
+ android:title="@string/sort_order_entry_number_of_songs"/>
+ </menu>
+ </item>
+
</menu> \ No newline at end of file
diff --git a/res/menu/artist_song_sort_by.xml b/res/menu/artist_song_sort_by.xml
index 67d1a35..cea183a 100644
--- a/res/menu/artist_song_sort_by.xml
+++ b/res/menu/artist_song_sort_by.xml
@@ -1,44 +1,44 @@
-<?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. -->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_sort_by"
- android:showAsAction="never"
- android:title="@string/menu_sort_by">
- <menu>
- <item
- android:id="@+id/menu_sort_by_az"
- android:title="@string/sort_order_entry_az"/>
- <item
- android:id="@+id/menu_sort_by_za"
- android:title="@string/sort_order_entry_za"/>
- <item
- android:id="@+id/menu_sort_by_year"
- android:title="@string/sort_order_entry_year"/>
- <item
- android:id="@+id/menu_sort_by_album"
- android:title="@string/sort_order_entry_album"/>
- <item
- android:id="@+id/menu_sort_by_duration"
- android:title="@string/sort_order_entry_duration"/>
- <item
- android:id="@+id/menu_sort_by_date_added"
- android:title="@string/sort_order_entry_date_added"/>
- </menu>
- </item>
-
+<?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. -->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_sort_by"
+ android:showAsAction="never"
+ android:title="@string/menu_sort_by">
+ <menu>
+ <item
+ android:id="@+id/menu_sort_by_az"
+ android:title="@string/sort_order_entry_az"/>
+ <item
+ android:id="@+id/menu_sort_by_za"
+ android:title="@string/sort_order_entry_za"/>
+ <item
+ android:id="@+id/menu_sort_by_year"
+ android:title="@string/sort_order_entry_year"/>
+ <item
+ android:id="@+id/menu_sort_by_album"
+ android:title="@string/sort_order_entry_album"/>
+ <item
+ android:id="@+id/menu_sort_by_duration"
+ android:title="@string/sort_order_entry_duration"/>
+ <item
+ android:id="@+id/menu_sort_by_date_added"
+ android:title="@string/sort_order_entry_date_added"/>
+ </menu>
+ </item>
+
</menu> \ No newline at end of file
diff --git a/res/menu/artist_sort_by.xml b/res/menu/artist_sort_by.xml
index d87923c..b2125a2 100644
--- a/res/menu/artist_sort_by.xml
+++ b/res/menu/artist_sort_by.xml
@@ -1,39 +1,39 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_sort_by"
- android:showAsAction="never"
- android:title="@string/menu_sort_by">
- <menu>
- <item
- android:id="@+id/menu_sort_by_az"
- android:title="@string/sort_order_entry_az"/>
- <item
- android:id="@+id/menu_sort_by_za"
- android:title="@string/sort_order_entry_za"/>
- <item
- android:id="@+id/menu_sort_by_number_of_songs"
- android:title="@string/sort_order_entry_number_of_songs"/>
- <item
- android:id="@+id/menu_sort_by_number_of_albums"
- android:title="@string/sort_order_entry_number_of_albums"/>
- </menu>
- </item>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_sort_by"
+ android:showAsAction="never"
+ android:title="@string/menu_sort_by">
+ <menu>
+ <item
+ android:id="@+id/menu_sort_by_az"
+ android:title="@string/sort_order_entry_az"/>
+ <item
+ android:id="@+id/menu_sort_by_za"
+ android:title="@string/sort_order_entry_za"/>
+ <item
+ android:id="@+id/menu_sort_by_number_of_songs"
+ android:title="@string/sort_order_entry_number_of_songs"/>
+ <item
+ android:id="@+id/menu_sort_by_number_of_albums"
+ android:title="@string/sort_order_entry_number_of_albums"/>
+ </menu>
+ </item>
+
</menu> \ No newline at end of file
diff --git a/res/menu/audio_player.xml b/res/menu/audio_player.xml
index 74af706..ba8c715 100644
--- a/res/menu/audio_player.xml
+++ b/res/menu/audio_player.xml
@@ -1,32 +1,32 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_audio_player_share"
- android:showAsAction="never"
- android:title="@string/menu_share"/>
- <item
- android:id="@+id/menu_audio_player_equalizer"
- android:showAsAction="never"
- android:title="@string/menu_equalizer"/>
- <item
- android:id="@+id/menu_audio_player_ringtone"
- android:showAsAction="never"
- android:title="@string/context_menu_use_as_ringtone"/>
-
-</menu>
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_audio_player_share"
+ android:showAsAction="never"
+ android:title="@string/menu_share"/>
+ <item
+ android:id="@+id/menu_audio_player_equalizer"
+ android:showAsAction="never"
+ android:title="@string/menu_equalizer"/>
+ <item
+ android:id="@+id/menu_audio_player_ringtone"
+ android:showAsAction="never"
+ android:title="@string/context_menu_use_as_ringtone"/>
+
+</menu>
diff --git a/res/menu/favorite.xml b/res/menu/favorite.xml
index baff20f..ce64f2e 100644
--- a/res/menu/favorite.xml
+++ b/res/menu/favorite.xml
@@ -1,26 +1,26 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_favorite"
- android:icon="@drawable/ic_action_favorite"
- android:orderInCategory="2"
- android:showAsAction="ifRoom"
- android:title="@string/add_to_favorites"/>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_favorite"
+ android:icon="@drawable/ic_action_favorite"
+ android:orderInCategory="2"
+ android:showAsAction="ifRoom"
+ android:title="@string/add_to_favorites"/>
+
</menu> \ No newline at end of file
diff --git a/res/menu/queue.xml b/res/menu/queue.xml
index 4836493..31cf641 100644
--- a/res/menu/queue.xml
+++ b/res/menu/queue.xml
@@ -1,27 +1,27 @@
-<?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. -->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_save_queue"
- android:showAsAction="never"
- android:title="@string/menu_save_queue"/>
- <item
- android:id="@+id/menu_clear_queue"
- android:showAsAction="never"
- android:title="@string/menu_clear_queue"/>
-
+<?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. -->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_save_queue"
+ android:showAsAction="never"
+ android:title="@string/menu_save_queue"/>
+ <item
+ android:id="@+id/menu_clear_queue"
+ android:showAsAction="never"
+ android:title="@string/menu_clear_queue"/>
+
</menu> \ No newline at end of file
diff --git a/res/menu/search.xml b/res/menu/search.xml
index c3ac382..f3c6b1c 100644
--- a/res/menu/search.xml
+++ b/res/menu/search.xml
@@ -1,27 +1,27 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_search"
- android:actionViewClass="android.widget.SearchView"
- android:icon="@drawable/ic_action_search"
- android:orderInCategory="1"
- android:showAsAction="ifRoom|collapseActionView"
- android:title="@string/menu_search"/>
-
-</menu>
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_search"
+ android:actionViewClass="android.widget.SearchView"
+ android:icon="@drawable/ic_action_search"
+ android:orderInCategory="1"
+ android:showAsAction="ifRoom|collapseActionView"
+ android:title="@string/menu_search"/>
+
+</menu>
diff --git a/res/menu/shuffle.xml b/res/menu/shuffle.xml
index cef5f75..525666f 100644
--- a/res/menu/shuffle.xml
+++ b/res/menu/shuffle.xml
@@ -1,24 +1,24 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_shuffle"
- android:showAsAction="never"
- android:title="@string/menu_shuffle"/>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_shuffle"
+ android:showAsAction="never"
+ android:title="@string/menu_shuffle"/>
+
</menu> \ No newline at end of file
diff --git a/res/menu/song_sort_by.xml b/res/menu/song_sort_by.xml
index 32ba679..d66ba1b 100644
--- a/res/menu/song_sort_by.xml
+++ b/res/menu/song_sort_by.xml
@@ -1,45 +1,45 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_sort_by"
- android:showAsAction="never"
- android:title="@string/menu_sort_by">
- <menu>
- <item
- android:id="@+id/menu_sort_by_az"
- android:title="@string/sort_order_entry_az"/>
- <item
- android:id="@+id/menu_sort_by_za"
- android:title="@string/sort_order_entry_za"/>
- <item
- android:id="@+id/menu_sort_by_year"
- android:title="@string/sort_order_entry_year"/>
- <item
- android:id="@+id/menu_sort_by_artist"
- android:title="@string/sort_order_entry_artist"/>
- <item
- android:id="@+id/menu_sort_by_album"
- android:title="@string/sort_order_entry_album"/>
- <item
- android:id="@+id/menu_sort_by_duration"
- android:title="@string/sort_order_entry_duration"/>
- </menu>
- </item>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_sort_by"
+ android:showAsAction="never"
+ android:title="@string/menu_sort_by">
+ <menu>
+ <item
+ android:id="@+id/menu_sort_by_az"
+ android:title="@string/sort_order_entry_az"/>
+ <item
+ android:id="@+id/menu_sort_by_za"
+ android:title="@string/sort_order_entry_za"/>
+ <item
+ android:id="@+id/menu_sort_by_year"
+ android:title="@string/sort_order_entry_year"/>
+ <item
+ android:id="@+id/menu_sort_by_artist"
+ android:title="@string/sort_order_entry_artist"/>
+ <item
+ android:id="@+id/menu_sort_by_album"
+ android:title="@string/sort_order_entry_album"/>
+ <item
+ android:id="@+id/menu_sort_by_duration"
+ android:title="@string/sort_order_entry_duration"/>
+ </menu>
+ </item>
+
</menu> \ No newline at end of file
diff --git a/res/menu/theme_shop.xml b/res/menu/theme_shop.xml
index 998a77c..726fb55 100644
--- a/res/menu/theme_shop.xml
+++ b/res/menu/theme_shop.xml
@@ -1,25 +1,25 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_shop"
- android:icon="@drawable/ic_action_shop"
- android:showAsAction="always"
- android:title="@string/menu_shop"/>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_shop"
+ android:icon="@drawable/ic_action_shop"
+ android:showAsAction="always"
+ android:title="@string/menu_shop"/>
+
</menu> \ No newline at end of file
diff --git a/res/menu/view_as.xml b/res/menu/view_as.xml
index 0d24860..021e0da 100644
--- a/res/menu/view_as.xml
+++ b/res/menu/view_as.xml
@@ -1,36 +1,36 @@
-<?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.
--->
-<menu xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <item
- android:id="@+id/menu_view_as"
- android:showAsAction="never"
- android:title="@string/menu_view_as">
- <menu>
- <item
- android:id="@+id/menu_view_as_simple"
- android:title="@string/menu_simple"/>
- <item
- android:id="@+id/menu_view_as_detailed"
- android:title="@string/menu_detailed"/>
- <item
- android:id="@+id/menu_view_as_grid"
- android:title="@string/menu_grid"/>
- </menu>
- </item>
-
+<?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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <item
+ android:id="@+id/menu_view_as"
+ android:showAsAction="never"
+ android:title="@string/menu_view_as">
+ <menu>
+ <item
+ android:id="@+id/menu_view_as_simple"
+ android:title="@string/menu_simple"/>
+ <item
+ android:id="@+id/menu_view_as_detailed"
+ android:title="@string/menu_detailed"/>
+ <item
+ android:id="@+id/menu_view_as_grid"
+ android:title="@string/menu_grid"/>
+ </menu>
+ </item>
+
</menu> \ No newline at end of file
diff --git a/res/values-sw600dp/dimens.xml b/res/values-sw600dp/dimens.xml
index 843d9f3..4b3153e 100644
--- a/res/values-sw600dp/dimens.xml
+++ b/res/values-sw600dp/dimens.xml
@@ -1,22 +1,22 @@
-<?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.
--->
-<resources>
-
- <!-- List item detailed height -->
- <dimen name="list_item_detailed_height">164.0dip</dimen>
-
+<?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.
+-->
+<resources>
+
+ <!-- List item detailed height -->
+ <dimen name="list_item_detailed_height">164.0dip</dimen>
+
</resources> \ No newline at end of file
diff --git a/res/xml/app_widget_large.xml b/res/xml/app_widget_large.xml
index 4061634..d4d2979 100644
--- a/res/xml/app_widget_large.xml
+++ b/res/xml/app_widget_large.xml
@@ -1,23 +1,23 @@
-<?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.
--->
-<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
- android:initialLayout="@layout/app_widget_large"
- android:minHeight="@dimen/app_widget_large_min_height"
- android:minWidth="@dimen/app_widget_large_min_width"
- android:previewImage="@drawable/app_widget_large"
- android:updatePeriodMillis="0"
- android:widgetCategory="keyguard|home_screen" />
+<?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.
+-->
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+ android:initialLayout="@layout/app_widget_large"
+ android:minHeight="@dimen/app_widget_large_min_height"
+ android:minWidth="@dimen/app_widget_large_min_width"
+ android:previewImage="@drawable/app_widget_large"
+ android:updatePeriodMillis="0"
+ android:widgetCategory="keyguard|home_screen" />
diff --git a/res/xml/app_widget_large_alternate.xml b/res/xml/app_widget_large_alternate.xml
index 5b80b2c..8e4c182 100644
--- a/res/xml/app_widget_large_alternate.xml
+++ b/res/xml/app_widget_large_alternate.xml
@@ -1,23 +1,23 @@
-<?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.
--->
-<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
- android:initialLayout="@layout/app_widget_large_alternate"
- android:minHeight="@dimen/app_widget_large_min_height"
- android:minWidth="@dimen/app_widget_large_min_width"
- android:previewImage="@drawable/app_widget_large_alternate"
- android:updatePeriodMillis="0"
- android:widgetCategory="keyguard|home_screen" />
+<?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.
+-->
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+ android:initialLayout="@layout/app_widget_large_alternate"
+ android:minHeight="@dimen/app_widget_large_min_height"
+ android:minWidth="@dimen/app_widget_large_min_width"
+ android:previewImage="@drawable/app_widget_large_alternate"
+ android:updatePeriodMillis="0"
+ android:widgetCategory="keyguard|home_screen" />
diff --git a/res/xml/app_widget_recents.xml b/res/xml/app_widget_recents.xml
index 700b6d2..f3be48f 100644
--- a/res/xml/app_widget_recents.xml
+++ b/res/xml/app_widget_recents.xml
@@ -1,26 +1,26 @@
-<?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.
--->
-<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
- android:initialLayout="@layout/app_widget_recents"
- android:minHeight="@dimen/app_widget_scrollable_min_height"
- android:minResizeHeight="@dimen/app_widget_scrollable_min_resize_height"
- android:minResizeWidth="@dimen/app_widget_large_min_width"
- android:minWidth="@dimen/app_widget_large_min_width"
- android:previewImage="@drawable/app_widget_recents"
- android:resizeMode="vertical|horizontal"
- android:updatePeriodMillis="0"
- android:widgetCategory="keyguard|home_screen" />
+<?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.
+-->
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+ android:initialLayout="@layout/app_widget_recents"
+ android:minHeight="@dimen/app_widget_scrollable_min_height"
+ android:minResizeHeight="@dimen/app_widget_scrollable_min_resize_height"
+ android:minResizeWidth="@dimen/app_widget_large_min_width"
+ android:minWidth="@dimen/app_widget_large_min_width"
+ android:previewImage="@drawable/app_widget_recents"
+ android:resizeMode="vertical|horizontal"
+ android:updatePeriodMillis="0"
+ android:widgetCategory="keyguard|home_screen" />
diff --git a/res/xml/app_widget_small.xml b/res/xml/app_widget_small.xml
index 4bcee5e..a6fbd31 100644
--- a/res/xml/app_widget_small.xml
+++ b/res/xml/app_widget_small.xml
@@ -1,23 +1,23 @@
-<?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.
--->
-<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
- android:initialLayout="@layout/app_widget_small"
- android:minHeight="@dimen/app_widget_small_min_height"
- android:minWidth="@dimen/app_widget_small_min_width"
- android:previewImage="@drawable/app_widget_small"
- android:updatePeriodMillis="0"
- android:widgetCategory="keyguard|home_screen" />
+<?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.
+-->
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+ android:initialLayout="@layout/app_widget_small"
+ android:minHeight="@dimen/app_widget_small_min_height"
+ android:minWidth="@dimen/app_widget_small_min_width"
+ android:previewImage="@drawable/app_widget_small"
+ android:updatePeriodMillis="0"
+ android:widgetCategory="keyguard|home_screen" />
diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml
index ce451fb..1069f29 100644
--- a/res/xml/searchable.xml
+++ b/res/xml/searchable.xml
@@ -1,25 +1,25 @@
-<?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.
--->
-<searchable xmlns:android="http://schemas.android.com/apk/res/android"
- android:imeOptions="actionSearch"
- android:label="@string/menu_search"
- android:searchSuggestIntentAction="android.intent.action.SEARCH"
- android:searchSuggestSelection=" ? "
- android:searchSuggestThreshold="2"
- android:voiceSearchMode="showVoiceSearchButton|launchRecognizer" >
-
+<?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.
+-->
+<searchable xmlns:android="http://schemas.android.com/apk/res/android"
+ android:imeOptions="actionSearch"
+ android:label="@string/menu_search"
+ android:searchSuggestIntentAction="android.intent.action.SEARCH"
+ android:searchSuggestSelection=" ? "
+ android:searchSuggestThreshold="2"
+ android:voiceSearchMode="showVoiceSearchButton|launchRecognizer" >
+
</searchable> \ No newline at end of file
diff --git a/res/xml/settings.xml b/res/xml/settings.xml
index 2ad14a8..492e936 100644
--- a/res/xml/settings.xml
+++ b/res/xml/settings.xml
@@ -1,89 +1,89 @@
-<?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.
--->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
-
- <!-- UI catetgory -->
- <PreferenceCategory android:title="@string/settings_ui_category" >
-
- <!-- Color scheme -->
- <Preference
- android:key="color_scheme"
- android:summary="@string/settings_color_scheme_summary"
- android:title="@string/settings_color_scheme_title" />
- <!-- Theme chooser -->
- <Preference
- android:key="theme_chooser"
- android:title="@string/settings_theme_chooser_title" />
- <!-- Enable lockscreen controls -->
- <CheckBoxPreference
- android:defaultValue="true"
- android:key="lockscreen_controls"
- android:title="@string/settings_use_lockscreen_controls" />
- </PreferenceCategory>
- <!-- Data catetory -->
- <PreferenceCategory android:title="@string/settings_data_category" >
-
- <!-- Only on Wi-Fi -->
- <CheckBoxPreference
- android:defaultValue="true"
- android:key="only_on_wifi"
- android:summary="@string/settings_download_only_on_wifi_summary"
- android:title="@string/settings_download_only_on_wifi_title" />
- <!-- Missing artwork -->
- <CheckBoxPreference
- android:defaultValue="true"
- android:key="album_images"
- android:title="@string/settings_download_missing_artwork_title" />
- <!-- Missing artist images -->
- <CheckBoxPreference
- android:defaultValue="true"
- android:key="artist_images"
- android:title="@string/settings_download_artist_images_title" />
- </PreferenceCategory>
- <!-- Storage catetory -->
- <PreferenceCategory android:title="@string/settings_storage_category" >
-
- <!-- Delete cache -->
- <Preference
- android:key="delete_cache"
- android:summary="@string/settings_delete_cache_summary"
- android:title="@string/settings_delete_cache_title" />
- </PreferenceCategory>
- <!-- About -->
- <PreferenceCategory android:title="@string/settings_about_category" >
- <PreferenceScreen android:title="@string/settings_about_apollo" >
- <PreferenceCategory android:title="@string/settings_about_category" >
- <Preference
- android:summary="@string/settings_self_title"
- android:title="@string/settings_author_title" />
- <Preference
- android:key="version"
- android:title="@string/settings_version_title" />
- <Preference
- android:key="open_source"
- android:title="@string/settings_open_source_licenses" />
- </PreferenceCategory>
- <PreferenceCategory android:title="@string/settings_special_thanks" >
- <Preference
- android:summary="@string/settings_lopez_summary"
- android:title="@string/settings_lopez_title" />
- <Preference android:title="@string/settings_cyanogenmod_title" />
- </PreferenceCategory>
- </PreferenceScreen>
- </PreferenceCategory>
-
+<?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.
+-->
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <!-- UI catetgory -->
+ <PreferenceCategory android:title="@string/settings_ui_category" >
+
+ <!-- Color scheme -->
+ <Preference
+ android:key="color_scheme"
+ android:summary="@string/settings_color_scheme_summary"
+ android:title="@string/settings_color_scheme_title" />
+ <!-- Theme chooser -->
+ <Preference
+ android:key="theme_chooser"
+ android:title="@string/settings_theme_chooser_title" />
+ <!-- Enable lockscreen controls -->
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="lockscreen_controls"
+ android:title="@string/settings_use_lockscreen_controls" />
+ </PreferenceCategory>
+ <!-- Data catetory -->
+ <PreferenceCategory android:title="@string/settings_data_category" >
+
+ <!-- Only on Wi-Fi -->
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="only_on_wifi"
+ android:summary="@string/settings_download_only_on_wifi_summary"
+ android:title="@string/settings_download_only_on_wifi_title" />
+ <!-- Missing artwork -->
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="album_images"
+ android:title="@string/settings_download_missing_artwork_title" />
+ <!-- Missing artist images -->
+ <CheckBoxPreference
+ android:defaultValue="true"
+ android:key="artist_images"
+ android:title="@string/settings_download_artist_images_title" />
+ </PreferenceCategory>
+ <!-- Storage catetory -->
+ <PreferenceCategory android:title="@string/settings_storage_category" >
+
+ <!-- Delete cache -->
+ <Preference
+ android:key="delete_cache"
+ android:summary="@string/settings_delete_cache_summary"
+ android:title="@string/settings_delete_cache_title" />
+ </PreferenceCategory>
+ <!-- About -->
+ <PreferenceCategory android:title="@string/settings_about_category" >
+ <PreferenceScreen android:title="@string/settings_about_apollo" >
+ <PreferenceCategory android:title="@string/settings_about_category" >
+ <Preference
+ android:summary="@string/settings_self_title"
+ android:title="@string/settings_author_title" />
+ <Preference
+ android:key="version"
+ android:title="@string/settings_version_title" />
+ <Preference
+ android:key="open_source"
+ android:title="@string/settings_open_source_licenses" />
+ </PreferenceCategory>
+ <PreferenceCategory android:title="@string/settings_special_thanks" >
+ <Preference
+ android:summary="@string/settings_lopez_summary"
+ android:title="@string/settings_lopez_title" />
+ <Preference android:title="@string/settings_cyanogenmod_title" />
+ </PreferenceCategory>
+ </PreferenceScreen>
+ </PreferenceCategory>
+
</PreferenceScreen> \ No newline at end of file