为了简化起见,只写关键属性,具体需要可以自己慢慢调
顶部标题title_layout.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:background="@color/yellow"
>
<Button
android:visibility="invisible"/>
<TextView
android:text="title"/>
<Button
android:visibility="invisible"/>
</LinearLayout>
底部栏bottom.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:layout_height="63dp"
android:background="@drawable/foot_bg"
>
<TextView
android:layout_weight="1"/>
<LinearLayout
android:layout_weight="1"
android:clickable="true"
>
<Button
android:clickable="false"
android:background="@drawable/home_normal_icon"/>
<!--字体36px,12dp,-->
<