From 9396d12bb94c4990d9bb670bbb98a2106fa7fdcd Mon Sep 17 00:00:00 2001 From: chaychan <844738237@qq.com> Date: Wed, 10 Jan 2018 15:15:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 8318f65..be7ec0b 100644 --- a/README.md +++ b/README.md @@ -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);//隐藏第三个页签显示提示的小红点 -- GitLab