Skip to content

Commit

Permalink
UPDATE README
Browse files Browse the repository at this point in the history
  • Loading branch information
misakuo committed Jan 20, 2016
1 parent c8ad60e commit dfdf56f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ TagCloudView是一个完全基于Android ViewGroup编写的控件,支持将一
##### Eclipse
copy代码,或转向Android Studio
##### Android Studio / IDEA
1.`build.gradle`中添加
-`build.gradle`中添加
```
compile 'com.moxun:tagcloudlib:1.0.2'
```

2. 在布局文件中引入
- 在布局文件中引入
```
<com.moxun.tagcloudlib.view.TagCloudView/>
```

3. 设置Adapter
- 设置Adapter
继承`TagsAdapter`,实现以下方法

**public int getCount();**
Expand All @@ -32,7 +32,7 @@ compile 'com.moxun:tagcloudlib:1.0.2'
**public void onThemeColorChanged(View view,int themeColor);**
*Tag主题色发生变化时会回调该方法*

4. 定制属性
- 定制属性

| 属性 | xml | 代码 |值类型|
|:------------: |:-------------:| :----:|:-:
Expand Down

0 comments on commit dfdf56f

Please sign in to comment.