Skip to content

Commit

Permalink
ADDED SUPPORT FOR OLDER VERSIONS ANDROID AND ADDED ABILITY TO HIDE CO…
Browse files Browse the repository at this point in the history
…NFIRM BUTTON
  • Loading branch information
TutorialsAndroid committed May 22, 2020
1 parent 515fa21 commit 82d3d80
Show file tree
Hide file tree
Showing 41 changed files with 86 additions and 2,001 deletions.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,950 changes: 21 additions & 1,929 deletions .idea/workspace.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![](https://github.com/TutorialsAndroid/KAlertDialog/blob/master/sample/src/main/res/mipmap-xxhdpi/ic_launcher.png)

Alert Dialog ![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat) [![Known Vulnerabilities](https://snyk.io/test/github/TutorialsAndroid/KAlertDialog/badge.svg?targetFile=library%2Fbuild.gradle)](https://snyk.io/test/github/TutorialsAndroid/KAlertDialog?targetFile=library%2Fbuild.gradle) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-KAlertDiaog-blue.svg?style=flat)](https://android-arsenal.com/details/1/7588) [![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0)
Alert Dialog ![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat) [![Known Vulnerabilities](https://snyk.io/test/github/TutorialsAndroid/KAlertDialog/badge.svg?targetFile=library%2Fbuild.gradle)](https://snyk.io/test/github/TutorialsAndroid/KAlertDialog?targetFile=library%2Fbuild.gradle) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-KAlertDiaog-blue.svg?style=flat)](https://android-arsenal.com/details/1/7588) [![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0)
===================
AlertDialog for Android, a beautiful and material alert dialog to use in your android app.

Expand Down Expand Up @@ -40,7 +40,7 @@ Add it in your root build.gradle at the end of repositories:
Step 2. Add the dependency

dependencies {
implementation 'com.github.TutorialsAndroid:KAlertDialog:v10.0.19'
implementation 'com.github.TutorialsAndroid:KAlertDialog:v11.0.19'
}

## Usage
Expand Down
10 changes: 5 additions & 5 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ android {
compileSdkVersion 29

defaultConfig {
minSdkVersion 21
minSdkVersion 15
targetSdkVersion 29
versionCode 17
versionName "10.0.19"
versionCode 18
versionName "11.0.19"
}

compileOptions {
Expand All @@ -33,6 +33,6 @@ dependencies {
//ANDROID SUPPORT LIBRARIES
implementation 'androidx.appcompat:appcompat:1.1.0'

//KINDA PROGRESSX LIBRARY
implementation 'com.github.TutorialsAndroid:progressx:v4.0.19'
//TUTORIALS ANDROID LIBRARIES
implementation 'com.github.TutorialsAndroid:progressx:v5.0.19'
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ public final class BuildConfig {
public static final String APPLICATION_ID = "com.developer.kalert";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 17;
public static final String VERSION_NAME = "10.0.19";
public static final int VERSION_CODE = 18;
public static final String VERSION_NAME = "11.0.19";
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.developer.kalert"
android:versionCode="17"
android:versionName="10.0.19" >
android:versionCode="18"
android:versionName="11.0.19" >

<uses-sdk
android:minSdkVersion="21"
android:minSdkVersion="15"
android:targetSdkVersion="29" />

<application />
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"outputType":{"type":"AAPT_FRIENDLY_MERGED_MANIFESTS"},"apkData":{"type":"MAIN","splits":[],"versionCode":17,"versionName":"10.0.19","enabled":true,"outputFile":"library-debug.aar","fullName":"debug","baseName":"debug","dirName":""},"path":"AndroidManifest.xml","properties":{"packageId":"com.developer.kalert","split":""}}]
[{"outputType":{"type":"AAPT_FRIENDLY_MERGED_MANIFESTS"},"apkData":{"type":"MAIN","splits":[],"versionCode":18,"versionName":"11.0.19","enabled":true,"outputFile":"library-debug.aar","fullName":"debug","baseName":"debug","dirName":""},"path":"AndroidManifest.xml","properties":{"packageId":"com.developer.kalert","split":""}}]
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#Fri May 22 18:16:18 IST 2020
#Fri May 22 18:53:53 IST 2020
D\:\\Projects\\KAlertDialog-master\\library\\build\\generated\\res\\pngs\\debug\\drawable-xhdpi\\ic_success_tick.png=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable-xhdpi-v4\\ic_success_tick.png
D\:\\Projects\\KAlertDialog-master\\library\\build\\generated\\res\\pngs\\debug\\drawable-xxhdpi\\ic_success_tick.png=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable-xxhdpi-v4\\ic_success_tick.png
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\warning_circle.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\warning_circle.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\anim\\success_bow_roate.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\anim\\success_bow_roate.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\anim\\error_x_in.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\anim\\error_x_in.xml
Expand All @@ -7,15 +9,20 @@ D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\anim\\modal_out.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\dialoglight.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\dialoglight.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\dialogdark.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\dialogdark.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\ic_success_tick.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\ic_success_tick.xml
D\:\\Projects\\KAlertDialog-master\\library\\build\\generated\\res\\pngs\\debug\\drawable-mdpi\\ic_success_tick.png=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable-mdpi-v4\\ic_success_tick.png
D\:\\Projects\\KAlertDialog-master\\library\\build\\generated\\res\\pngs\\debug\\drawable-hdpi\\ic_success_tick.png=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable-hdpi-v4\\ic_success_tick.png
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\anim\\success_mask_layout.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\anim\\success_mask_layout.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\success_bow.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\success_bow.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\anim\\modal_in.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\anim\\modal_in.xml
D\:\\Projects\\KAlertDialog-master\\library\\build\\generated\\res\\pngs\\debug\\drawable-anydpi-v21\\ic_success_tick.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable-anydpi-v21\\ic_success_tick.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\error_circle.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\error_circle.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\success_circle.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\success_circle.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\layout\\alert_dialog.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\layout\\alert_dialog.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\error_center_x.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\error_center_x.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\dialog_background.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\dialog_background.xml
D\:\\Projects\\KAlertDialog-master\\library\\build\\generated\\res\\pngs\\debug\\drawable-ldpi\\ic_success_tick.png=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable-ldpi-v4\\ic_success_tick.png
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\red_button_background.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\red_button_background.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\warning_sigh.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\warning_sigh.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\button_background.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\button_background.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\anim\\error_frame_in.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\anim\\error_frame_in.xml
D\:\\Projects\\KAlertDialog-master\\library\\src\\main\\res\\drawable\\button_background.xml=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\button_background.xml
D\:\\Projects\\KAlertDialog-master\\library\\build\\generated\\res\\pngs\\debug\\drawable-xxxhdpi\\ic_success_tick.png=D\:\\Projects\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable-xxxhdpi-v4\\ic_success_tick.png
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Projects\KAlertDialog-master\library\src\main\res"/><source path="D:\Projects\KAlertDialog-master\library\build\generated\res\rs\debug"/><source path="D:\Projects\KAlertDialog-master\library\build\generated\res\resValues\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Projects\KAlertDialog-master\library\src\main\res"><file name="error_frame_in" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\error_frame_in.xml" qualifiers="" type="anim"/><file name="error_x_in" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\error_x_in.xml" qualifiers="" type="anim"/><file name="modal_in" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\modal_in.xml" qualifiers="" type="anim"/><file name="modal_out" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\modal_out.xml" qualifiers="" type="anim"/><file name="success_bow_roate" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\success_bow_roate.xml" qualifiers="" type="anim"/><file name="success_mask_layout" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\success_mask_layout.xml" qualifiers="" type="anim"/><file name="button_background" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\button_background.xml" qualifiers="" type="drawable"/><file name="dialogdark" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\dialogdark.xml" qualifiers="" type="drawable"/><file name="dialoglight" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\dialoglight.xml" qualifiers="" type="drawable"/><file name="dialog_background" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\dialog_background.xml" qualifiers="" type="drawable"/><file name="error_center_x" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\error_center_x.xml" qualifiers="" type="drawable"/><file name="error_circle" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\error_circle.xml" qualifiers="" type="drawable"/><file name="gray_button_background" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\gray_button_background.xml" qualifiers="" type="drawable"/><file name="ic_success_tick" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\ic_success_tick.xml" qualifiers="" type="drawable"/><file name="red_button_background" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\red_button_background.xml" qualifiers="" type="drawable"/><file name="success_bow" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\success_bow.xml" qualifiers="" type="drawable"/><file name="success_circle" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\success_circle.xml" qualifiers="" type="drawable"/><file name="warning_circle" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\warning_circle.xml" qualifiers="" type="drawable"/><file name="warning_sigh" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\warning_sigh.xml" qualifiers="" type="drawable"/><file name="alert_dialog" path="D:\Projects\KAlertDialog-master\library\src\main\res\layout\alert_dialog.xml" qualifiers="" type="layout"/><file path="D:\Projects\KAlertDialog-master\library\src\main\res\values\attrs.xml" qualifiers=""><declare-styleable name="Rotate3dAnimation">
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Projects\KAlertDialog-master\library\src\main\res"><file path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\ic_success_tick.xml" preprocessing="true" qualifiers=""><generated-file path="D:\Projects\KAlertDialog-master\library\build\generated\res\pngs\debug\drawable-xxxhdpi\ic_success_tick.png" qualifiers="xxxhdpi-v4" type="drawable"/><generated-file path="D:\Projects\KAlertDialog-master\library\build\generated\res\pngs\debug\drawable-mdpi\ic_success_tick.png" qualifiers="mdpi-v4" type="drawable"/><generated-file path="D:\Projects\KAlertDialog-master\library\build\generated\res\pngs\debug\drawable-ldpi\ic_success_tick.png" qualifiers="ldpi-v4" type="drawable"/><generated-file path="D:\Projects\KAlertDialog-master\library\build\generated\res\pngs\debug\drawable-xxhdpi\ic_success_tick.png" qualifiers="xxhdpi-v4" type="drawable"/><generated-file path="D:\Projects\KAlertDialog-master\library\build\generated\res\pngs\debug\drawable-hdpi\ic_success_tick.png" qualifiers="hdpi-v4" type="drawable"/><generated-file path="D:\Projects\KAlertDialog-master\library\build\generated\res\pngs\debug\drawable-xhdpi\ic_success_tick.png" qualifiers="xhdpi-v4" type="drawable"/><generated-file path="D:\Projects\KAlertDialog-master\library\build\generated\res\pngs\debug\drawable-anydpi-v21\ic_success_tick.xml" qualifiers="anydpi-v21" type="drawable"/></file></source><source path="D:\Projects\KAlertDialog-master\library\build\generated\res\rs\debug"/><source path="D:\Projects\KAlertDialog-master\library\build\generated\res\resValues\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\Projects\KAlertDialog-master\library\src\main\res"><file name="error_frame_in" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\error_frame_in.xml" qualifiers="" type="anim"/><file name="error_x_in" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\error_x_in.xml" qualifiers="" type="anim"/><file name="modal_in" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\modal_in.xml" qualifiers="" type="anim"/><file name="modal_out" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\modal_out.xml" qualifiers="" type="anim"/><file name="success_bow_roate" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\success_bow_roate.xml" qualifiers="" type="anim"/><file name="success_mask_layout" path="D:\Projects\KAlertDialog-master\library\src\main\res\anim\success_mask_layout.xml" qualifiers="" type="anim"/><file name="button_background" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\button_background.xml" qualifiers="" type="drawable"/><file name="dialogdark" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\dialogdark.xml" qualifiers="" type="drawable"/><file name="dialoglight" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\dialoglight.xml" qualifiers="" type="drawable"/><file name="dialog_background" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\dialog_background.xml" qualifiers="" type="drawable"/><file name="error_center_x" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\error_center_x.xml" qualifiers="" type="drawable"/><file name="error_circle" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\error_circle.xml" qualifiers="" type="drawable"/><file name="gray_button_background" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\gray_button_background.xml" qualifiers="" type="drawable"/><file name="red_button_background" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\red_button_background.xml" qualifiers="" type="drawable"/><file name="success_bow" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\success_bow.xml" qualifiers="" type="drawable"/><file name="success_circle" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\success_circle.xml" qualifiers="" type="drawable"/><file name="warning_circle" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\warning_circle.xml" qualifiers="" type="drawable"/><file name="warning_sigh" path="D:\Projects\KAlertDialog-master\library\src\main\res\drawable\warning_sigh.xml" qualifiers="" type="drawable"/><file name="alert_dialog" path="D:\Projects\KAlertDialog-master\library\src\main\res\layout\alert_dialog.xml" qualifiers="" type="layout"/><file path="D:\Projects\KAlertDialog-master\library\src\main\res\values\attrs.xml" qualifiers=""><declare-styleable name="Rotate3dAnimation">
<attr format="enum" name="rollType">
<enum name="x" value="0"/>
<enum name="y" value="1"/>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.developer.kalert"
android:versionCode="17"
android:versionName="10.0.19" >
android:versionCode="18"
android:versionName="11.0.19" >

<uses-sdk
android:minSdkVersion="21"
android:minSdkVersion="15"
android:targetSdkVersion="29" />

<application />
Expand Down
Loading

0 comments on commit 82d3d80

Please sign in to comment.