Skip to content

Commit

Permalink
* updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Iojjj committed May 23, 2016
1 parent 938ef77 commit 718aee0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ There are three implementations of LikesLayout: **LikesFrameLayout**, **LikesLin

There is the list of available attributes:

| Attribute name | Applicable to LikesLayout? | Can be overridden by child? | Description | Default value |
| Attribute name | ATLL | CBOBC | Description | Default value |
| --- | --- | --- | --- | --- |
| likes_animationDuration | yes | yes | Animation duration in milliseconds. | 1200 |
| likes_drawable | yes | yes | Drawable that will be drawn when user presses view. | n/a |
| likes_drawableAnimator | yes | yes | Drawable animator factory. | `@string/likes_drawable_animator_factory` |
| likes_drawable | yes | yes | Drawable that will be drawn when user presses view. | null |
| likes_drawableAnimator | yes | yes | Drawable animator factory. | @string/likes_drawable_animator_factory |
| likes_drawableHeight | yes | yes | Custom drawable height. | 0 |
| likes_drawablePositionAnimator | yes | yes | Drawable's position animator factory. | `@string/likes_position_animator_factory` |
| likes_drawablePositionAnimator | yes | yes | Drawable's position animator factory. | @string/likes_position_animator_factory |
| likes_drawableWidth | yes | yes | Custom drawable width. | 0 |
| likes_mode | no | yes | Switch that allows to enable/disable drawing likes on touching child view. If `likes_drawable` is null, `likes_mode` will be considered as `disabled`. | disabled |
| likes_produceInterval | yes | yes | Rate at which new likes drawables are produced in milliseconds. | 300 |
| likes_tintMode | yes | yes | Switch that allows to enable/disable tinting drawables. | not_set |
| likes_tintColors | yes | yes | Array of colors used for tinting drawables. If array is empty, `likes_tintMode` will be considered as `off`.| n/a |
| likes_tintColors | yes | yes | Array of colors used for tinting drawables. If array is empty, `likes_tintMode` will be considered as `off`.| null |

###### Restrictions:
* If you will not set `likes_mode` or set it to `disabled`, this view will not draw any likes on touch event.
Expand Down

0 comments on commit 718aee0

Please sign in to comment.