[Android] Minor improvement for info view in landscape
Geoffrey Métais
git at videolan.org
Mon Feb 6 16:59:37 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 6 12:19:31 2017 +0100| [4d6cd7215cce470e80e74116856f619892a1127f] | committer: Geoffrey Métais
Minor improvement for info view in landscape
> https://code.videolan.org/videolan/vlc-android/commit/4d6cd7215cce470e80e74116856f619892a1127f
---
vlc-android/res/layout-land/media_info.xml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/vlc-android/res/layout-land/media_info.xml b/vlc-android/res/layout-land/media_info.xml
index 01cafb0..cbeb566 100644
--- a/vlc-android/res/layout-land/media_info.xml
+++ b/vlc-android/res/layout-land/media_info.xml
@@ -90,6 +90,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:baselineAligned="false"
+ android:layout_marginTop="5dp"
android:orientation="horizontal" >
<RelativeLayout
@@ -115,9 +116,10 @@
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:minHeight="250dp"
android:layout_gravity="center_horizontal"
- android:layout_marginBottom="36dp"
- android:scaleType="centerCrop" />
+ android:layout_marginBottom="5dp"
+ android:scaleType="fitCenter" />
</FrameLayout>
<ImageView
android:id="@+id/info_subtitles"
@@ -127,7 +129,7 @@
android:layout_marginEnd="10dp"
android:layout_below="@+id/image_container"
android:src="@drawable/ic_audiosub_circle_normal_o"
- android:visibility="invisible"
+ android:visibility="gone"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_marginBottom="20dp" />
More information about the Android
mailing list