[Android] Add margin for overscan on TV app

Geoffrey Métais git at videolan.org
Thu Jan 15 15:20:53 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 15 15:20:27 2015 +0100| [2af39913222291629cc7520ca64fe08d4f679b96] | committer: Geoffrey Métais

Add margin for overscan on TV app

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=2af39913222291629cc7520ca64fe08d4f679b96
---

 vlc-android/tv/res/layout/tv_audio_player.xml |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/vlc-android/tv/res/layout/tv_audio_player.xml b/vlc-android/tv/res/layout/tv_audio_player.xml
index 8c6d584..8873b4e 100644
--- a/vlc-android/tv/res/layout/tv_audio_player.xml
+++ b/vlc-android/tv/res/layout/tv_audio_player.xml
@@ -1,7 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
-    android:layout_height="match_parent" >
+    android:layout_height="match_parent"
+    android:layout_marginTop="@dimen/tv_overscan_vertical"
+    android:layout_marginBottom="@dimen/tv_overscan_vertical"
+    android:layout_marginLeft="@dimen/tv_overscan_horizontal"
+    android:layout_marginRight="@dimen/tv_overscan_horizontal" >
 
     <LinearLayout
         android:layout_width="match_parent"



More information about the Android mailing list