Skip to content

Commit

Permalink
更新README
Browse files Browse the repository at this point in the history
  • Loading branch information
chaychan committed Aug 2, 2017
1 parent abb3f00 commit ac08f33
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,16 @@
<attr name="textColorSelected" format="color"/>
<!--文字和图标的顶部距离-->
<attr name="itemMarginTop" format="dimension"/>
<!--是否开启触摸背景效果-->
<attr name="openTouchBg" format="boolean"/>
<!--设置触摸背景-->
<attr name="touchDrawable" format="reference"/>
<!--设置图标的宽度-->
<attr name="iconWidth" format="dimension"/>
<!--设置图标的高度-->
<attr name="iconHeight" format="dimension"/>
<!--设置BottomBarItem的padding-->
<attr name="itemPadding" format="dimension"/>

#### java文件中设置

Expand Down Expand Up @@ -223,7 +233,7 @@
打开app的module中的build.gradle,在dependencies{}中,添加依赖,如下:

dependencies {
compile 'com.github.chaychan:BottomBarLayout:1.0.0'
compile 'com.github.chaychan:BottomBarLayout:1.0.2'
}


Expand Down

0 comments on commit ac08f33

Please sign in to comment.