Skip to content

Commit 19e6e04

Browse files
committed
updating commons, kotlin, gradle
1 parent 5513e11 commit 19e6e04

File tree

7 files changed

+31
-36
lines changed

7 files changed

+31
-36
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ android {
5656
}
5757

5858
dependencies {
59-
implementation 'com.simplemobiletools:commons:5.23.8'
59+
implementation 'com.simplemobiletools:commons:5.28.23'
6060
implementation 'com.squareup:otto:1.3.8'
6161
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
6262
}
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<RelativeLayout
3-
xmlns:android="http://schemas.android.com/apk/res/android"
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
43
android:id="@+id/bright_display_holder"
54
android:layout_width="match_parent"
65
android:layout_height="match_parent">
@@ -9,7 +8,7 @@
98
android:id="@+id/bright_display"
109
android:layout_width="match_parent"
1110
android:layout_height="match_parent"
12-
android:background="@android:color/white"/>
11+
android:background="@android:color/white" />
1312

1413
<TextView
1514
android:id="@+id/bright_display_change_color"
@@ -20,6 +19,6 @@
2019
android:background="@drawable/button_background"
2120
android:padding="@dimen/activity_margin"
2221
android:text="@string/change_color"
23-
android:textSize="@dimen/big_text_size"/>
22+
android:textSize="@dimen/big_text_size" />
2423

2524
</RelativeLayout>

app/src/main/res/layout/activity_main.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<ScrollView
3-
xmlns:android="http://schemas.android.com/apk/res/android"
2+
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
43
xmlns:app="http://schemas.android.com/apk/res-auto"
54
android:id="@+id/main_scrollview"
65
android:layout_width="match_parent"
@@ -23,7 +22,7 @@
2322
app:layout_constraintEnd_toEndOf="parent"
2423
app:layout_constraintHorizontal_bias="0.5"
2524
app:layout_constraintStart_toStartOf="parent"
26-
app:layout_constraintTop_toTopOf="parent"/>
25+
app:layout_constraintTop_toTopOf="parent" />
2726

2827
<ImageView
2928
android:id="@+id/bright_display_btn"
@@ -37,7 +36,7 @@
3736
app:layout_constraintEnd_toEndOf="parent"
3837
app:layout_constraintHorizontal_bias="0.5"
3938
app:layout_constraintStart_toStartOf="parent"
40-
app:layout_constraintTop_toBottomOf="@+id/flashlight_btn"/>
39+
app:layout_constraintTop_toBottomOf="@+id/flashlight_btn" />
4140

4241
<TextView
4342
android:id="@+id/sos_btn"
@@ -54,7 +53,7 @@
5453
app:layout_constraintEnd_toEndOf="parent"
5554
app:layout_constraintHorizontal_bias="0.5"
5655
app:layout_constraintStart_toStartOf="parent"
57-
app:layout_constraintTop_toBottomOf="@+id/bright_display_btn"/>
56+
app:layout_constraintTop_toBottomOf="@+id/bright_display_btn" />
5857

5958
<ImageView
6059
android:id="@+id/stroboscope_btn"
@@ -67,7 +66,7 @@
6766
app:layout_constraintEnd_toEndOf="parent"
6867
app:layout_constraintHorizontal_bias="0.5"
6968
app:layout_constraintStart_toStartOf="parent"
70-
app:layout_constraintTop_toBottomOf="@+id/sos_btn"/>
69+
app:layout_constraintTop_toBottomOf="@+id/sos_btn" />
7170

7271
<com.simplemobiletools.commons.views.MySeekBar
7372
android:id="@+id/stroboscope_bar"
@@ -81,7 +80,7 @@
8180
app:layout_constraintEnd_toEndOf="parent"
8281
app:layout_constraintHorizontal_bias="0.5"
8382
app:layout_constraintStart_toStartOf="parent"
84-
app:layout_constraintTop_toBottomOf="@+id/stroboscope_btn"/>
83+
app:layout_constraintTop_toBottomOf="@+id/stroboscope_btn" />
8584

8685
</androidx.constraintlayout.widget.ConstraintLayout>
8786
</ScrollView>

app/src/main/res/layout/activity_settings.xml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<ScrollView
3-
xmlns:android="http://schemas.android.com/apk/res/android"
2+
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
43
xmlns:app="http://schemas.android.com/apk/res-auto"
54
android:id="@+id/settings_scrollview"
65
android:layout_width="match_parent"
@@ -29,7 +28,7 @@
2928
android:layout_height="wrap_content"
3029
android:layout_centerVertical="true"
3130
android:paddingStart="@dimen/medium_margin"
32-
android:text="@string/purchase_simple_thank_you"/>
31+
android:text="@string/purchase_simple_thank_you" />
3332

3433
</RelativeLayout>
3534

@@ -50,7 +49,7 @@
5049
android:layout_height="wrap_content"
5150
android:layout_centerVertical="true"
5251
android:paddingStart="@dimen/medium_margin"
53-
android:text="@string/customize_colors"/>
52+
android:text="@string/customize_colors" />
5453

5554
</RelativeLayout>
5655

@@ -71,7 +70,7 @@
7170
android:layout_height="wrap_content"
7271
android:layout_centerVertical="true"
7372
android:paddingStart="@dimen/medium_margin"
74-
android:text="@string/customize_widget_colors"/>
73+
android:text="@string/customize_widget_colors" />
7574

