replace the Stop icon with a Cross at closing the sleep timer
This commit is contained in:
parent
3f1073a3d4
commit
5eb8364cb4
2 changed files with 3 additions and 4 deletions
|
@ -156,9 +156,7 @@ class MainActivity : SimpleActivity(), SongListListener {
|
|||
it.background = ColorDrawable(config.backgroundColor)
|
||||
}
|
||||
|
||||
val stopDrawable = resources.getDrawable(R.drawable.ic_stop_vector)
|
||||
stopDrawable.applyColorFilter(config.textColor)
|
||||
sleep_timer_stop.setImageDrawable(stopDrawable)
|
||||
sleep_timer_stop.applyColorFilter(config.textColor)
|
||||
invalidateOptionsMenu()
|
||||
}
|
||||
|
||||
|
|
|
@ -124,7 +124,8 @@
|
|||
android:layout_marginStart="@dimen/small_margin"
|
||||
android:layout_marginEnd="@dimen/small_margin"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:src="@drawable/ic_stop_vector" />
|
||||
android:padding="@dimen/small_margin"
|
||||
android:src="@drawable/ic_cross_vector" />
|
||||
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
|
Loading…
Reference in a new issue