jimu-decompiled/resources/res/layout/activity_wheel_set.xml
2025-05-13 19:24:51 +02:00

69 lines
2.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/bg_FAFAFC"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/btn_back"
android:layout_width="@dimen/round_button_width"
android:layout_height="@dimen/round_button_width"
android:layout_margin="@dimen/control_menu_icon_margin"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true">
<ImageView
android:id="@+id/im_control_delete"
android:layout_width="@dimen/round_button_width"
android:layout_height="@dimen/round_button_width"
android:layout_margin="@dimen/control_menu_icon_margin"/>
<ImageView
android:enabled="false"
android:id="@+id/im_control_affirm"
android:background="@mipmap/affirm_controller"
android:layout_width="@dimen/round_button_width"
android:layout_height="@dimen/round_button_width"
android:layout_margin="@dimen/control_menu_icon_margin"
android:alpha="0.4"/>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/rv_engine_list"
android:layout_below="@+id/btn_back">
<ViewStub
android:id="@+id/vs_two_servo"
android:layout="@layout/layout_two_servo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"/>
<ViewStub
android:id="@+id/vs_four_servo"
android:layout="@layout/layout_four_servo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"/>
<ViewStub
android:id="@+id/vs_six_servo"
android:layout="@layout/layout_six_servo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"/>
</RelativeLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_engine_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/select_engine_ml"
android:layout_marginTop="@dimen/item_engine_layout_mt"
android:layout_marginBottom="@dimen/item_engine_list_mb"
android:layout_alignParentBottom="true"/>
</RelativeLayout>