Skip to content

Commit efff94d

Browse files
authored
Update README.md
1 parent 01e6177 commit efff94d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@
1919
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Checkable%20TextView-orange.svg?style=flat)](https://android-arsenal.com/details/1/7770)
2020
[![GitHub license](https://img.shields.io/github/license/JDevZone/CheckableTextView.svg?style=flat)](https://github.com/JDevZone/CheckableTextView/blob/master/LICENSE)
2121

22+
---------------------------
23+
### What's New
24+
25+
| Animation | Demo |
26+
| --- | :---: |
27+
| <p align="center">Normal </br> (duration = 250 ms)</p> | <img src="sample_01.gif" width="90%"/> |
28+
| <p align="center">Custom Duration </br> (duration = 2000 ms)</p> | <img src="sample_slowmo.gif" width="90%" /> |
29+
30+
> Sorry for flicker in slow motion video demo . You know android studio screen recorder sucks sometimes :sweat_smile:
31+
32+
<br/><br/>
2233
---------------------------
2334
### Installation
2435

@@ -112,6 +123,8 @@ Here are the attributes you can specify through XML or related setters:
112123
* `ctv_IconTint` - Set icon tint.
113124
* `ctv_IconChecked` - Set TextView (`CheckableTextView`) state checked.
114125
* `ctv_TextGravity` - Set text gravity.
126+
* `ctv_AnimType` - Set check animation type currently only two available (`scale` and `translate`).
127+
* `ctv_AnimDuration` - Set duration for check animation.
115128

116129
### 📄 License
117130

0 commit comments

Comments
 (0)