Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
dependencies ▾

Modern-Apps.git / clock / src / main / res / layout / analog_clock_widget.xml

analog_clock_widget.xml23 lines · 887 BRaw
1<?xml version="1.0" encoding="utf-8"?>
2<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:id="@+id/analog_clock_widget_root"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 android:padding="10dp">
7
8 <ImageView
9 android:layout_width="match_parent"
10 android:layout_height="match_parent"
11 android:src="@drawable/analog_clock_widget_background"
12 android:scaleType="fitCenter"
13 android:contentDescription="@null" />
14
15 <AnalogClock
16 android:layout_width="match_parent"
17 android:layout_height="match_parent"
18 android:dial="@drawable/analog_clock_dial"
19 android:hand_hour="@drawable/analog_clock_hand_hour"
20 android:hand_minute="@drawable/analog_clock_hand_minute"
21 android:hand_second="@drawable/analog_clock_hand_second" />
22
23</FrameLayout>