fix #53, remove the top margin from the widgets time

This commit is contained in:
tibbi 2018-05-16 16:18:11 +02:00
parent 6decda1b08
commit f798f245cd
3 changed files with 1 additions and 3 deletions

View File

@ -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)

View File

@ -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"/>

View File

@ -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"