Skip to content

Commit 13fd5b3

Browse files
author
hongyangAndroid
committed
upload to jcenter
1 parent 42aad0b commit 13fd5b3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,25 @@ also , I wanna View has same margin for all direction , if we use 5% , leftMargi
6262

6363
有时候,我希望View的margin在4个方向的值是一致的,如果使用原本的库,5%会造成横向与纵向的值不一致。而根据添加的功能,你可以使用:`app:layout_marginPercent="5%w"`
6464

65+
66+
## How to use
67+
68+
对于Android Studio,只需要添加:
69+
70+
```xml
71+
compile 'com.zhy:percent-support-extends:1.0'
72+
```
73+
74+
就可以使用,所有的类名为,源码的话,大家直接下载这个库即可:
75+
76+
```java
77+
com.zhy.android.percent.support.PercentLinearLayout
78+
com.zhy.android.percent.support.PercentRelativeLayout
79+
com.zhy.android.percent.support.PercentFrameLayout
80+
```
81+
82+
83+
6584
##Some Example
6685

6786
<img src="sc_01.png" width="320px"/>
@@ -269,6 +288,8 @@ xml:
269288

270289
```
271290

291+
292+
272293
## About me
273294

274295
* [my blog](http://blog.csdn.net/lmj623565791)

0 commit comments

Comments
 (0)