File tree 1 file changed +12
-2
lines changed 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 5
5
### 1.添加XTabLayout依赖库
6
6
#### 在app目录下的build.gradle的dependencies中添加如下引用:
7
7
8
- compile 'com.androidkun:XTabLayout:1.0.9 '
8
+ compile 'com.androidkun:XTabLayout:1.1.0 '
9
9
10
10
### 2.在布局文件中设置XTabLayout属性
11
11
94
94
### a.明确指定指示器为某个长度则设置xTabIndicatorWidth
95
95
### b.指定指示器长度跟随文本变化则设置xTabDividerWidthWidthText
96
96
### c.如果需要指示器长度占满,则两个属性都不设置,默认占满。
97
-
97
+
98
+ ## 1.1.0
99
+ ### <font color =#f00 >增加设置字体粗体功能</font >
100
+ ![ 这里写图片描述] ( http://img.blog.csdn.net/20170615123443179?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvYTE1MzM1ODg4Njc=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast )
101
+ ### 使用方式:
102
+
103
+ <!-- 设置选中Tab的文本是否粗体显示-->
104
+ app:xTabTextSelectedBold="true"
105
+ <!-- 设置未选中Tab的文本是否粗体显示-->
106
+ app:xTabTextBold="true"
107
+
98
108
# [ CSDN地址] ( http://blog.csdn.net/a1533588867/article/details/53810409 )
99
109
You can’t perform that action at this time.
0 commit comments