[Android] Add the refresh button in the ActionBar if there is enough room
Ludovic Fauvet
git at videolan.org
Thu Jun 21 18:08:00 CEST 2012
android | branch: master | Ludovic Fauvet <etix at videolan.org> | Thu Jun 21 17:12:11 2012 +0200| [b23e552e689d49e6949e526daabbeb21a0cc50e4] | committer: Ludovic Fauvet
Add the refresh button in the ActionBar if there is enough room
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=b23e552e689d49e6949e526daabbeb21a0cc50e4
---
vlc-android/res/drawable-hdpi/ic_menu_refresh.png | Bin 3045 -> 2025 bytes
vlc-android/res/drawable-ldpi/ic_menu_refresh.png | Bin 1483 -> 1278 bytes
vlc-android/res/drawable-mdpi/ic_menu_refresh.png | Bin 0 -> 1278 bytes
vlc-android/res/drawable-xhdpi/ic_menu_refresh.png | Bin 0 -> 2857 bytes
vlc-android/res/menu/media_library.xml | 3 ++-
5 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/res/drawable-hdpi/ic_menu_refresh.png b/vlc-android/res/drawable-hdpi/ic_menu_refresh.png
index 1c64bbe..e13315f 100644
Binary files a/vlc-android/res/drawable-hdpi/ic_menu_refresh.png and b/vlc-android/res/drawable-hdpi/ic_menu_refresh.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_menu_refresh.png b/vlc-android/res/drawable-ldpi/ic_menu_refresh.png
index 33ca4c9..30b660f 100644
Binary files a/vlc-android/res/drawable-ldpi/ic_menu_refresh.png and b/vlc-android/res/drawable-ldpi/ic_menu_refresh.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_menu_refresh.png b/vlc-android/res/drawable-mdpi/ic_menu_refresh.png
new file mode 100644
index 0000000..30b660f
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_menu_refresh.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_menu_refresh.png b/vlc-android/res/drawable-xhdpi/ic_menu_refresh.png
new file mode 100644
index 0000000..9e9f10e
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_menu_refresh.png differ
diff --git a/vlc-android/res/menu/media_library.xml b/vlc-android/res/menu/media_library.xml
index 3f14ec3..99cf59a 100644
--- a/vlc-android/res/menu/media_library.xml
+++ b/vlc-android/res/menu/media_library.xml
@@ -25,7 +25,8 @@
<item
android:id="@+id/ml_menu_refresh"
android:icon="@drawable/ic_menu_refresh"
- android:title="@string/refresh" />
+ android:title="@string/refresh"
+ android:showAsAction="ifRoom" />
<item
android:id="@+id/ml_menu_preferences"
android:icon="@android:drawable/ic_menu_preferences"
More information about the Android
mailing list