From 8e30b9706587ed9f3b2609719e67951be06d5ea8 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 12 Aug 2013 20:35:43 -0700 Subject: Converted everything to ActionBarCompat --- Subsonic.iml | 2 +- project.properties | 4 +-- res/menu/chat.xml | 5 ++-- res/menu/empty.xml | 5 ++-- res/menu/main.xml | 7 +++-- res/menu/nowplaying.xml | 11 +++---- res/menu/nowplaying_context.xml | 3 +- res/menu/nowplaying_context_offline.xml | 3 +- res/menu/nowplaying_downloading.xml | 7 +++-- res/menu/nowplaying_offline.xml | 9 +++--- res/menu/search.xml | 5 ++-- res/menu/select_album.xml | 9 +++--- res/menu/select_album_context.xml | 3 +- res/menu/select_album_context_offline.xml | 3 +- res/menu/select_album_list.xml | 5 ++-- res/menu/select_artist.xml | 9 +++--- res/menu/select_artist_context.xml | 3 +- res/menu/select_artist_context_offline.xml | 3 +- res/menu/select_genres.xml | 5 ++-- res/menu/select_playlist.xml | 7 +++-- res/menu/select_playlist_context.xml | 3 +- res/menu/select_playlist_context_offline.xml | 3 +- res/menu/select_podcast_episode.xml | 5 ++-- res/menu/select_podcast_episode_context.xml | 3 +- .../select_podcast_episode_context_offline.xml | 3 +- res/menu/select_podcast_episode_offline.xml | 5 ++-- res/menu/select_podcasts.xml | 5 ++-- res/menu/select_podcasts_context.xml | 3 +- res/menu/select_song.xml | 19 ++++++------ res/menu/select_song_context.xml | 3 +- res/menu/select_song_context_offline.xml | 3 +- res/menu/select_song_offline.xml | 15 +++++----- res/menu/select_video_context.xml | 3 +- res/menu/select_video_context_offline.xml | 3 +- res/values/themes.xml | 12 ++++---- .../dsub/activity/DownloadActivity.java | 2 +- .../daneren2005/dsub/activity/MainActivity.java | 3 +- .../daneren2005/dsub/activity/SearchActivity.java | 3 +- .../dsub/activity/SubsonicActivity.java | 34 +++++++++++----------- .../daneren2005/dsub/fragments/ChatFragment.java | 8 +++-- .../dsub/fragments/DownloadFragment.java | 6 ++-- .../daneren2005/dsub/fragments/MainFragment.java | 6 ++-- .../daneren2005/dsub/fragments/SearchFragment.java | 7 +++-- .../dsub/fragments/SelectArtistFragment.java | 6 ++-- .../dsub/fragments/SelectDirectoryFragment.java | 6 ++-- .../dsub/fragments/SelectGenreFragment.java | 6 ++-- .../dsub/fragments/SelectPlaylistFragment.java | 5 ++-- .../dsub/fragments/SelectPodcastsFragment.java | 6 ++-- .../dsub/fragments/SubsonicFragment.java | 6 ++-- 49 files changed, 169 insertions(+), 131 deletions(-) diff --git a/Subsonic.iml b/Subsonic.iml index 2fdd68ae..d89b96cf 100644 --- a/Subsonic.iml +++ b/Subsonic.iml @@ -16,8 +16,8 @@ - + diff --git a/project.properties b/project.properties index 56014cda..e05b5bd9 100644 --- a/project.properties +++ b/project.properties @@ -9,5 +9,5 @@ # Project target. target=android-17 -android.library.reference.1=ActionBarSherlock/actionbarsherlock -android.library.reference.2=DragSortListView/library \ No newline at end of file +android.library.reference.1=DragSortListView/library +android.library.reference.2=../../../../Program Files (x86)/Android/android-sdk/extras/android/support/v7/appcompat \ No newline at end of file diff --git a/res/menu/chat.xml b/res/menu/chat.xml index e0f9a718..685aba18 100644 --- a/res/menu/chat.xml +++ b/res/menu/chat.xml @@ -1,10 +1,11 @@ - + + compat:showAsAction="always|withText"/> - + + compat:showAsAction="always|withText"/> diff --git a/res/menu/main.xml b/res/menu/main.xml index c9420236..1390b68b 100644 --- a/res/menu/main.xml +++ b/res/menu/main.xml @@ -1,16 +1,17 @@ - + + compat:showAsAction="always|withText"/> + compat:showAsAction="always|withText"/> - + + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> - + - + - + + compat:showAsAction="always|withText"/> + compat:showAsAction="ifRoom|withText"/> - + + compat:showAsAction="always|withText"/> + compat:showAsAction="always|withText"/> + compat:showAsAction="ifRoom|withText"/> - + + compat:showAsAction="ifRoom|withText"/> - + + compat:showAsAction="always|withText"/> + compat:showAsAction="always|withText"/> + compat:showAsAction="ifRoom|withText"/> diff --git a/res/menu/select_album_context.xml b/res/menu/select_album_context.xml index 00fe7993..efc2f2fd 100644 --- a/res/menu/select_album_context.xml +++ b/res/menu/select_album_context.xml @@ -1,5 +1,6 @@ - + - + - + + compat:showAsAction="always|withText"/> diff --git a/res/menu/select_artist.xml b/res/menu/select_artist.xml index a7b988a5..3c694cd2 100644 --- a/res/menu/select_artist.xml +++ b/res/menu/select_artist.xml @@ -1,22 +1,23 @@ - + + compat:showAsAction="always|withText"/> + compat:showAsAction="always|withText"/> + compat:showAsAction="ifRoom|withText"/> - + - + - + + compat:showAsAction="always|withText"/> - + + compat:showAsAction="always|withText"/> + compat:showAsAction="always|withText"/> - + - + - + + compat:showAsAction="always|withText"/> - + - + - + + compat:showAsAction="always|withText"/> - + + compat:showAsAction="always|withText"/> - + diff --git a/res/menu/select_song.xml b/res/menu/select_song.xml index 3a55fee0..658e3ffe 100644 --- a/res/menu/select_song.xml +++ b/res/menu/select_song.xml @@ -1,46 +1,47 @@ - + + compat:showAsAction="always|withText"/> + compat:showAsAction="always|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> diff --git a/res/menu/select_song_context.xml b/res/menu/select_song_context.xml index 4db229f2..e2048b20 100644 --- a/res/menu/select_song_context.xml +++ b/res/menu/select_song_context.xml @@ -1,5 +1,6 @@ - + - + - + + compat:showAsAction="always|withText"/> + compat:showAsAction="always|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> + compat:showAsAction="ifRoom|withText"/> diff --git a/res/menu/select_video_context.xml b/res/menu/select_video_context.xml index 5926f8a5..084c29aa 100644 --- a/res/menu/select_video_context.xml +++ b/res/menu/select_video_context.xml @@ -1,5 +1,6 @@ - + diff --git a/res/menu/select_video_context_offline.xml b/res/menu/select_video_context_offline.xml index fc354119..7a9020f5 100644 --- a/res/menu/select_video_context_offline.xml +++ b/res/menu/select_video_context_offline.xml @@ -1,5 +1,6 @@ - + diff --git a/res/values/themes.xml b/res/values/themes.xml index 33dd2de7..a32a34e8 100644 --- a/res/values/themes.xml +++ b/res/values/themes.xml @@ -1,6 +1,6 @@ - - - - - -