aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Lima <joselima@google.com>2015-02-17 16:11:09 -0800
committerThe Android Automerger <android-build@google.com>2015-02-18 20:56:45 -0800
commit6a9816fafdb2b78bbb8a1f9f9509ead0a8fcd12c (patch)
tree30c0019eb2ff3dce7a6c3135b514767fcc5d416f
parentd4f7545017ad3fc2388863cbb3684afccc56ddce (diff)
downloadsample-android-5.1.1_r33.tar.gz
Bug: 19414724 Change-Id: I8edd2789d0beb36e1b72e6d972e1d3c2a93d3c9b
-rw-r--r--apps/LeanbackWidget/res/layout/clock_widget.xml3
-rw-r--r--apps/LeanbackWidget/res/values/dimens.xml1
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/LeanbackWidget/res/layout/clock_widget.xml b/apps/LeanbackWidget/res/layout/clock_widget.xml
index 1ad5328..3ceb63e 100644
--- a/apps/LeanbackWidget/res/layout/clock_widget.xml
+++ b/apps/LeanbackWidget/res/layout/clock_widget.xml
@@ -1,7 +1,8 @@
<?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/widget_top_margin" >
<TextClock
android:id="@+id/clock"
diff --git a/apps/LeanbackWidget/res/values/dimens.xml b/apps/LeanbackWidget/res/values/dimens.xml
index fc54e72..fe1728f 100644
--- a/apps/LeanbackWidget/res/values/dimens.xml
+++ b/apps/LeanbackWidget/res/values/dimens.xml
@@ -3,4 +3,5 @@
<dimen name="clock_text_size">36sp</dimen>
<dimen name="clock_width">106dp</dimen>
<dimen name="connectivity_status_size">32dp</dimen>
+ <dimen name="widget_top_margin">1dp</dimen>
</resources>