Module_Test/app/src/main/res/layout/activity_own.xml
2024-11-28 14:34:49 +08:00

36 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Person Center"
android:textStyle="bold"
android:textSize="50sp"
android:gravity="center"
tools:ignore="MissingConstraints" />
</LinearLayout>
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_navgation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:itemTextColor="@drawable/selector"
app:itemIconTint="@drawable/selector"
app:menu="@menu/menu_navgation"
android:background="#00aaff"
android:layout_alignParentBottom="true"
tools:ignore="MissingConstraints" />
</RelativeLayout>