mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
properly update widget date and time
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:includeFontPadding="false"
|
||||
android:textSize="@dimen/clock_text_size"
|
||||
android:textSize="@dimen/widget_time_text_size"
|
||||
tools:text="00:00"/>
|
||||
|
||||
<TextView
|
||||
@ -30,7 +30,7 @@
|
||||
android:gravity="center_horizontal"
|
||||
android:includeFontPadding="false"
|
||||
android:paddingBottom="@dimen/small_margin"
|
||||
android:textSize="@dimen/big_text_size"
|
||||
android:textSize="@dimen/normal_text_size"
|
||||
tools:text="Mon, 1 January"/>
|
||||
</RelativeLayout>
|
||||
|
||||
|
@ -4,15 +4,15 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/widget_date_time_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/widget_time"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/big_margin"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="@dimen/clock_text_size"
|
||||
android:includeFontPadding="false"
|
||||
android:textSize="@dimen/widget_time_text_size"
|
||||
tools:text="00:00"/>
|
||||
|
||||
<TextView
|
||||
@ -21,7 +21,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/widget_time"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="@dimen/big_text_size"
|
||||
android:includeFontPadding="false"
|
||||
android:paddingBottom="@dimen/normal_margin"
|
||||
android:textSize="@dimen/normal_text_size"
|
||||
tools:text="Mon, 1 January"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
Reference in New Issue
Block a user