replacing ic_clock icon with ic_alarm at showing alarm below date
This commit is contained in:
parent
8f53517edf
commit
c73d714e7b
2 changed files with 8 additions and 9 deletions
|
@ -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"
|
||||
|
@ -19,7 +18,7 @@
|
|||
android:layout_marginTop="@dimen/activity_margin"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="@dimen/clock_text_size"
|
||||
tools:text="00:00:00"/>
|
||||
tools:text="00:00:00" />
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
android:id="@+id/clock_date"
|
||||
|
@ -28,7 +27,7 @@
|
|||
android:layout_below="@+id/clock_time"
|
||||
android:gravity="center_horizontal"
|
||||
android:textSize="@dimen/big_text_size"
|
||||
tools:text="Mon, 1 January"/>
|
||||
tools:text="Mon, 1 January" />
|
||||
|
||||
<com.simplemobiletools.commons.views.MyTextView
|
||||
android:id="@+id/clock_alarm"
|
||||
|
@ -37,11 +36,11 @@
|
|||
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"
|
||||
tools:text="Thu, 8:00"/>
|
||||
tools:text="Thu, 8:00" />
|
||||
|
||||
<com.simplemobiletools.commons.views.MyRecyclerView
|
||||
android:id="@+id/time_zones_list"
|
||||
|
@ -53,7 +52,7 @@
|
|||
android:overScrollMode="ifContentScrolls"
|
||||
android:scrollbars="none"
|
||||
android:visibility="gone"
|
||||
app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager"/>
|
||||
app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
@ -63,6 +62,6 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/activity_margin"
|
||||
android:src="@drawable/ic_plus_vector"/>
|
||||
android:src="@drawable/ic_plus_vector" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
|
Loading…
Reference in a new issue