[Android] Album cover better fits
Geoffrey Métais
git at videolan.org
Thu Oct 16 17:33:46 CEST 2014
vlc-ports/android | branch: tv | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Oct 16 17:19:30 2014 +0200| [825519f5587209fc2a7ae6a7d39437f945a19e56] | committer: Geoffrey Métais
Album cover better fits
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=825519f5587209fc2a7ae6a7d39437f945a19e56
---
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"
More information about the Android
mailing list