【发布时间】:2019-01-28 16:34:50
【问题描述】:
我正在使用来自谷歌的BottomAppBar,如下所示:
<com.google.android.material.bottomappbar.BottomAppBar
android:id="@+id/vNavigationBar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
自定义底栏是平的,我需要在底栏上添加圆角(下图示例)
我应该怎么做才能以这种方式工作?
【问题讨论】:
-
我强烈建议不要按照你的想法去做,因为它违反了材料设计指南:material.io/design/components/app-bars-bottom.html#
标签: android xml android-layout material-components-android android-bottomappbar