Initial commit
This commit is contained in:
76
resources/res/layout/activity_course_list.xml
Normal file
76
resources/res/layout/activity_course_list.xml
Normal file
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/rootView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/universe_bg"
|
||||
android:scaleType="centerCrop"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:layout_gravity="center_vertical"
|
||||
android:id="@+id/courseRecyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<ImageView
|
||||
android:id="@+id/img_back"
|
||||
android:layout_width="@dimen/star_trek_actionbar_size"
|
||||
android:layout_height="@dimen/star_trek_actionbar_size"
|
||||
android:layout_marginLeft="@dimen/actionbar_margin"
|
||||
android:layout_marginTop="@dimen/actionbar_margin"
|
||||
android:src="@mipmap/icon_round_back"
|
||||
android:scaleType="fitCenter"
|
||||
android:onClick="onBackFinishClick"/>
|
||||
<TextView
|
||||
android:textSize="24sp"
|
||||
android:textColor="#101111"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:id="@+id/title_textview"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/star_trek_actionbar_size"
|
||||
android:layout_marginTop="@dimen/actionbar_margin"/>
|
||||
<ImageView
|
||||
android:layout_gravity="right"
|
||||
android:id="@+id/storyVideo"
|
||||
android:layout_width="@dimen/star_trek_actionbar_size"
|
||||
android:layout_height="@dimen/star_trek_actionbar_size"
|
||||
android:layout_marginTop="@dimen/actionbar_margin"
|
||||
android:layout_marginRight="@dimen/actionbar_margin"
|
||||
android:src="@mipmap/play_blue"/>
|
||||
<FrameLayout
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/downloadViewStub"
|
||||
android:visibility="gone"
|
||||
android:clickable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<ImageView
|
||||
android:id="@+id/iv_background"
|
||||
android:background="#99ffffff"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/bg_cc596F80"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<ImageView
|
||||
android:id="@+id/iv_loading"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_loading"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/title15"
|
||||
android:textColor="@color/txt_white"
|
||||
android:id="@+id/tv_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="2dp"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</FrameLayout>
|
||||
Reference in New Issue
Block a user