Android 如何制作这个底部导航栏?
你好强> 我只是想知道,是否有可能制作一个底部导航栏,比如,用这个惊人的蓝色中间按钮。我只想要设计(xml代码)。你能帮我吗Android 如何制作这个底部导航栏?,android,android-studio,Android,Android Studio,你好 我只是想知道,是否有可能制作一个底部导航栏,比如,用这个惊人的蓝色中间按钮。我只想要设计(xml代码)。你能帮我吗 谢谢我想你可以从这个开始得到你想要的效果 然后你必须工作,我猜是圆,这样你可以在另一个教程之后放大,改变大小,试着热身,对概念有信心,然后你将用代码找到五个解决方案 您找到解决方案了吗?请回顾我的回答 <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.an
谢谢我想你可以从这个开始得到你想要的效果 然后你必须工作,我猜是圆,这样你可以在另一个教程之后放大,改变大小,试着热身,对概念有信心,然后你将用代码找到五个解决方案
您找到解决方案了吗?请回顾我的回答
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- Other components and views -->
<com.google.android.material.bottomappbar.BottomAppBar
android:id="@+id/bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
app:navigationIcon="@drawable/ic_menu_24"/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_anchor="@id/bar"/>
</android.support.design.widget.CoordinatorLayout>