mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
adding some widget config UI changes
This commit is contained in:
@ -105,9 +105,9 @@ class WidgetAnalogueConfigureActivity : SimpleActivity() {
|
||||
|
||||
private fun updateBackgroundColor() {
|
||||
mBgColor = mBgColorWithoutTransparency.adjustAlpha(mBgAlpha)
|
||||
config_analogue_bg_color.setFillWithStroke(mBgColor, Color.BLACK)
|
||||
config_analogue_bg_color.setFillWithStroke(mBgColor, mBgColor)
|
||||
config_analogue_background.applyColorFilter(mBgColor)
|
||||
config_analogue_save.setBackgroundColor(mBgColor)
|
||||
config_analogue_save.background.applyColorFilter(mBgColor)
|
||||
}
|
||||
|
||||
private val bgSeekbarChangeListener = object : SeekBar.OnSeekBarChangeListener {
|
||||
|
@ -126,7 +126,7 @@ class WidgetDigitalConfigureActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
private fun updateTextColor() {
|
||||
config_digital_text_color.setFillWithStroke(mTextColor, Color.BLACK)
|
||||
config_digital_text_color.setFillWithStroke(mTextColor, mTextColor)
|
||||
config_digital_save.setTextColor(mTextColor)
|
||||
config_digital_time.setTextColor(mTextColor)
|
||||
config_digital_date.setTextColor(mTextColor)
|
||||
@ -134,9 +134,9 @@ class WidgetDigitalConfigureActivity : SimpleActivity() {
|
||||
|
||||
private fun updateBackgroundColor() {
|
||||
mBgColor = mBgColorWithoutTransparency.adjustAlpha(mBgAlpha)
|
||||
config_digital_bg_color.setFillWithStroke(mBgColor, Color.BLACK)
|
||||
config_digital_bg_color.setFillWithStroke(mBgColor, mBgColor)
|
||||
config_digital_background.applyColorFilter(mBgColor)
|
||||
config_digital_save.setBackgroundColor(mBgColor)
|
||||
config_digital_save.background.applyColorFilter(mBgColor)
|
||||
}
|
||||
|
||||
private val bgSeekbarChangeListener = object : SeekBar.OnSeekBarChangeListener {
|
||||
|
Reference in New Issue
Block a user