LongYiGroundStation/app/src/main/res/layout/activity_setting.xml
2025-10-14 13:47:12 +08:00

167 lines
6.5 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"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".Main.Setting.Activity.SettingActivity">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#029A45"
android:padding="5dp">
<ImageView
android:layout_centerVertical="true"
android:id="@+id/iv_back"
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@mipmap/icon_back" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="设置"
android:textColor="#ffffff"
android:textSize="18sp" />
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<LinearLayout
android:padding="3dp"
android:background="#101010"
android:orientation="vertical"
android:layout_width="100dp"
android:layout_height="match_parent">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:textSize="12sp"
android:layout_marginTop="3dp"
android:background="@drawable/ff029a45_2round_1stroke_bg"
android:textColor="#ffffff"
android:id="@+id/tv_foundation"
android:gravity="center"
android:text="基础设置"
android:layout_width="match_parent"
android:layout_height="35dp"/>
<TextView
android:textSize="12sp"
android:layout_marginTop="1dp"
android:background="@drawable/b2303030_4round_1stroke_bg"
android:textColor="#303030"
android:id="@+id/tv_control"
android:gravity="center"
android:text="遥控器设置"
android:layout_width="match_parent"
android:layout_height="35dp"/>
<TextView
android:textSize="12sp"
android:layout_marginTop="1dp"
android:background="@drawable/b2303030_4round_1stroke_bg"
android:textColor="#303030"
android:id="@+id/tv_fly"
android:gravity="center"
android:text="飞行设置"
android:layout_width="match_parent"
android:layout_height="35dp"/>
<TextView
android:textSize="12sp"
android:layout_marginTop="1dp"
android:background="@drawable/b2303030_4round_1stroke_bg"
android:textColor="#303030"
android:id="@+id/tv_secure"
android:gravity="center"
android:text="安全设置"
android:layout_width="match_parent"
android:layout_height="35dp"/>
<TextView
android:textSize="12sp"
android:layout_marginTop="1dp"
android:background="@drawable/b2303030_4round_1stroke_bg"
android:textColor="#303030"
android:id="@+id/tv_motor"
android:gravity="center"
android:text="电机测试"
android:layout_width="match_parent"
android:layout_height="35dp"/>
<TextView
android:textSize="12sp"
android:layout_marginTop="1dp"
android:background="@drawable/b2303030_4round_1stroke_bg"
android:textColor="#303030"
android:id="@+id/tv_load"
android:gravity="center"
android:text="荷载设置"
android:layout_width="match_parent"
android:layout_height="35dp"/>
<TextView
android:textSize="12sp"
android:layout_marginTop="1dp"
android:background="@drawable/b2303030_4round_1stroke_bg"
android:textColor="#303030"
android:id="@+id/tv_sensor"
android:gravity="center"
android:text="感度设置"
android:layout_width="match_parent"
android:layout_height="35dp"/>
<TextView
android:textSize="12sp"
android:id="@+id/tv_parameter"
android:layout_marginTop="1dp"
android:background="@drawable/b2303030_4round_1stroke_bg"
android:textColor="#303030"
android:gravity="center"
android:text="专家设置"
android:layout_width="match_parent"
android:layout_height="35dp"/>
</LinearLayout>
</ScrollView>
</LinearLayout>
<View
android:layout_width="0.2dp"
android:layout_height="match_parent"
android:background="#029A45"/>
<LinearLayout
android:background="#101010"
android:orientation="vertical"
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
</LinearLayout>