mirror of
				https://github.com/SimpleMobileTools/Simple-Clock.git
				synced 2025-06-05 22:19:17 +02:00 
			
		
		
		
	replacing some more widget related redundant xml tags
This commit is contained in:
		| @@ -1,14 +1,13 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     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:orientation="vertical" | ||||
|     android:paddingBottom="@dimen/small_margin" | ||||
|     android:paddingLeft="@dimen/small_margin" | ||||
|     android:paddingRight="@dimen/small_margin"> | ||||
|     android:paddingRight="@dimen/small_margin" | ||||
|     android:paddingBottom="@dimen/small_margin"> | ||||
|  | ||||
|     <TextView | ||||
|         android:id="@+id/widget_time" | ||||
| @@ -50,19 +49,19 @@ | ||||
|             android:id="@+id/widget_next_alarm_image" | ||||
|             android:layout_width="@dimen/widget_alarm_icon_size" | ||||
|             android:layout_height="@dimen/widget_alarm_icon_size" | ||||
|             android:layout_alignBottom="@+id/widget_next_alarm" | ||||
|             android:layout_alignTop="@+id/widget_next_alarm" | ||||
|             android:layout_alignBottom="@+id/widget_next_alarm" | ||||
|             android:src="@drawable/ic_alarm_vector" /> | ||||
|  | ||||
|         <TextView | ||||
|             android:id="@+id/widget_next_alarm" | ||||
|             android:layout_width="wrap_content" | ||||
|             android:layout_height="match_parent" | ||||
|             android:layout_toRightOf="@+id/widget_next_alarm_image" | ||||
|             android:layout_toEndOf="@+id/widget_next_alarm_image" | ||||
|             android:gravity="center" | ||||
|             android:includeFontPadding="false" | ||||
|             android:maxLines="1" | ||||
|             android:paddingLeft="@dimen/small_margin" | ||||
|             android:paddingStart="@dimen/small_margin" | ||||
|             android:textSize="@dimen/normal_text_size" | ||||
|             tools:text="Tue, 18:30" /> | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,5 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:id="@+id/widget_date_time_holder" | ||||
|     android:layout_width="match_parent" | ||||
| @@ -48,11 +47,11 @@ | ||||
|             android:id="@+id/widget_next_alarm" | ||||
|             android:layout_width="wrap_content" | ||||
|             android:layout_height="match_parent" | ||||
|             android:layout_toRightOf="@+id/widget_next_alarm_image" | ||||
|             android:layout_toEndOf="@+id/widget_next_alarm_image" | ||||
|             android:gravity="center" | ||||
|             android:includeFontPadding="false" | ||||
|             android:maxLines="1" | ||||
|             android:paddingLeft="@dimen/small_margin" | ||||
|             android:paddingStart="@dimen/small_margin" | ||||
|             android:textSize="@dimen/actionbar_text_size" | ||||
|             tools:text="Tue, 18:30" /> | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,5 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:id="@+id/widget_date_time_holder" | ||||
|     android:layout_width="match_parent" | ||||
| @@ -64,11 +63,11 @@ | ||||
|             android:id="@+id/widget_next_alarm" | ||||
|             android:layout_width="wrap_content" | ||||
|             android:layout_height="match_parent" | ||||
|             android:layout_toRightOf="@+id/widget_next_alarm_image" | ||||
|             android:layout_toEndOf="@+id/widget_next_alarm_image" | ||||
|             android:gravity="center" | ||||
|             android:includeFontPadding="false" | ||||
|             android:maxLines="1" | ||||
|             android:paddingLeft="@dimen/small_margin" | ||||
|             android:paddingStart="@dimen/small_margin" | ||||
|             android:shadowColor="@android:color/black" | ||||
|             android:shadowDy="1" | ||||
|             android:shadowRadius="1" | ||||
|   | ||||
| @@ -1,6 +1,5 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:id="@+id/widget_date_time_holder" | ||||
|     android:layout_width="match_parent" | ||||
| @@ -54,11 +53,11 @@ | ||||
|             android:id="@+id/widget_next_alarm" | ||||
|             android:layout_width="wrap_content" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_toRightOf="@+id/widget_next_alarm_image" | ||||
|             android:layout_toEndOf="@+id/widget_next_alarm_image" | ||||
|             android:gravity="center" | ||||
|             android:includeFontPadding="false" | ||||
|             android:maxLines="1" | ||||
|             android:paddingLeft="@dimen/small_margin" | ||||
|             android:paddingStart="@dimen/small_margin" | ||||
|             android:shadowColor="@android:color/black" | ||||
|             android:shadowDy="1" | ||||
|             android:shadowRadius="1" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user