提交 9396d12b 编写于 作者: C chaychan

更新README

上级 6702965b
......@@ -160,6 +160,8 @@
mBottomBarLayout.setSmoothScroll(true);
也可以在布局文件中指定BottomBarLayout的smoothScroll属性为true
开启后效果如下:
![](./intro_img/display2.gif)
......@@ -184,6 +186,9 @@
当未读数为1-99时,则显示对应的数字;
当未读数大于99时,显示99+;
#### 设置未读数阈值
   未读数的阈值可以指定BottomBarItem的unreadThreshold属性设置,默认该值为99,如设置 app:unreadThreshold="999" , 若未读数超过该值,则显示"999+"。
#### 隐藏提示小红点、提示消息
mBottomBarLayout.hideNotify(2);//隐藏第三个页签显示提示的小红点
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册