mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
replacing ic_clock icon with ic_alarm at showing alarm below date
This commit is contained in:
parent
8f53517edf
commit
c73d714e7b
@ -80,7 +80,7 @@ class MyWidgetDateTimeProvider : AppWidgetProvider() {
|
||||
val bitmap = getMultiplyColoredBitmap(R.drawable.ic_clock_shadowed, widgetTextColor, context)
|
||||
setImageViewBitmap(R.id.widget_next_alarm_image, bitmap)
|
||||
} else {
|
||||
setImageViewBitmap(R.id.widget_next_alarm_image, context.resources.getColoredBitmap(R.drawable.ic_clock_vector, widgetTextColor))
|
||||
setImageViewBitmap(R.id.widget_next_alarm_image, context.resources.getColoredBitmap(R.drawable.ic_alarm_vector, widgetTextColor))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/clock_fragment"
|
||||
@ -37,7 +36,7 @@
|
||||
android:layout_below="@+id/clock_date"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="@dimen/medium_margin"
|
||||
android:drawableLeft="@drawable/ic_clock_vector"
|
||||
android:drawableLeft="@drawable/ic_alarm_vector"
|
||||
android:drawablePadding="@dimen/small_margin"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="@dimen/big_text_size"
|
||||
|
Loading…
x
Reference in New Issue
Block a user