Skip to content

Commit d37422b

Browse files
committed
Fixed cutting of buttons text. R 1.6.2
1 parent 4bcd575 commit d37422b

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The simplest way to use SweetAlertDialog is to add the library as aar dependency
4444
<dependency>
4545
<groupId>com.github.f0ris.sweetalert</groupId>
4646
<artifactId>library</artifactId>
47-
<version>1.6.1</version>
47+
<version>1.6.2</version>
4848
<type>aar</type>
4949
</dependency>
5050

@@ -55,7 +55,7 @@ The simplest way to use SweetAlertDialog is to add the library as aar dependency
5555
}
5656

5757
dependencies {
58-
implementation 'com.github.f0ris.sweetalert:library:1.6.1'
58+
implementation 'com.github.f0ris.sweetalert:library:1.6.2'
5959
}
6060

6161
## Usage

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION_NAME=1.6.1
2-
VERSION_CODE=13
1+
VERSION_NAME=1.6.2
2+
VERSION_CODE=14
33
GROUP=com.github.f0ris.sweetalert
44

55
POM_DESCRIPTION=SweetAlert for Android, a beautiful and clever alert dialog.

library/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="cn.pedant.SweetAlert"
3-
android:versionCode="13"
4-
android:versionName="1.6.1">
3+
android:versionCode="14"
4+
android:versionName="1.6.2">
55

66
<uses-sdk android:targetSdkVersion="27" />
77
<application />

library/src/main/res/layout/alert_dialog.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99

1010
<LinearLayout
1111
android:id="@+id/loading"
12-
android:layout_width="@dimen/alert_width"
12+
android:layout_width="wrap_content"
1313
android:layout_height="wrap_content"
1414
android:layout_gravity="center"
1515
android:gravity="center"
16+
android:minWidth="@dimen/alert_width"
1617
android:orientation="vertical"
1718
android:paddingBottom="15dp"
1819
android:paddingLeft="30dp"

sample/src/main/java/cn/pedant/SweetAlert/sample/SampleActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public void onShow(DialogInterface dialog) {
248248
case R.id.custom_btn_colors_test:
249249
new SweetAlertDialog(this, SweetAlertDialog.NORMAL_TYPE)
250250
.setTitleText("Custom view")
251-
.setCancelButton("red,", null)
251+
.setCancelButton("red", null)
252252
.setCancelButtonBackgroundColor(Color.RED)
253253
.setNeutralButton("cyan", null)
254254
.setNeutralButtonBackgroundColor(Color.CYAN)

0 commit comments

Comments
 (0)