File tree Expand file tree Collapse file tree 3 files changed +23
-17
lines changed
java/com/simplemobiletools/flashlight/activities Expand file tree Collapse file tree 3 files changed +23
-17
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ private void requestWidgetUpdate() {
111111 private void updateColors () {
112112 mWidgetColor = adjustAlpha (mWidgetColorWithoutTransparency , mWidgetAlpha );
113113 mWidgetColorPicker .setBackgroundColor (mWidgetColor );
114- mImage .getDrawable ().mutate ().setColorFilter (mWidgetColor , PorterDuff .Mode .SRC_IN );
114+ mImage .getBackground ().mutate ().setColorFilter (mWidgetColor , PorterDuff .Mode .SRC_IN );
115115 }
116116
117117 private SeekBar .OnSeekBarChangeListener seekbarChangeListener = new SeekBar .OnSeekBarChangeListener () {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<layer-list xmlns : android =" http://schemas.android.com/apk/res/android" >
33 <item
4- android : bottom =" 60dp "
5- android : left =" 60dp "
6- android : right =" 60dp "
7- android : top =" 60dp " >
4+ android : bottom =" 52dp "
5+ android : left =" 52dp "
6+ android : right =" 52dp "
7+ android : top =" 52dp " >
88 <shape
99 android : shape =" oval" >
1010 <stroke
11- android : width =" 15dp "
12- android : color =" @color/translucent_white " />
11+ android : width =" 13dp "
12+ android : color =" #ff0000 " />
1313 <solid android : color =" @android:color/transparent" />
1414 </shape >
1515 </item >
1616
1717 <item
18- android : bottom =" 30dp "
19- android : left =" 30dp "
20- android : right =" 30dp "
21- android : top =" 30dp " >
18+ android : bottom =" 26dp "
19+ android : left =" 26dp "
20+ android : right =" 26dp "
21+ android : top =" 26dp " >
2222 <shape
2323 android : shape =" oval" >
2424 <stroke
25- android : width =" 15dp "
25+ android : width =" 13dp "
2626 android : color =" @color/translucent_white" />
2727 <solid android : color =" @android:color/transparent" />
2828 </shape >
3232 <shape
3333 android : shape =" oval" >
3434 <stroke
35- android : width =" 15dp "
35+ android : width =" 13dp "
3636 android : color =" @color/translucent_white" />
3737 <solid android : color =" @android:color/transparent" />
3838 </shape >
Original file line number Diff line number Diff line change 77 android : layout_margin =" @dimen/activity_margin"
88 android : paddingBottom =" @dimen/activity_margin" >
99
10- <ImageView
11- android : id =" @+id/config_image"
10+ <RelativeLayout
1211 android : layout_width =" match_parent"
1312 android : layout_height =" match_parent"
1413 android : layout_above =" @+id/config_widget_color"
15- android : scaleType =" centerInside"
16- android : src =" @drawable/circles_big" />
14+ android : layout_marginBottom =" @dimen/activity_margin"
15+ android : gravity =" center" >
16+
17+ <ImageView
18+ android : id =" @+id/config_image"
19+ android : layout_width =" @dimen/main_button_size"
20+ android : layout_height =" @dimen/main_button_size"
21+ android : background =" @drawable/circles_big" />
22+ </RelativeLayout >
1723
1824 <Button
1925 android : id =" @+id/config_widget_color"
You can’t perform that action at this time.
0 commit comments