【问题标题】:Bottom Bar title not displayed proper using "com.roughike:bottom-bar:1.4.0.1" library使用“com.roughike:bottom-bar:1.4.0.1”库未正确显示底栏标题
【发布时间】:2017-01-29 05:49:52
【问题描述】:

这是我的底部栏

我正在使用 com.roughike:bottom-bar:1.4.0.1

现在的问题是,

底部栏的某些标题未完全显示。

like.. 添加产品通知 .

我尝试了太多但没有找到结果。

提前致谢。

【问题讨论】:

  • 减小文本大小
  • 怎么样?? com.roughike:bottom-bar:1.4.0.1 lib 有什么方法吗?

标签: android material-design material-ui


【解决方案1】:

您可以使用 Grantland's AutoFitTextView 库来调整文本大小以适应其边界。

【讨论】:

  • 尝试将其添加到 styles.xml。这可以在不使用库的情况下单独解决您的问题。
  • 如何将它与底部栏一起使用是主要问题。将代码添加到 style.xml 后如何使用它。 ???
  • 使用 xml style = @style/BB_BottomBarItem_Fixed 属性将此样式添加为您的bottomBar 样式
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-04-07
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多