<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:id="@+id/pageTitleView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/mainThemeColor"
android:gravity="center"
android:paddingVertical="15dp"
android:text="@string/app_name"
android:textColor="@color/white"
android:textSize="@dimen/titleFontSize" />
<com.casic.dcms.widgets.NoScrollViewPager
android:id="@+id/mainViewPager"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<include layout="@layout/line" />
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNavigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:attr/windowBackground"
app:itemIconTint="@drawable/bottom_text_color"
app:itemTextColor="@drawable/bottom_text_color"
app:labelVisibilityMode="labeled"
app:menu="@menu/bottom_nav_menu" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:orientation="horizontal">
<!--占位-->
<View
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<!--占位-->
<View
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<TextView
android:id="@+id/messageNumView"
android:layout_width="20dp"
android:layout_height="20dp"
android:background="@drawable/bg_text_tag"
android:gravity="center"
android:text="1"
android:textColor="@color/white"
android:visibility="gone" />
<!--占位-->
<View
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
</RelativeLayout>
</FrameLayout>