66 lines
3.0 KiB
XML
66 lines
3.0 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/pad_robot_cover_bg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_marginRight="10dp"
|
|
app:height_percent="0.449"
|
|
app:width_percent="0.707">
|
|
<ImageView
|
|
android:id="@+id/robotCoverImageView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginTop="44dp"
|
|
android:layout_marginRight="12dp"
|
|
app:height_percent="0.278"
|
|
app:width_percent="1.028"/>
|
|
<TextView
|
|
android:textSize="@dimen/text_size_28"
|
|
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="20dp"
|
|
android:layout_marginBottom="24dp"
|
|
android:text="Astron"/>
|
|
<TextView
|
|
android:textSize="@dimen/text_size_14"
|
|
android:textColor="#fffdfd"
|
|
android:gravity="center_vertical"
|
|
android:id="@+id/tagTextView"
|
|
android:background="@drawable/bg_act_status_running"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"/>
|
|
</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="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:minWidth="300dp"/>
|
|
</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>
|