@@ -18,7 +18,7 @@ TODO (waiting for jcenter approval)
1818
1919## API Docs
2020
21- The library provides 3 widget with extended functionality for the drawables.
21+ The library provides 3 views with extended functionalities for drawables.
2222
2323Those are:
2424
@@ -34,11 +34,11 @@ compatibility with every SDK version.
3434You can add a ``` CsDrawable ``` via XML or via Code, below i will show you both the implementations
3535
3636#### XML
37- After had declared
37+ After declaring
3838```
3939xmlns:app="http://schemas.android.com/apk/res-auto"
4040```
41- in the top parent layout you can specify all those properties
41+ in the top parent layout, you can specify the custom properties shown below
4242
4343```
4444<com.matpag.clickdrawabletextview.ClickDrawableEditText
@@ -59,7 +59,6 @@ in the top parent layout you can specify all those properties
5959 app:csBottomDrawable="@drawable/close_blue"
6060 app:csBottomDrawableHeight="30dp"
6161 app:csBottomDrawableWidth="30dp"
62- app:csEnableRTL="true"
6362 />
6463```
6564
@@ -73,7 +72,7 @@ app:csBottomDrawable
7372providing a reference to a drawable of any type.
7473
7574If you don't specify any size for the drawable, automatically the drawable will be sized
76- to the width and height of the drawable itself (alled ** intrinsic** in the android
75+ to the width and height of the drawable itself (called ** intrinsic** in the android
7776platform).
7877
7978If you dont want to resize your original drawable resource, i suggest you to
@@ -106,13 +105,8 @@ app:csEndDrawableVisible
106105app:csTopDrawableVisible
107106app:csBottomDrawableVisible
108107```
109- with ``` true ``` (default) or ``` false ``` attribute
108+ with ``` true ``` (default) or ``` false ``` value
110109
111- If you need to support RTL locales, you can enable it with
112- ```
113- app:csEnableRTL="true"
114- ```
115- with ``` true ``` (default in the next release) or ``` false ``` attribute.
116110
117111Don't forget to enable the RTL support in your ``` AndroidManifest.xml ``` adding
118112``` android:supportsRtl="true" ``` to the * application* tag
0 commit comments