Skip to content

Commit

Permalink
README.md updated
Browse files Browse the repository at this point in the history
  • Loading branch information
askarsyzdykov committed Apr 28, 2018
1 parent 5d74d92 commit 9751573
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# KazakhCharsView
[![](https://jitpack.io/v/askarsyzdykov/kazakhcharsview.svg)](https://jitpack.io/#askarsyzdykov/kazakhcharsview)

Add it in your root build.gradle at the end of repositories:
## Requirements
* Minimum SDK version: 16

## Usage

Step 1. Add it in your root build.gradle at the end of repositories:

allprojects {
repositories {
Expand All @@ -16,4 +21,11 @@ Step 2. Add the dependency
}
<img src="/screenshots/Screenshot_1524750953.png" alt="Drawing" width="300px"/>

The following properties are available:

| property name | type | description |
| ---------------------------------- | ----------------- | ------------------------------------------------------------------- |
| app:kcv_allCaps | boolean | Present the text in ALL CAPS. |
| app:kcv_fontSize | dimension | Size of the text. |
| app:kcv_textColor | color or resource | Text color. |
| app:kcv_type | enum | cyrillic or latin, e.g. Ә for cyrillic or Á for latin |
1 change: 0 additions & 1 deletion library/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="KazCharsView">
<attr name="kcv_autoFillCurrentEditText" format="boolean" />
<attr name="kcv_allCaps" format="boolean" />
<attr name="kcv_fontSize" format="dimension" />
<attr name="kcv_textColor" format="color" />
Expand Down

0 comments on commit 9751573

Please sign in to comment.