[Android] UI : Use new VLC default icon

Alexandre Perraud git at videolan.org
Fri Jun 6 10:09:20 CEST 2014


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Jun  5 18:35:51 2014 +0200| [9e5eb01a70ecbe29bff7b8ee6b652e1b77c796ea] | committer: Adrien Maglo

UI : Use new VLC default icon

Signed-off-by: Alexandre Perraud <4leyx4ndre at gmail.com>
Signed-off-by: Adrien Maglo <magsoft at videolan.org>

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

 vlc-android/res/layout/notification.xml                              |    2 +-
 vlc-android/res/layout/notification_expanded.xml                     |    2 +-
 vlc-android/res/layout/vlcwidget.xml                                 |    2 +-
 .../src/org/videolan/vlc/gui/audio/widget/CoverMediaSwitcher.java    |    2 +-
 vlc-android/src/org/videolan/vlc/widget/VLCAppWidgetProvider.java    |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/vlc-android/res/layout/notification.xml b/vlc-android/res/layout/notification.xml
index dbfa655..4a56da0 100644
--- a/vlc-android/res/layout/notification.xml
+++ b/vlc-android/res/layout/notification.xml
@@ -13,7 +13,7 @@
         android:id="@+id/cover"
         android:layout_width="64dp"
         android:layout_height="64dp"
-        android:src="@drawable/cone" />
+        android:src="@drawable/icon" />
 
     <LinearLayout
         android:layout_width="0dp"
diff --git a/vlc-android/res/layout/notification_expanded.xml b/vlc-android/res/layout/notification_expanded.xml
index 2ab5df0..c09fe63 100644
--- a/vlc-android/res/layout/notification_expanded.xml
+++ b/vlc-android/res/layout/notification_expanded.xml
@@ -12,7 +12,7 @@
         android:layout_width="128dp"
         android:layout_height="128dp"
         android:layout_marginRight="8dp"
-        android:src="@drawable/cone" />
+        android:src="@drawable/icon" />
 
     <LinearLayout
         android:layout_width="fill_parent"
diff --git a/vlc-android/res/layout/vlcwidget.xml b/vlc-android/res/layout/vlcwidget.xml
index d063631..025d2cc 100644
--- a/vlc-android/res/layout/vlcwidget.xml
+++ b/vlc-android/res/layout/vlcwidget.xml
@@ -23,7 +23,7 @@
             android:id="@+id/cover"
             android:layout_width="64dp"
             android:layout_height="64dp"
-            android:src="@drawable/cone" />
+            android:src="@drawable/icon" />
 
         <LinearLayout
             android:layout_width="0dp"
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/widget/CoverMediaSwitcher.java b/vlc-android/src/org/videolan/vlc/gui/audio/widget/CoverMediaSwitcher.java
index 2aa78ab..1d6b6c8 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/widget/CoverMediaSwitcher.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/widget/CoverMediaSwitcher.java
@@ -40,7 +40,7 @@ public class CoverMediaSwitcher extends AudioMediaSwitcher {
         AnimatedCoverView coverView = new AnimatedCoverView(inflater.getContext(), null);
 
         if (cover == null)
-            cover = BitmapFactory.decodeResource(getResources(), R.drawable.cone);
+            cover = BitmapFactory.decodeResource(getResources(), R.drawable.icon);
         coverView.setImageBitmap(cover);
 
         addView(coverView);
diff --git a/vlc-android/src/org/videolan/vlc/widget/VLCAppWidgetProvider.java b/vlc-android/src/org/videolan/vlc/widget/VLCAppWidgetProvider.java
index f229eec..32a59ab 100644
--- a/vlc-android/src/org/videolan/vlc/widget/VLCAppWidgetProvider.java
+++ b/vlc-android/src/org/videolan/vlc/widget/VLCAppWidgetProvider.java
@@ -118,7 +118,7 @@ public class VLCAppWidgetProvider extends AppWidgetProvider {
             if (cover != null)
                 views.setImageViewBitmap(R.id.cover, cover);
             else
-                views.setImageViewResource(R.id.cover, R.drawable.cone);
+                views.setImageViewResource(R.id.cover, R.drawable.icon);
             views.setProgressBar(R.id.timeline, 100, 0, false);
         }
         else if (ACTION_WIDGET_UPDATE_POSITION.equals(action)) {



More information about the Android mailing list