[Android] UI : Use the new bookmark network icon

Alexandre Perraud git at videolan.org
Thu Feb 19 17:10:14 CET 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Feb 19 17:08:48 2015 +0100| [fdc60bed9d152926c84ec64baf88f2d865f65ce0] | committer: Alexandre Perraud

UI : Use the new bookmark network icon

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=fdc60bed9d152926c84ec64baf88f2d865f65ce0
---

 vlc-android/res/menu/media_library.xml                 |    2 +-
 vlc-android/src/org/videolan/vlc/gui/MainActivity.java |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/vlc-android/res/menu/media_library.xml b/vlc-android/res/menu/media_library.xml
index 814b6fd..24086f0 100644
--- a/vlc-android/res/menu/media_library.xml
+++ b/vlc-android/res/menu/media_library.xml
@@ -4,7 +4,7 @@
 
     <item
         android:id="@+id/ml_menu_save"
-        android:icon="@drawable/abc_btn_check_to_on_mtrl_000"
+        android:icon="@drawable/ic_menu_bookmark_outline_w"
         android:title="@string/clear_history"
         android:nextFocusDown="@+id/ml_menu_search"
         android:visible="false"
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 64e8e15..c019edc 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -566,8 +566,8 @@ public class MainActivity extends ActionBarActivity implements OnItemClickListen
             item.setVisible(true);
             String mrl = ((NetworkFragment)current).mMrl;
             item.setIcon(MediaDatabase.getInstance().networkFavExists(mrl) ?
-                    R.drawable.abc_btn_check_to_on_mtrl_015 :
-                    R.drawable.abc_btn_check_to_on_mtrl_000);
+                    R.drawable.ic_menu_bookmark_w :
+                    R.drawable.ic_menu_bookmark_outline_w);
 
         }
         else
@@ -650,7 +650,7 @@ public class MainActivity extends ActionBarActivity implements OnItemClickListen
                 if (current == null)
                     break;
                 ((NetworkFragment)current).toggleFavorite();
-                item.setIcon(R.drawable.abc_btn_check_to_on_mtrl_015);
+                item.setIcon(R.drawable.ic_menu_bookmark_w);
                 break;
         }
         mRootContainer.closeDrawer(mSideMenu);



More information about the Android mailing list