yijianlianUI/app/src/main/res/layout/activity_uimain.xml

58 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@mipmap/ui_bg"
>
<FrameLayout
android:id="@+id/fragmentContainer"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toTopOf="@+id/bottom_navigation"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
>
</FrameLayout>
<LinearLayout
android:id="@+id/bottom_navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:background="@color/translate"
android:orientation="horizontal"
>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/aivHome"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/yjl_vip_page_choose"
android:layout_weight="1"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/aivCenter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/yjl_user_page"
android:layout_weight="1"
/>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/aivVip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/yjl_vip_page"
android:layout_weight="1"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>