[Android] [PATCH 08/11] Album cover better fits
Geoffrey Métais
geoffrey.metais at gmail.com
Mon Nov 17 17:53:45 CET 2014
---
vlc-android/res/layout/tv_audio_player.xml | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/vlc-android/res/layout/tv_audio_player.xml b/vlc-android/res/layout/tv_audio_player.xml
index 06793dc..1ec9e5e 100644
--- a/vlc-android/res/layout/tv_audio_player.xml
+++ b/vlc-android/res/layout/tv_audio_player.xml
@@ -7,7 +7,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
- android:weightSum="3.0" >
+ android:weightSum="3" >
<!-- Cover -->
<ImageView
@@ -15,7 +15,9 @@
android:layout_width="0dip"
android:layout_height="match_parent"
android:layout_weight="2"
- android:src="@drawable/background_cone" >
+ android:padding="10dp"
+ android:src="@drawable/background_cone"
+ android:scaleType="fitXY" >
</ImageView>
<!-- Playlist -->
@@ -37,7 +39,8 @@
android:paddingLeft="30dip"
android:paddingTop="10dip"
android:paddingBottom="5dip"
- android:background="#33000000">
+ android:alpha="0.8"
+ android:background="@android:color/black">
<TextView
android:id="@+id/media_title"
android:layout_width="wrap_content"
--
1.9.1
More information about the Android
mailing list