File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
kotlin/com/simplemobiletools/flashlight/activities Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ android {
5555}
5656
5757dependencies {
58- implementation ' com.github.SimpleMobileTools:Simple-Commons:c615eda325 '
58+ implementation ' com.github.SimpleMobileTools:Simple-Commons:820461691b '
5959 implementation ' org.greenrobot:eventbus:3.2.0'
6060 implementation ' androidx.constraintlayout:constraintlayout:2.1.1'
6161}
Original file line number Diff line number Diff line change @@ -13,10 +13,12 @@ import kotlinx.android.synthetic.main.activity_bright_display.*
1313
1414class BrightDisplayActivity : SimpleActivity () {
1515 override fun onCreate (savedInstanceState : Bundle ? ) {
16- window.addFlags(WindowManager .LayoutParams .FLAG_DISMISS_KEYGUARD or
16+ window.addFlags(
17+ WindowManager .LayoutParams .FLAG_DISMISS_KEYGUARD or
1718 WindowManager .LayoutParams .FLAG_SHOW_WHEN_LOCKED or
1819 WindowManager .LayoutParams .FLAG_TURN_SCREEN_ON or
19- WindowManager .LayoutParams .FLAG_FULLSCREEN )
20+ WindowManager .LayoutParams .FLAG_FULLSCREEN
21+ )
2022
2123 useDynamicTheme = false
2224 super .onCreate(savedInstanceState)
Original file line number Diff line number Diff line change 1010 android : layout_height =" match_parent"
1111 android : background =" @android:color/white" />
1212
13- <TextView
13+ <android .widget. TextView
1414 android : id =" @+id/bright_display_change_color"
15+ style =" @style/StrokeButtonStyle"
1516 android : layout_width =" wrap_content"
1617 android : layout_height =" wrap_content"
1718 android : layout_centerInParent =" true"
1819 android : alpha =" 0.5"
19- android : background =" @drawable/button_background"
20- android : padding =" @dimen/activity_margin"
21- android : text =" @string/change_color"
22- android : textSize =" @dimen/big_text_size" />
20+ android : text =" @string/change_color" />
2321
2422</RelativeLayout >
Original file line number Diff line number Diff line change 11<resources >
22
3- <style name =" AppTheme" parent =" AppTheme.Base" />
3+ <style name =" AppTheme" parent =" AppTheme.Base" />
44
55 <style name =" FullScreenTheme" parent =" AppTheme" >
66 <item name =" android:windowContentOverlay" >@null</item >
You can’t perform that action at this time.
0 commit comments