136 lines
5.9 KiB
XML
136 lines
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:background="@color/bg_2E3B55"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:id="@+id/llHeader"
|
|
android:paddingLeft="@dimen/course_back_left_right"
|
|
android:paddingRight="@dimen/course_back_left_right"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/action_bar_height"
|
|
android:layout_marginTop="@dimen/course_back_top">
|
|
<ImageView
|
|
android:id="@+id/imgBack"
|
|
android:layout_width="@dimen/course_back"
|
|
android:layout_height="@dimen/course_back"
|
|
android:src="@drawable/diy_title_back"
|
|
android:scaleType="centerInside"/>
|
|
<FrameLayout
|
|
android:layout_gravity="top|right"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/course_back_left_right"
|
|
android:layout_alignParentRight="true">
|
|
<ImageView
|
|
android:layout_gravity="center"
|
|
android:id="@+id/imgConnectRobot"
|
|
android:background="@drawable/robot_status_unconnected"
|
|
android:padding="8dp"
|
|
android:layout_width="@dimen/course_back"
|
|
android:layout_height="@dimen/course_back"
|
|
android:scaleType="fitCenter"/>
|
|
<ImageView
|
|
android:layout_gravity="center"
|
|
android:id="@+id/imgPowerState"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
</FrameLayout>
|
|
<TextView
|
|
android:textSize="24sp"
|
|
android:gravity="center"
|
|
android:id="@+id/tvTitle"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="这里显示关卡名称"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/llHeader">
|
|
<ImageView
|
|
android:id="@+id/imgPreviousPage"
|
|
android:layout_width="@dimen/course_page"
|
|
android:layout_height="@dimen/course_page"
|
|
android:src="@drawable/icon_previous_page"
|
|
android:scaleType="centerInside"
|
|
android:layout_toLeftOf="@+id/viewPager"
|
|
android:layout_centerVertical="true"/>
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/viewPager"
|
|
android:clipChildren="false"
|
|
android:layout_width="850dp"
|
|
android:layout_height="617.5dp"
|
|
android:layout_marginTop="7dp"
|
|
android:layout_marginBottom="@dimen/course_task_pager_margin_bottom"
|
|
android:layout_centerInParent="true"/>
|
|
<ImageView
|
|
android:id="@+id/imgNextPage"
|
|
android:layout_width="@dimen/course_page"
|
|
android:layout_height="@dimen/course_page"
|
|
android:src="@drawable/icon_next_page"
|
|
android:scaleType="centerInside"
|
|
android:layout_toRightOf="@+id/viewPager"
|
|
android:layout_centerVertical="true"/>
|
|
<com.ubt.jimu.widgets.LoadingView
|
|
android:id="@+id/loadingView"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/rl_guide_parent_layout"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<ImageView
|
|
android:id="@+id/im_guide_bg"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
<ImageView
|
|
android:id="@+id/im_guide_item"
|
|
android:background="@drawable/course_item_icon"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp100"
|
|
android:layout_marginTop="@dimen/dp100"/>
|
|
<ImageView
|
|
android:background="@drawable/message_btn_pre"
|
|
android:layout_width="@dimen/dp95"
|
|
android:layout_height="@dimen/dp95"
|
|
android:layout_marginLeft="@dimen/dp10"
|
|
android:layout_marginTop="@dimen/dp10"/>
|
|
<ImageView
|
|
android:id="@+id/im_guide_rd_1"
|
|
android:background="@drawable/link_professor_right"
|
|
android:visibility="gone"
|
|
android:layout_width="@dimen/dp336"
|
|
android:layout_height="@dimen/dp294"
|
|
android:layout_toRightOf="@+id/im_guide_item"
|
|
android:layout_alignTop="@+id/im_guide_item"/>
|
|
<FrameLayout
|
|
android:id="@+id/fl_rd_guide"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp50"
|
|
android:layout_marginBottom="@dimen/dp5"
|
|
android:layout_above="@+id/im_guide_rd_1"
|
|
android:layout_alignLeft="@+id/im_guide_rd_1">
|
|
<TextView
|
|
android:textSize="@dimen/dp25"
|
|
android:textColor="@color/txt_1D2C42"
|
|
android:gravity="center"
|
|
android:background="@drawable/link_introduce_bg_white"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxWidth="@dimen/dp550"
|
|
android:text="@string/guide_text_11"/>
|
|
</FrameLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|