137 lines
4.7 KiB
XML
137 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:background="#f4f4f4"
|
|
android:fitsSystemWindows="false"
|
|
android:orientation="vertical"
|
|
android:paddingTop="24dp">
|
|
|
|
<include layout="@layout/activity_title" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginLeft="25dp"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="25dp"
|
|
android:layout_marginBottom="25dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/lay_bg_white"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tab_layout"
|
|
style="@style/TabLayoutStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="?attr/xui_actionbar_height"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:layout_weight="1"
|
|
app:tabGravity="fill" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginRight="30dp"
|
|
android:layout_weight="1.5"
|
|
android:gravity="right"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_scan"
|
|
android:layout_width="35dp"
|
|
android:layout_height="30dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="10dp"
|
|
android:src="@drawable/saoyisao" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="2dp"
|
|
android:layout_marginLeft="15dp"
|
|
android:layout_marginRight="15dp"
|
|
android:background="#f3f3f3" />
|
|
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/view_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_weight="1"
|
|
android:fitsSystemWindows="true" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/tab_bottom"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/lay_bg_white"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="5dp"
|
|
android:paddingBottom="5dp"
|
|
android:visibility="gone">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/all_config"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:paddingTop="5dp"
|
|
android:paddingBottom="5dp">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/position" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:text="统一距离配置"
|
|
android:textColor="#1989FA" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/search_device"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:paddingTop="5dp"
|
|
android:paddingBottom="5dp">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/sousuo" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:text="搜索设备"
|
|
android:textColor="#1989FA" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|