Skip to content

Commit

Permalink
Fixed cutting of buttons text. R 1.6.2
Browse files Browse the repository at this point in the history
F0RIS committed Jun 25, 2019
1 parent 4bcd575 commit d37422b
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
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
<dependency>
<groupId>com.github.f0ris.sweetalert</groupId>
<artifactId>library</artifactId>
<version>1.6.1</version>
<version>1.6.2</version>
<type>aar</type>
</dependency>

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

dependencies {
implementation 'com.github.f0ris.sweetalert:library:1.6.1'
implementation 'com.github.f0ris.sweetalert:library:1.6.2'
}

## Usage
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=1.6.1
VERSION_CODE=13
VERSION_NAME=1.6.2
VERSION_CODE=14
GROUP=com.github.f0ris.sweetalert

POM_DESCRIPTION=SweetAlert for Android, a beautiful and clever alert dialog.
4 changes: 2 additions & 2 deletions library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cn.pedant.SweetAlert"
android:versionCode="13"
android:versionName="1.6.1">
android:versionCode="14"
android:versionName="1.6.2">

<uses-sdk android:targetSdkVersion="27" />
<application />
3 changes: 2 additions & 1 deletion library/src/main/res/layout/alert_dialog.xml
Original file line number Diff line number Diff line change
@@ -9,10 +9,11 @@

<LinearLayout
android:id="@+id/loading"
android:layout_width="@dimen/alert_width"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:minWidth="@dimen/alert_width"
android:orientation="vertical"
android:paddingBottom="15dp"
android:paddingLeft="30dp"
Original file line number Diff line number Diff line change
@@ -248,7 +248,7 @@ public void onShow(DialogInterface dialog) {
case R.id.custom_btn_colors_test:
new SweetAlertDialog(this, SweetAlertDialog.NORMAL_TYPE)
.setTitleText("Custom view")
.setCancelButton("red,", null)
.setCancelButton("red", null)
.setCancelButtonBackgroundColor(Color.RED)
.setNeutralButton("cyan", null)
.setNeutralButtonBackgroundColor(Color.CYAN)

0 comments on commit d37422b

Please sign in to comment.