88 lines
3.7 KiB
XML
88 lines
3.7 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">
|
|
<RelativeLayout
|
|
android:id="@+id/rl_play_package_video"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp10"
|
|
android:layout_marginRight="@dimen/dp10"
|
|
android:layout_marginBottom="@dimen/dp10"
|
|
android:layout_toLeftOf="@+id/rl_pack_click">
|
|
<ImageView
|
|
android:layout_width="@dimen/dp170"
|
|
android:layout_height="@dimen/dp190"/>
|
|
<ImageView
|
|
android:layout_width="@dimen/dp142"
|
|
android:layout_height="@dimen/dp162"
|
|
android:layout_marginTop="@dimen/dp1"
|
|
android:layout_marginBottom="@dimen/dp1"
|
|
android:layout_centerInParent="true"/>
|
|
<com.ubt.jimu.widgets.RoundedImageView
|
|
android:id="@+id/img_play_package_video"
|
|
android:paddingLeft="@dimen/dp4"
|
|
android:paddingTop="@dimen/dp6"
|
|
android:paddingRight="@dimen/dp4"
|
|
android:paddingBottom="@dimen/dp6"
|
|
android:layout_width="@dimen/dp142"
|
|
android:layout_height="@dimen/dp162"
|
|
android:scaleType="centerInside"
|
|
android:layout_centerInParent="true"
|
|
app:riv_corner_radius="3dp"/>
|
|
<ImageView
|
|
android:id="@+id/img_play"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@mipmap/play_blue"
|
|
android:layout_centerInParent="true"/>
|
|
</RelativeLayout>
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_robot_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/nbv_bar"
|
|
android:layout_centerInParent="true"/>
|
|
<com.ubt.jimu.widgets.LoadStateView
|
|
android:id="@+id/load_state"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
<com.ubt.jimu.widgets.NavigationBarView
|
|
android:id="@+id/nbv_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:nbv_style="round"
|
|
app:nbv_title="@string/title_select_robot"/>
|
|
<RelativeLayout
|
|
android:id="@+id/rl_pack_click"
|
|
android:visibility="invisible"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/dp10"
|
|
android:layout_alignParentRight="true">
|
|
<ImageView
|
|
android:background="@drawable/pack_bg_select"
|
|
android:layout_width="@dimen/dp170"
|
|
android:layout_height="@dimen/dp190"/>
|
|
<ImageView
|
|
android:background="@drawable/pack_bg_normal"
|
|
android:layout_width="@dimen/dp142"
|
|
android:layout_height="@dimen/dp162"
|
|
android:layout_marginTop="@dimen/dp1"
|
|
android:layout_marginBottom="@dimen/dp1"
|
|
android:layout_centerInParent="true"/>
|
|
<com.ubt.jimu.widgets.RoundedImageView
|
|
android:id="@+id/im_robot_pack"
|
|
android:paddingLeft="@dimen/dp4"
|
|
android:paddingTop="@dimen/dp6"
|
|
android:paddingRight="@dimen/dp4"
|
|
android:paddingBottom="@dimen/dp6"
|
|
android:layout_width="@dimen/dp142"
|
|
android:layout_height="@dimen/dp162"
|
|
android:scaleType="centerInside"
|
|
android:layout_centerInParent="true"
|
|
app:riv_corner_radius="3dp"/>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|