[Android] Add and use ic_bookmarks

Edward Wang git at videolan.org
Sun Aug 12 04:28:02 CEST 2012


android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Fri Aug 10 22:15:55 2012 -0400| [26b5839bfe56b1eecc6b8a7cc07ce8e7cb7ac4bf] | committer: Edward Wang

Add and use ic_bookmarks

SVG source: http://openclipart.org/people/warszawianka/bookmark-new.svg

http://openclipart.org/detail/32125/tango-bookmark-new-by-warszawianka

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=26b5839bfe56b1eecc6b8a7cc07ce8e7cb7ac4bf
---

 vlc-android/res/drawable-hdpi/ic_bookmarks.png           |  Bin 0 -> 5694 bytes
 vlc-android/res/drawable-ldpi/ic_bookmarks.png           |  Bin 0 -> 1672 bytes
 vlc-android/res/drawable-xhdpi/ic_bookmarks.png          |  Bin 0 -> 8694 bytes
 vlc-android/res/drawable/ic_bookmarks.png                |  Bin 0 -> 2345 bytes
 vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java |    4 ++--
 5 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/drawable-hdpi/ic_bookmarks.png b/vlc-android/res/drawable-hdpi/ic_bookmarks.png
new file mode 100644
index 0000000..25d10f0
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_bookmarks.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_bookmarks.png b/vlc-android/res/drawable-ldpi/ic_bookmarks.png
new file mode 100644
index 0000000..f2f75f1
Binary files /dev/null and b/vlc-android/res/drawable-ldpi/ic_bookmarks.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_bookmarks.png b/vlc-android/res/drawable-xhdpi/ic_bookmarks.png
new file mode 100644
index 0000000..169baa8
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_bookmarks.png differ
diff --git a/vlc-android/res/drawable/ic_bookmarks.png b/vlc-android/res/drawable/ic_bookmarks.png
new file mode 100644
index 0000000..65962a8
Binary files /dev/null and b/vlc-android/res/drawable/ic_bookmarks.png differ
diff --git a/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java b/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java
index 1b03d3a..79a83a1 100644
--- a/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/SidebarAdapter.java
@@ -63,8 +63,8 @@ public class SidebarAdapter extends BaseAdapter {
             new SidebarEntry( "audio", R.string.audio, R.drawable.header_icon_audio ),
             new SidebarEntry( "video", R.string.video, R.drawable.header_icon_video ),
             new SidebarEntry( "directories", R.string.directories, R.drawable.ic_folder ),
-            new SidebarEntry( "history", "History", R.drawable.ic_folder ),
-            new SidebarEntry( "bookmarks", "Bookmarks", R.drawable.ic_folder ),
+            new SidebarEntry( "history", "History", android.R.drawable.ic_menu_recent_history ),
+            new SidebarEntry( "bookmarks", "Bookmarks", R.drawable.ic_bookmarks ),
             new SidebarEntry( "playlists", "Playlists", R.drawable.icon ),
         };
         entries = Arrays.asList(entries2);



More information about the Android mailing list