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

65 lines
2.9 KiB
XML

<?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">
<com.ubtech.view.widget.ULinearLayout
android:gravity="center_horizontal"
android:orientation="horizontal"
android:id="@+id/rootView"
android:background="@color/bg_ebebeb"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubtech.view.widget.UFrameLayout
android:id="@+id/robotCoverLayout"
android:background="@drawable/phone_robot_cover_bg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginRight="12dp"
app:height_percent="0.449"
app:width_percent="0.709">
<ImageView
android:layout_gravity="center"
android:id="@+id/robotCoverImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:height_percent="0.225"
app:width_percent="1.047"/>
<TextView
android:textSize="@dimen/text_size_20"
android:textColor="@color/color_title_text"
android:layout_gravity="bottom|left"
android:id="@+id/robotNameTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginBottom="10dp"
android:text="Astron"/>
<TextView
android:textSize="@dimen/text_size_14"
android:textColor="#fffdfd"
android:id="@+id/tagTextView"
android:background="@drawable/bg_act_status_running"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
app:height_percent="0.032"
app:width_percent="5.083"/>
</com.ubtech.view.widget.UFrameLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/robotRecycleView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="12dp"
android:layout_marginTop="10dp"
android:minWidth="140dp"/>
</com.ubtech.view.widget.ULinearLayout>
<ViewStub
android:id="@+id/vs_network_error"
android:layout="@layout/in_select_robot_network_error"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/tv_select_title"
android:layout_centerInParent="true"/>
</RelativeLayout>