From 0303cfb08f27854f62642ab1b473cc2be2186d12 Mon Sep 17 00:00:00 2001 From: Christopher Eby Date: Sat, 27 Aug 2011 15:24:41 -0500 Subject: [PATCH] Add a new style for FullPlaybackActivity --- res/layout/full_playback_alt.xml | 108 ++++++++++++++ res/values/arrays.xml | 12 +- res/values/strings.xml | 8 +- res/xml/preferences.xml | 21 ++- src/org/kreed/vanilla/ContextApplication.java | 2 +- src/org/kreed/vanilla/CoverBitmap.java | 89 +++++++++--- src/org/kreed/vanilla/CoverView.java | 33 ++--- .../kreed/vanilla/FullPlaybackActivity.java | 132 ++++++++++++------ src/org/kreed/vanilla/PlaybackService.java | 8 ++ 9 files changed, 324 insertions(+), 89 deletions(-) create mode 100644 res/layout/full_playback_alt.xml diff --git a/res/layout/full_playback_alt.xml b/res/layout/full_playback_alt.xml new file mode 100644 index 00000000..8df08adf --- /dev/null +++ b/res/layout/full_playback_alt.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 995fbfcd..a8b371f8 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -1,6 +1,6 @@ 0 1 2 - \ No newline at end of file + diff --git a/res/values/strings.xml b/res/values/strings.xml index 12ac74c2..e1e64226 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -112,6 +112,12 @@ THE SOFTWARE. Notification Action What to do when the notification is pressed + Playback View + Display Mode + The appearance and position of the song art and info. + Disable Cover Art + Do not show cover art anywhere in the application + Library View Open on Startup Open library on startup @@ -121,8 +127,6 @@ THE SOFTWARE. What to do when an item is tapped Miscellaneous Features - Disable Cover Art - Do not show cover art anywhere in the application Enable Idle Timeout When active, playback will be stopped after the given period of inactivity Idle Timeout diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 967bd18e..6f7c6bb9 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -1,6 +1,6 @@