Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ChayChan
BottomBarLayout
提交
c8094539
B
BottomBarLayout
项目概览
ChayChan
/
BottomBarLayout
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
12
列表
看板
标记
里程碑
合并请求
1
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
BottomBarLayout
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
12
Issue
12
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c8094539
编写于
1月 10, 2018
作者:
C
chaychan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新README
上级
acf66d1e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
2 deletion
+11
-2
README.md
README.md
+9
-2
library/src/main/res/values/attr.xml
library/src/main/res/values/attr.xml
+2
-0
未找到文件。
README.md
浏览文件 @
c8094539
...
...
@@ -50,10 +50,12 @@
<attr name="iconHeight" format="dimension"/>
<!--设置BottomBarItem的padding-->
<attr name="itemPadding" format="dimension"/>
<!--设置未读数字体大小-->
<!--设置未读数字体大小-->
<attr name="unreadTextSize" format="dimension"/>
<!--设置提示消息字体大小-->
<attr name="msgTextSize" format="dimension"/>
<!--设置未读数组阈值 大于阈值的数字将显示为 n+ n为设置的阈值-->
<attr name="unreadThreshold" format="integer"/>
#### 布局文件中配置
...
...
@@ -271,9 +273,14 @@
打开app的module中的build.gradle,在dependencies{}中,添加依赖,如下:
dependencies {
compile 'com.github.chaychan:BottomBarLayout:1.0.7'
compile 'com.github.chaychan:BottomBarLayout:1.0.7'
//建议使用最新版本
}
最新发布的版本可以查看
[
https://github.com/chaychan/BottomBarLayout/releases
](
https://github.com/chaychan/BottomBarLayout/releases
)
好了,到这里BottomBarLayout的介绍就到此为止了,之所以封装这个控件主要是为了方便开发,希望可以帮助到更多人,如果大家有什么想法或者意见不妨向我提出,我会不断完善BottomBarLayout的。
library/src/main/res/values/attr.xml
浏览文件 @
c8094539
...
...
@@ -32,7 +32,9 @@
<!--设置未读数组阈值 大于阈值的数字将显示为 n+ n为设置的阈值-->
<attr
name=
"unreadThreshold"
format=
"integer"
/>
</declare-styleable>
<declare-styleable
name=
"BottomBarLayout"
>
<attr
name=
"smoothScroll"
format=
"boolean"
/>
</declare-styleable>
</resources>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录