Skip to content

Commit

Permalink
修改文档,增加英文文档
Browse files Browse the repository at this point in the history
  • Loading branch information
fengt committed Oct 13, 2016
1 parent 85950c9 commit b84bd3f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
34 changes: 34 additions & 0 deletions README-En.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
> ## Example——Customize EditText
---

> ### Preview
![example.gif](http://upload-images.jianshu.io/upload_images/2071764-b45df6bf1d00205e.gif)


![example.gif](http://upload-images.jianshu.io/upload_images/2071764-7be37be47251b7d4.gif)

> ### usage:
1. xml Add to

<anfq.numedittext.lib.AnFQNumEditText
android:id="@+id/anetDemo"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>

2. java Set up

anetDemo = (AnFQNumEditText) findViewById(R.id.anetDemo);
anetDemo.setEtHint("content")//Set prompt text
.setEtMinHeight(200)//Set minimum height in px
.setLength(50)//Set the total number of words
//type(SINGULAR)(PERCENTAGE)
.setType(AnFQNumEditText.SINGULAR)
.setLineColor("#3F51B5")//Setting horizontal color
.show();
> #### [blog Address](http://www.jianshu.com/p/383ba123c201)
> [English](https://github.com/FTandJYQ/AnFQNumEditText/blob/master/README-En.md)|[中文](https://github.com/FTandJYQ/AnFQNumEditText/blob/master/README.md)
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@
//TextView显示类型(SINGULAR单数类型)(PERCENTAGE百分比类型)
.setType(AnFQNumEditText.SINGULAR)
.setLineColor("#3F51B5")//设置横线颜色
.show();
.show();
> #### [博客地址](http://www.jianshu.com/p/383ba123c201)
> [English](https://github.com/FTandJYQ/AnFQNumEditText/blob/master/README-En.md)|[中文](https://github.com/FTandJYQ/AnFQNumEditText/blob/master/README.md)

0 comments on commit b84bd3f

Please sign in to comment.