How to set elevation to Bottom navigation

后端 未结 3 1245
误落风尘
误落风尘 2021-02-19 08:46

So by the support V25. We have new component called Bottom navigation.

Follow the Design guidelines, the Bottom Navigation\'s elevation should

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-19 09:50

    So, for now (25.1.0) we have to set the android:background of BNV to @android:color/white to have the shadow. It will not display if you set to other color (ie your primary color)

提交回复
热议问题