纯蓝牙通信,个人中心相关。
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
<?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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:fitsSystemWindows="true">
|
||||
android:background="@color/f9f9f9"
|
||||
android:fitsSystemWindows="false">
|
||||
|
||||
<!-- 状态栏背景由占位 View 绘制,高度由 ImmersionBar 设置,避免重复避让。 -->
|
||||
<View
|
||||
android:id="@+id/statusBarView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="@color/f9f9f9" />
|
||||
|
||||
<com.google.android.material.bottomnavigation.BottomNavigationView
|
||||
android:id="@+id/nav_view"
|
||||
@@ -18,12 +27,13 @@
|
||||
app:itemBackground="@android:color/transparent"
|
||||
app:labelVisibilityMode="labeled"
|
||||
app:itemIconTint="@null"
|
||||
android:visibility="visible"/>
|
||||
android:visibility="visible" />
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/nav_viewpage2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/nav_view"
|
||||
android:visibility="visible"/>
|
||||
</RelativeLayout>
|
||||
android:layout_above="@id/nav_view"
|
||||
android:layout_below="@id/statusBarView"
|
||||
android:visibility="visible" />
|
||||
</RelativeLayout>
|
||||
|
||||
Reference in New Issue
Block a user