From 718aee0f697c3cdaacad5916d8d3d0085f4d61cb Mon Sep 17 00:00:00 2001 From: Alexander Vlasov Date: Tue, 24 May 2016 02:12:31 +0300 Subject: [PATCH] * updated readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 67f25a4..fc43730 100644 --- a/README.md +++ b/README.md @@ -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.