diff --git a/app/src/main/kotlin/com/simplemobiletools/clock/helpers/MyWidgetDateTimeProvider.kt b/app/src/main/kotlin/com/simplemobiletools/clock/helpers/MyWidgetDateTimeProvider.kt index 8bae3cc6..d42ac1ca 100644 --- a/app/src/main/kotlin/com/simplemobiletools/clock/helpers/MyWidgetDateTimeProvider.kt +++ b/app/src/main/kotlin/com/simplemobiletools/clock/helpers/MyWidgetDateTimeProvider.kt @@ -126,7 +126,7 @@ class MyWidgetDateTimeProvider : AppWidgetProvider() { } } - fun getMultiplyColoredBitmap(resourceId: Int, newColor: Int, context: Context): Bitmap { + private fun getMultiplyColoredBitmap(resourceId: Int, newColor: Int, context: Context): Bitmap { val options = BitmapFactory.Options() options.inMutable = true val bmp = BitmapFactory.decodeResource(context.resources, resourceId, options) diff --git a/app/src/main/res/layout/widget_date_time.xml b/app/src/main/res/layout/widget_date_time.xml index 18cd851f..65f605ae 100644 --- a/app/src/main/res/layout/widget_date_time.xml +++ b/app/src/main/res/layout/widget_date_time.xml @@ -17,7 +17,6 @@ android:id="@+id/widget_time" android:layout_width="wrap_content" android:layout_height="@dimen/widget_time_height" - android:layout_marginTop="-2dp" android:includeFontPadding="false" android:textSize="@dimen/widget_time_text_size" tools:text="00:00"/> diff --git a/app/src/main/res/layout/widget_date_time_with_shadow.xml b/app/src/main/res/layout/widget_date_time_with_shadow.xml index 6e694f2a..00375d3d 100644 --- a/app/src/main/res/layout/widget_date_time_with_shadow.xml +++ b/app/src/main/res/layout/widget_date_time_with_shadow.xml @@ -17,7 +17,6 @@ android:id="@+id/widget_time" android:layout_width="wrap_content" android:layout_height="@dimen/widget_time_height" - android:layout_marginTop="-2dp" android:includeFontPadding="false" android:shadowColor="@android:color/black" android:shadowDy="1"