[Android] Remove unsused XML drawable

Alexandre Perraud git at videolan.org
Tue Nov 21 11:25:37 CET 2017


vlc-android | branch: 2.5.x | Alexandre Perraud <4leyx4ndre at gmail.com> | Mon Nov 13 17:46:27 2017 +0100| [edf162a8682ef0f1aa6fc1c5653f3f5a3740f554] | committer: Geoffrey Métais

Remove unsused XML drawable

(cherry picked from commit 0a4a7a0079a65ee085f12a7b24aff02d012fc76b)

> https://code.videolan.org/videolan/vlc-android/commit/edf162a8682ef0f1aa6fc1c5653f3f5a3740f554
---

 vlc-android/res/drawable/audio_item_selector.xml   |  7 -------
 vlc-android/res/drawable/background.xml            | 16 ---------------
 .../res/drawable/background_header_item.xml        | 23 ----------------------
 vlc-android/res/drawable/header_fadein_overlay.xml | 10 ----------
 .../res/drawable/header_fadeout_overlay.xml        | 10 ----------
 vlc-android/res/drawable/progress.xml              | 16 ---------------
 vlc-android/res/drawable/verticalbar_border.xml    |  6 ------
 7 files changed, 88 deletions(-)

diff --git a/vlc-android/res/drawable/audio_item_selector.xml b/vlc-android/res/drawable/audio_item_selector.xml
deleted file mode 100644
index 49c92b7bb..000000000
--- a/vlc-android/res/drawable/audio_item_selector.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<selector xmlns:android=
-    "http://schemas.android.com/apk/res/android">
-    <item android:state_activated="true"
-        android:drawable="@color/primary_dark_material_light" />
-    <item android:drawable="@color/primary_material_dark" />
-</selector>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/background.xml b/vlc-android/res/drawable/background.xml
deleted file mode 100644
index 5b1768119..000000000
--- a/vlc-android/res/drawable/background.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<shape xmlns:android="http://schemas.android.com/apk/res/android" >
-
-    <gradient
-        android:angle="270"
-        android:centerColor="#CC000000"
-        android:endColor="#CC333333"
-        android:startColor="#CC333333" />
-
-    <corners android:radius="10dp" />
-
-    <stroke
-        android:width="2px"
-        android:color="#88000000" />
-
-</shape>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/background_header_item.xml b/vlc-android/res/drawable/background_header_item.xml
deleted file mode 100644
index 914d6a290..000000000
--- a/vlc-android/res/drawable/background_header_item.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<selector xmlns:android="http://schemas.android.com/apk/res/android">
-    <item android:state_focused="true" android:state_selected="false">
-        <shape android:shape="rectangle">
-            <solid android:color="@color/grey500" />
-        </shape>
-    </item>
-    <item android:state_pressed="true">
-        <shape android:shape="rectangle">
-            <solid android:color="@color/orange300" />
-        </shape>
-    </item>
-    <item android:state_selected="true">
-        <shape android:shape="rectangle">
-            <solid android:color="@color/orange500" />
-        </shape>
-    </item>
-    <item android:state_focused="false" android:state_selected="false">
-        <shape android:shape="rectangle">
-            <solid android:color="@color/grey300" />
-        </shape>
-    </item>
-</selector>
diff --git a/vlc-android/res/drawable/header_fadein_overlay.xml b/vlc-android/res/drawable/header_fadein_overlay.xml
deleted file mode 100644
index a3ce31efc..000000000
--- a/vlc-android/res/drawable/header_fadein_overlay.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<shape xmlns:android="http://schemas.android.com/apk/res/android"
-    android:shape="rectangle" >
-
-    <gradient
-        android:angle="0"
-        android:endColor="#00FFFFFF"
-        android:startColor="@color/grey300" />
-
-</shape>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/header_fadeout_overlay.xml b/vlc-android/res/drawable/header_fadeout_overlay.xml
deleted file mode 100644
index b6abc77c9..000000000
--- a/vlc-android/res/drawable/header_fadeout_overlay.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<shape xmlns:android="http://schemas.android.com/apk/res/android"
-    android:shape="rectangle" >
-
-    <gradient
-        android:angle="0"
-        android:endColor="@color/grey300"
-        android:startColor="#00FFFFFF" />
-
-</shape>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/progress.xml b/vlc-android/res/drawable/progress.xml
deleted file mode 100644
index f7ca3bd04..000000000
--- a/vlc-android/res/drawable/progress.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
-
-    <item android:id="@android:id/background">
-        <shape>
-            <solid android:color="@color/grey300"/>
-        </shape>
-    </item>
-    <item android:id="@android:id/progress">
-        <clip>
-            <shape>
-                <solid android:color="@color/orange500"/>
-            </shape>
-        </clip>
-    </item>
-
-</layer-list>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/verticalbar_border.xml b/vlc-android/res/drawable/verticalbar_border.xml
deleted file mode 100644
index 276679e4a..000000000
--- a/vlc-android/res/drawable/verticalbar_border.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
-    <solid android:color="#00000000" />
-    <stroke android:width="1dp"
-            android:color="#77ffffff" />
-</shape>
\ No newline at end of file



More information about the Android mailing list