Skip to content

Commit 6404fd0

Browse files
SEE README FOR CHANGELOGS
1 parent 683c0fa commit 6404fd0

File tree

60 files changed

+4422
-4407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+4422
-4407
lines changed
Binary file not shown.
Binary file not shown.
200 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
1.06 KB
Binary file not shown.
Binary file not shown.

.gradle/file-system.probe

0 Bytes
Binary file not shown.

.idea/workspace.xml

+3-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
![](https://github.com/TutorialsAndroid/KAlertDialog/blob/master/sample/src/main/res/mipmap-xxhdpi/ic_launcher.png)
22

3-
# New version released v17.0.19 on 28-07-22
3+
# New version released v18.0.19 on 28-07-22
44
## Changelogs
55
- Fixed issue in button color not changing
66
- Using Scalable DP library
77
- Added changing of font style
8+
- Added changing of title and content color
89
### Read the changes in README
910

1011
Alert Dialog ![API](https://img.shields.io/badge/API-19%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)
@@ -54,7 +55,7 @@ Add it in your root build.gradle at the end of repositories:
5455
Step 2. Add the dependency
5556

5657
dependencies {
57-
implementation 'com.github.TutorialsAndroid:KAlertDialog:v17.0.19'
58+
implementation 'com.github.TutorialsAndroid:KAlertDialog:v18.0.19'
5859
}
5960

6061
## Usage
@@ -144,7 +145,7 @@ To Hide Cancel And Confirm Button:
144145

145146
To Change the font of title and content:
146147

147-
new KAlertDialog(this, KAlertDialog.CUSTOM_IMAGE_TYPE, R.font.yourFontName)
148+
new KAlertDialog(this, alertType, R.font.yourFontName)
148149

149150
To Change the font of only title:
150151

@@ -154,6 +155,11 @@ To Change the font of only content:
154155

155156
.dialogContentFont(R.font.yourFontName)
156157

158+
To Change the color of title and content
159+
160+
.setTitleColor(R.color.yourColorName)
161+
.setContentColor(R.color.yourColorName)
162+
157163
Bind the listener to confirm button:
158164

159165
new KAlertDialog(this, KAlertDialog.WARNING_TYPE, 0)
Binary file not shown.
Binary file not shown.

library/build/intermediates/compile_symbol_list/debug/R.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1760,6 +1760,7 @@ int color mtrl_textinput_focused_box_stroke_color 0x0
17601760
int color mtrl_textinput_hovered_box_stroke_color 0x0
17611761
int color notification_action_color_filter 0x0
17621762
int color notification_icon_bg_color 0x0
1763+
int color orange 0x0
17631764
int color primary_dark_material_dark 0x0
17641765
int color primary_dark_material_light 0x0
17651766
int color primary_material_dark 0x0
@@ -1768,6 +1769,7 @@ int color primary_text_default_material_dark 0x0
17681769
int color primary_text_default_material_light 0x0
17691770
int color primary_text_disabled_material_dark 0x0
17701771
int color primary_text_disabled_material_light 0x0
1772+
int color red 0x0
17711773
int color red_btn_bg_color 0x0
17721774
int color red_btn_bg_pressed_color 0x0
17731775
int color ripple_material_dark 0x0

library/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Thu Jul 28 17:39:03 IST 2022
1+
#Thu Jul 28 22:47:59 IST 2022
22
com.developer.kalert.library-pngs-0\:/drawable-xxhdpi/ic_success_tick.png=D\:\\Projects\\AndroidLibraries\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable-xxhdpi-v4\\ic_success_tick.png
33
com.developer.kalert.library-main-7\:/layout/alert_dialog.xml=D\:\\Projects\\AndroidLibraries\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\layout\\alert_dialog.xml
44
com.developer.kalert.library-main-7\:/drawable/success_circle.xml=D\:\\Projects\\AndroidLibraries\\KAlertDialog-master\\library\\build\\intermediates\\packaged_res\\debug\\drawable\\success_circle.xml

0 commit comments

Comments
 (0)