[Android] [PATCH 2/8] UI : Use new VLC default icon

Alexandre Perraud 4leyx4ndre at gmail.com
Thu Jun 5 18:35:51 CEST 2014


Signed-off-by: Alexandre Perraud <4leyx4ndre at gmail.com>
---
 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)) {
-- 
1.9.1



More information about the Android mailing list