[Android] UI : Simplify theme
Alexandre Perraud
git at videolan.org
Wed Mar 11 18:52:25 CET 2015
vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Mar 11 18:50:58 2015 +0100| [0b0d5d724fe9dc294ff425f50eadb4a5df0cf16b] | committer: Alexandre Perraud
UI : Simplify theme
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=0b0d5d724fe9dc294ff425f50eadb4a5df0cf16b
---
vlc-android/res/layout/audio_playlist_item.xml | 6 +++---
vlc-android/res/layout/audio_playlist_item_drag_shadow.xml | 2 +-
vlc-android/res/layout/sidebar.xml | 2 +-
vlc-android/res/values/attrs.xml | 1 -
vlc-android/res/values/styles.xml | 2 --
5 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/vlc-android/res/layout/audio_playlist_item.xml b/vlc-android/res/layout/audio_playlist_item.xml
index 421a3ef..ce954cf 100644
--- a/vlc-android/res/layout/audio_playlist_item.xml
+++ b/vlc-android/res/layout/audio_playlist_item.xml
@@ -38,7 +38,7 @@
android:layout_gravity="center"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
- android:background="?attr/playlist_item_footer" />
+ android:background="?attr/item_footer" />
</LinearLayout>
<LinearLayout
@@ -88,7 +88,7 @@
android:layout_gravity="center"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
- android:background="?attr/playlist_item_footer" />
+ android:background="?attr/item_footer" />
<ImageButton
android:id="@+id/move"
@@ -115,6 +115,6 @@
android:layout_gravity="center"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
- android:background="?attr/playlist_item_footer" />
+ android:background="?attr/item_footer" />
</LinearLayout>
\ No newline at end of file
diff --git a/vlc-android/res/layout/audio_playlist_item_drag_shadow.xml b/vlc-android/res/layout/audio_playlist_item_drag_shadow.xml
index 28b5fd1..2d45e55 100644
--- a/vlc-android/res/layout/audio_playlist_item_drag_shadow.xml
+++ b/vlc-android/res/layout/audio_playlist_item_drag_shadow.xml
@@ -51,7 +51,7 @@
android:layout_gravity="center"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
- android:background="?attr/playlist_item_footer" />
+ android:background="?attr/item_footer" />
<ImageButton
android:id="@+id/move"
diff --git a/vlc-android/res/layout/sidebar.xml b/vlc-android/res/layout/sidebar.xml
index 1d3035f..662efd6 100644
--- a/vlc-android/res/layout/sidebar.xml
+++ b/vlc-android/res/layout/sidebar.xml
@@ -24,7 +24,7 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_above="@+id/settings"
- android:background="?attr/playlist_item_footer" />
+ android:background="?attr/item_footer" />
<ImageView
android:id="@+id/settings_icon"
diff --git a/vlc-android/res/values/attrs.xml b/vlc-android/res/values/attrs.xml
index 821b4f7..93cd223 100644
--- a/vlc-android/res/values/attrs.xml
+++ b/vlc-android/res/values/attrs.xml
@@ -2,7 +2,6 @@
<resources>
<attr name="item_footer" format="reference|color" />
- <attr name="playlist_item_footer" format="reference|color" />
<attr name="background_default" format="reference|color" />
<attr name="background_default_darker" format="reference|color" />
<attr name="background_actionbar" format="reference|color" />
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index 3275686..d45e172 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -25,7 +25,6 @@
<item name="android:dropDownListViewStyle">@style/Theme.VLC.List</item>
<item name="item_footer">@color/grey300</item>
- <item name="playlist_item_footer">@color/grey300</item>
<item name="background_default">@color/grey50</item>
<item name="background_default_darker">@color/grey100</item>
<item name="background_actionbar">@color/orange500</item>
@@ -100,7 +99,6 @@
<item name="android:dropDownListViewStyle">@style/Theme.VLC.List</item>
<item name="item_footer">@color/grey700</item>
- <item name="playlist_item_footer">@color/grey700</item>
<item name="background_default">@color/grey850</item>
<item name="background_default_darker">@color/grey875</item>
<item name="background_actionbar">@color/grey875</item>
More information about the Android
mailing list