File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
kotlin/com/simplemobiletools/flashlight/activities Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import android.widget.SeekBar
99import com.simplemobiletools.commons.dialogs.ColorPickerDialog
1010import com.simplemobiletools.commons.extensions.adjustAlpha
1111import com.simplemobiletools.commons.extensions.applyColorFilter
12+ import com.simplemobiletools.commons.extensions.setFillWithStroke
1213import com.simplemobiletools.flashlight.R
1314import com.simplemobiletools.flashlight.extensions.config
1415import com.simplemobiletools.flashlight.helpers.MyWidgetProvider
@@ -82,7 +83,7 @@ class WidgetConfigureActivity : SimpleActivity() {
8283
8384 private fun updateColors () {
8485 mWidgetColor = mWidgetColorWithoutTransparency.adjustAlpha(mWidgetAlpha)
85- config_widget_color.setBackgroundColor (mWidgetColor)
86+ config_widget_color.setFillWithStroke (mWidgetColor, Color . BLACK )
8687 config_image.background.mutate().applyColorFilter(mWidgetColor)
8788 }
8889
Original file line number Diff line number Diff line change 2121 android : background =" @drawable/circles_big" />
2222 </RelativeLayout >
2323
24- <Button
24+ <ImageView
2525 android : id =" @+id/config_widget_color"
2626 android : layout_width =" @dimen/widget_colorpicker_size"
2727 android : layout_height =" @dimen/widget_colorpicker_size"
You can’t perform that action at this time.
0 commit comments