简体   繁体   中英

How to create bottom Navigation bar like Material.io

I have been trying to configure the bottom navigation bar to looks like the material.io,

I checked https://material.io/develop/android/components/bottom-navigation-view/ and https://developer.android.com/reference/com/google/android/material/bottomnavigation/BottomNavigationView

I am out of luck, and looks like they may not use BottomNavigationView.calss to create this

在此处输入图片说明

https://material.io/design/environment/surfaces.html#attributes

You can implement that bottom app bar on Android with BottomAppBar from com.google.android.material:material:1.0.0 . Here is the reference guide : https://material.io/develop/android/components/bottom-app-bar/

There is a "Develop" section on material.io that teaches you how to use libraries to use each component on all platforms. At the moment, most components are not implemented on Android, but hopefully BottomAppBar is already available !

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM