70 lines
3.0 KiB
XML
70 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/rlContainer"
|
|
android:background="@color/bg_2E3B55"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:id="@+id/rlActionBar"
|
|
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:layout_gravity="top|left"
|
|
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"/>
|
|
<TextView
|
|
android:textSize="@dimen/txt_title_1"
|
|
android:textColor="@android:color/white"
|
|
android:gravity="center"
|
|
android:id="@+id/tvTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/title_all_course"
|
|
android:layout_centerHorizontal="true"/>
|
|
<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>
|
|
</RelativeLayout>
|
|
<at.technikum.mti.fancycoverflow.FancyCoverFlow
|
|
android:id="@+id/fancyCoverFlow"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="435.5dp"
|
|
android:layout_centerVertical="true"/>
|
|
<com.ubt.jimu.widgets.LoadingView
|
|
android:layout_gravity="center"
|
|
android:id="@+id/loadingView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/rlActionBar"/>
|
|
<include layout="@layout/include_task_guide_layout"/>
|
|
<View
|
|
android:id="@+id/view_prevent_onclock"
|
|
android:background="#dd000000"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
</RelativeLayout>
|