diff --git a/README-En.md b/README-En.md new file mode 100644 index 0000000..2479bef --- /dev/null +++ b/README-En.md @@ -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 + + + +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) \ No newline at end of file diff --git a/README.md b/README.md index a4b2d52..7e1c13a 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,8 @@ //TextView显示类型(SINGULAR单数类型)(PERCENTAGE百分比类型) .setType(AnFQNumEditText.SINGULAR) .setLineColor("#3F51B5")//设置横线颜色 - .show(); \ No newline at end of file + .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) \ No newline at end of file