mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-02-02 03:26:48 +01:00
fix #53, remove the top margin from the widgets time
This commit is contained in:
parent
6decda1b08
commit
f798f245cd
@ -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)
|
||||
|
@ -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"/>
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user