File tree Expand file tree Collapse file tree 5 files changed +9
-8
lines changed
sample/src/main/java/cn/pedant/SweetAlert/sample Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ The simplest way to use SweetAlertDialog is to add the library as aar dependency
44
44
<dependency>
45
45
<groupId>com.github.f0ris.sweetalert</groupId>
46
46
<artifactId>library</artifactId>
47
- <version>1.6.1 </version>
47
+ <version>1.6.2 </version>
48
48
<type>aar</type>
49
49
</dependency>
50
50
@@ -55,7 +55,7 @@ The simplest way to use SweetAlertDialog is to add the library as aar dependency
55
55
}
56
56
57
57
dependencies {
58
- implementation 'com.github.f0ris.sweetalert:library:1.6.1 '
58
+ implementation 'com.github.f0ris.sweetalert:library:1.6.2 '
59
59
}
60
60
61
61
## Usage
Original file line number Diff line number Diff line change 1
- VERSION_NAME =1.6.1
2
- VERSION_CODE =13
1
+ VERSION_NAME =1.6.2
2
+ VERSION_CODE =14
3
3
GROUP =com.github.f0ris.sweetalert
4
4
5
5
POM_DESCRIPTION =SweetAlert for Android, a beautiful and clever alert dialog.
Original file line number Diff line number Diff line change 1
1
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
2
package =" cn.pedant.SweetAlert"
3
- android : versionCode =" 13 "
4
- android : versionName =" 1.6.1 " >
3
+ android : versionCode =" 14 "
4
+ android : versionName =" 1.6.2 " >
5
5
6
6
<uses-sdk android : targetSdkVersion =" 27" />
7
7
<application />
Original file line number Diff line number Diff line change 9
9
10
10
<LinearLayout
11
11
android : id =" @+id/loading"
12
- android : layout_width =" @dimen/alert_width "
12
+ android : layout_width =" wrap_content "
13
13
android : layout_height =" wrap_content"
14
14
android : layout_gravity =" center"
15
15
android : gravity =" center"
16
+ android : minWidth =" @dimen/alert_width"
16
17
android : orientation =" vertical"
17
18
android : paddingBottom =" 15dp"
18
19
android : paddingLeft =" 30dp"
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ public void onShow(DialogInterface dialog) {
248
248
case R .id .custom_btn_colors_test :
249
249
new SweetAlertDialog (this , SweetAlertDialog .NORMAL_TYPE )
250
250
.setTitleText ("Custom view" )
251
- .setCancelButton ("red, " , null )
251
+ .setCancelButton ("red" , null )
252
252
.setCancelButtonBackgroundColor (Color .RED )
253
253
.setNeutralButton ("cyan" , null )
254
254
.setNeutralButtonBackgroundColor (Color .CYAN )
You can’t perform that action at this time.
0 commit comments