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

Lines changed: 3 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 9 additions & 3 deletions
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)

0 commit comments

Comments
 (0)