7675
</RelativeLayout>
7776

@@ -94,7 +93,7 @@
9493
android:clickable="false"
9594
android:paddingStart="@dimen/medium_margin"
9695
android:text="@string/use_english_language"
97-
app:switchPadding="@dimen/medium_margin"/>
96+
app:switchPadding="@dimen/medium_margin" />
9897

9998
</RelativeLayout>
10099

@@ -117,7 +116,7 @@
117116
android:clickable="false"
118117
android:paddingStart="@dimen/medium_margin"
119118
android:text="@string/turn_flashlight_on"
120-
app:switchPadding="@dimen/medium_margin"/>
119+
app:switchPadding="@dimen/medium_margin" />
121120

122121
</RelativeLayout>
123122

@@ -140,7 +139,7 @@
140139
android:clickable="false"
141140
android:paddingStart="@dimen/medium_margin"
142141
android:text="@string/bright_display"
143-
app:switchPadding="@dimen/medium_margin"/>
142+
app:switchPadding="@dimen/medium_margin" />
144143

145144
</RelativeLayout>
146145

@@ -163,7 +162,7 @@
163162
android:clickable="false"
164163
android:paddingStart="@dimen/medium_margin"
165164
android:text="@string/show_sos"
166-
app:switchPadding="@dimen/medium_margin"/>
165+
app:switchPadding="@dimen/medium_margin" />
167166

168167
</RelativeLayout>
169168

@@ -186,7 +185,7 @@
186185
android:clickable="false"
187186
android:paddingStart="@dimen/medium_margin"
188187
android:text="@string/show_stroboscope"
189-
app:switchPadding="@dimen/medium_margin"/>
188+
app:switchPadding="@dimen/medium_margin" />
190189

191190
</RelativeLayout>
192191

@@ -209,7 +208,7 @@
209208
android:clickable="false"
210209
android:paddingStart="@dimen/medium_margin"
211210
android:text="@string/force_portrait_mode"
212-
app:switchPadding="@dimen/medium_margin"/>
211+
app:switchPadding="@dimen/medium_margin" />
213212

214213
</RelativeLayout>
215214
</LinearLayout>

app/src/main/res/layout/widget.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<ImageView
3-
xmlns:android="http://schemas.android.com/apk/res/android"
2+
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
43
android:id="@+id/flashlight_btn"
54
android:layout_width="wrap_content"
65
android:layout_height="wrap_content"
7-
android:layout_margin="5dp"/>
6+
android:layout_margin="5dp" />

app/src/main/res/layout/widget_config.xml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<RelativeLayout
3-
xmlns:android="http://schemas.android.com/apk/res/android"
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
43
android:layout_width="match_parent"
54
android:layout_height="wrap_content"
65
android:layout_centerHorizontal="true"
@@ -18,21 +17,21 @@
1817
android:id="@+id/config_image"
1918
android:layout_width="@dimen/main_button_size"
2019
android:layout_height="@dimen/main_button_size"
21-
android:background="@drawable/ic_flashlight"/>
20+
android:background="@drawable/ic_flashlight" />
2221
</RelativeLayout>
2322

2423
<ImageView
2524
android:id="@+id/config_widget_color"
2625
android:layout_width="@dimen/widget_colorpicker_size"
2726
android:layout_height="@dimen/widget_colorpicker_size"
28-
android:layout_above="@+id/config_save"/>
27+
android:layout_above="@+id/config_save" />
2928

3029
<RelativeLayout
3130
android:id="@+id/config_widget_seekbar_holder"
3231
android:layout_width="match_parent"
3332
android:layout_height="match_parent"
34-
android:layout_alignBottom="@+id/config_widget_color"
3533
android:layout_alignTop="@+id/config_widget_color"
34+
android:layout_alignBottom="@+id/config_widget_color"
3635
android:layout_toRightOf="@+id/config_widget_color"
3736
android:background="@android:color/white">
3837

@@ -42,21 +41,21 @@
4241
android:layout_height="wrap_content"
4342
android:layout_centerVertical="true"
4443
android:paddingLeft="@dimen/activity_margin"
45-
android:paddingRight="@dimen/activity_margin"/>
44+
android:paddingRight="@dimen/activity_margin" />
4645
</RelativeLayout>
4746

4847
<Button
4948
android:id="@+id/config_save"
5049
android:layout_width="wrap_content"
5150
android:layout_height="wrap_content"
52-
android:layout_alignParentBottom="true"
5351
android:layout_alignParentRight="true"
52+
android:layout_alignParentBottom="true"
5453
android:background="@color/gradient_grey_start"
5554
android:fontFamily="sans-serif-light"
5655
android:paddingLeft="@dimen/activity_margin"
5756
android:paddingRight="@dimen/activity_margin"
5857
android:text="@string/ok"
5958
android:textColor="@color/color_primary"
60-
android:textSize="@dimen/big_text_size"/>
59+
android:textSize="@dimen/big_text_size" />
6160

6261
</RelativeLayout>

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.3.70'
4+
ext.kotlin_version = '1.3.72'
55

66
repositories {
77
google()
88
jcenter()
99
}
1010

1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:3.6.1'
12+
classpath 'com.android.tools.build:gradle:3.6.3'
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414

1515
// NOTE: Do not place your application dependencies here; they belong

0 commit comments

Comments
 (0)