Commit 05f5ac5f authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Add margin for overscan on TV app

parent fe52971f
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:layout_marginTop="@dimen/tv_overscan_vertical"
android:layout_gravity="top" android:layout_gravity="top"
android:background="?attr/status_bar_overlay" android:background="?attr/status_bar_overlay"
android:text="@string/title" android:text="@string/title"
......
...@@ -35,6 +35,9 @@ ...@@ -35,6 +35,9 @@
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginBottom="@dimen/tv_overscan_vertical"
android:layout_marginLeft="@dimen/tv_overscan_horizontal"
android:layout_marginRight="@dimen/tv_overscan_horizontal"
android:fitsSystemWindows="true" > android:fitsSystemWindows="true" >
<include <include
......
...@@ -24,4 +24,6 @@ ...@@ -24,4 +24,6 @@
<dimen name="media_ctrl_margin_top">20dp</dimen> <dimen name="media_ctrl_margin_top">20dp</dimen>
<dimen name="tv_overscan_vertical">0dp</dimen>
<dimen name="tv_overscan_horizontal">0dp</dimen>
</resources> </resources>
\ No newline at end of file
<resources> <resources>
<dimen name="tv_card_width">192dp</dimen> <dimen name="tv_card_width">192dp</dimen>
<dimen name="tv_card_height">108dp</dimen> <dimen name="tv_card_height">108dp</dimen>
<dimen name="tv_overscan_vertical">27dp</dimen>
<dimen name="tv_overscan_horizontal">48dp</dimen>
</resources> </resources>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment