Skip to content

Commit 0be3331

Browse files
authored
Merge pull request #29 from gzeinnumer/open-pull
Open pull
2 parents 845e13c + 56ebb18 commit 0be3331

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</h1>
77

88
<div align="center">
9-
<a><img src="https://img.shields.io/badge/Version-2.0.8-brightgreen.svg?style=flat"></a>
9+
<a><img src="https://img.shields.io/badge/Version-2.0.9-brightgreen.svg?style=flat"></a>
1010
<a><img src="https://img.shields.io/badge/ID-gzeinnumer-blue.svg?style=flat"></a>
1111
<a><img src="https://img.shields.io/badge/Java-Suport-green?logo=java&style=flat"></a>
1212
<a><img src="https://img.shields.io/badge/Koltin-Suport-green?logo=kotlin&style=flat"></a>
@@ -65,6 +65,16 @@ dependencies {
6565
</style>
6666
```
6767

68+
If you want to change default color, add value to `res/color.xml`
69+
```xml
70+
<?xml version="1.0" encoding="utf-8"?>
71+
<resources>
72+
<color name="colorPrimary">#6200EE</color>
73+
<color name="colorPrimaryDark">#3700B3</color>
74+
<color name="colorAccent">#03DAC5</color>
75+
</resources>
76+
```
77+
6878
---
6979
## USE
7080

@@ -270,6 +280,8 @@ You can Customize your dialog UI. [**ReadMore**](https://github.com/gzeinnumer/M
270280
- Color
271281
- **2.0.8**
272282
- Bug Fixing
283+
- **2.0.9**
284+
- Bug Fixing
273285

274286
---
275287

lib/src/main/res/values/colors.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<color name="colorPrimary">?attr/colorPrimary</color>
4-
<color name="colorPrimaryDark">?attr/colorPrimaryDark</color>
5-
<color name="colorAccent">?attr/colorAccent</color>
3+
<color name="colorPrimary">#6200EE</color>
4+
<color name="colorPrimaryDark">#3700B3</color>
5+
<color name="colorAccent">#03DAC5</color>
66
<color name="divider">#DCDCDC</color>
77
<color name="grey_dark">#A9A9A9</color>
88

9-
<!-- dialog custom -->
9+
<!-- dialog custom -->
1010
<color name="text_header">#FF282828</color>
1111
<color name="text_content">#FF1C1C1C</color>
1212
<dimen name="text_margin">10dp</dimen>
1313

1414

15-
1615
<color name="overlay_dark_10">#1A000000</color>
1716
<color name="overlay_dark_20">#33000000</color>
1817
<color name="overlay_dark_30">#4D000000</color>

0 commit comments

Comments
 (0)