diff --git a/android/app/build.gradle b/android/app/build.gradle index 881dfe8..9847a76 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -84,7 +84,8 @@ flutter { } dependencies { - implementation("androidx.core:core-remoteviews:1.0.0") + implementation("androidx.core:core-remoteviews:1.1.0") + implementation("com.google.android.material:material:1.12.0") implementation("androidx.work:work-runtime-ktx:2.9.0") } diff --git a/android/app/src/main/res/layout/oreo_widget_big.xml b/android/app/src/main/res/layout/oreo_widget_big.xml index 42ddbae..1463e19 100644 --- a/android/app/src/main/res/layout/oreo_widget_big.xml +++ b/android/app/src/main/res/layout/oreo_widget_big.xml @@ -3,6 +3,7 @@ style="@style/Widget.Android.AppWidget.Container" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="?attr/colorSecondaryContainer" android:theme="@style/Theme.Android.AppWidgetContainer" android:id="@+id/widget_day_oreo"> @@ -27,7 +28,7 @@ android:shadowRadius="1" android:textSize="@dimen/widget_large_title_text_size" tools:ignore="ObsoleteLayoutParam" - tools:text="Saturday, September 30 │ " /> + tools:text="Saturday, September 30 " /> @@ -27,7 +28,7 @@ android:shadowRadius="1" android:textSize="@dimen/widget_large_title_text_size" tools:ignore="ObsoleteLayoutParam" - tools:text="Saturday, September 30 │ " /> + tools:text="Saturday, September 30 " /> @@ -32,8 +33,8 @@ android:shadowRadius="1" android:textAppearance="@android:style/TextAppearance.Material.Large" android:textSize="@dimen/widget_title_text_size" - tools:text="21°" - tools:ignore="ObsoleteLayoutParam" /> + tools:ignore="ObsoleteLayoutParam" + tools:text="21°" /> diff --git a/android/app/src/main/res/layout/oreo_widget_small.xml b/android/app/src/main/res/layout/oreo_widget_small.xml index b24c57c..a0b163c 100644 --- a/android/app/src/main/res/layout/oreo_widget_small.xml +++ b/android/app/src/main/res/layout/oreo_widget_small.xml @@ -3,6 +3,7 @@ style="@style/Widget.Android.AppWidget.Container" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="?attr/colorSecondaryContainer" android:theme="@style/Theme.Android.AppWidgetContainer" android:id="@+id/widget_day_oreo"> diff --git a/android/app/src/main/res/values-night-v31/styles.xml b/android/app/src/main/res/values-night-v31/styles.xml index b062802..7cadc77 100644 --- a/android/app/src/main/res/values-night-v31/styles.xml +++ b/android/app/src/main/res/values-night-v31/styles.xml @@ -1,7 +1,7 @@ - diff --git a/android/app/src/main/res/values-night-v31/themes.xml b/android/app/src/main/res/values-night-v31/themes.xml index f253c9d..acc3f89 100644 --- a/android/app/src/main/res/values-night-v31/themes.xml +++ b/android/app/src/main/res/values-night-v31/themes.xml @@ -3,7 +3,7 @@ - diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml index dbc9ea9..805a597 100644 --- a/android/app/src/main/res/values-night/styles.xml +++ b/android/app/src/main/res/values-night/styles.xml @@ -1,14 +1,14 @@ - + - - diff --git a/android/app/src/main/res/values-v31/styles.xml b/android/app/src/main/res/values-v31/styles.xml index 484c85a..c491979 100644 --- a/android/app/src/main/res/values-v31/styles.xml +++ b/android/app/src/main/res/values-v31/styles.xml @@ -1,7 +1,7 @@ - diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 93bed36..2c37611 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -1,6 +1,6 @@ - Oreo Widget + Rain Widget EEE, d MMM │ EEEE, d MMM │ \ No newline at end of file diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index c759804..e50dbb0 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -2,14 +2,14 @@ - - diff --git a/android/app/src/main/res/values/themes.xml b/android/app/src/main/res/values/themes.xml index 4704876..1fb58d5 100644 --- a/android/app/src/main/res/values/themes.xml +++ b/android/app/src/main/res/values/themes.xml @@ -1,5 +1,5 @@ -