aboutsummaryrefslogtreecommitdiff
path: root/apps/LeanbackWidget/res/layout/clock_widget.xml
diff options
context:
space:
mode:
Diffstat (limited to 'apps/LeanbackWidget/res/layout/clock_widget.xml')
-rw-r--r--apps/LeanbackWidget/res/layout/clock_widget.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/LeanbackWidget/res/layout/clock_widget.xml b/apps/LeanbackWidget/res/layout/clock_widget.xml
new file mode 100644
index 0000000..9da9dc4
--- /dev/null
+++ b/apps/LeanbackWidget/res/layout/clock_widget.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="top|end">
+
+ <TextClock
+ android:id="@+id/clock"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:format12Hour="@string/widget_12_hours_format"
+ android:format24Hour="@string/widget_24_hours_format"
+ android:fontFamily="@string/light_font"
+ android:textColor="@color/clock_text_color"
+ android:textSize="@dimen/clock_text_size"
+ android:layout_gravity="top|end" />
+
+</FrameLayout>