Initial commit
This commit is contained in:
126
resources/res/layout-sw600dp/activity_discovery.xml
Normal file
126
resources/res/layout-sw600dp/activity_discovery.xml
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout 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">
|
||||
<LinearLayout
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/bg_ebebeb"
|
||||
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_mode="left"
|
||||
app:nbv_title="@string/tab_title_discovery"/>
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginRight="@dimen/dp_20">
|
||||
<FrameLayout
|
||||
android:background="@color/bg_ebebeb"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="266dp"
|
||||
android:layout_marginRight="@dimen/dp_20">
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/astrobotLayout"
|
||||
android:clickable="true"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="266dp"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:layout_alignParentBottom="true"
|
||||
app:cardCornerRadius="25dp"
|
||||
app:cardElevation="0dp">
|
||||
<ImageView
|
||||
android:background="@drawable/adventure_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"/>
|
||||
<TextView
|
||||
android:text="@string/tab_title_interstellar_adventure"
|
||||
style="@style/card_text_left_bottom_style"/>
|
||||
</androidx.cardview.widget.CardView>
|
||||
<FrameLayout
|
||||
android:id="@+id/mask_card_view"
|
||||
android:background="@drawable/shape_corner_half_translucent"
|
||||
android:visibility="gone"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="266dp">
|
||||
<TextView
|
||||
android:textSize="@dimen/text_size_20"
|
||||
android:textColor="@color/bg_white"
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/downloadProgressTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</FrameLayout>
|
||||
</FrameLayout>
|
||||
<FrameLayout
|
||||
android:background="@color/translucent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_20">
|
||||
<androidx.cardview.widget.CardView
|
||||
android:clickable="true"
|
||||
android:layout_width="400dp"
|
||||
android:layout_height="266dp"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:layout_alignParentBottom="true"
|
||||
app:cardCornerRadius="25dp"
|
||||
app:cardElevation="0dp">
|
||||
<ImageView
|
||||
android:background="@drawable/story_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"/>
|
||||
<TextView
|
||||
android:text="@string/tab_title_other_story"
|
||||
style="@style/card_text_left_bottom_style"/>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="65dp"
|
||||
android:layout_height="65dp"
|
||||
android:src="@drawable/ic_story_lock"/>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<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="#99323232"
|
||||
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/title_text_size"
|
||||
android:textColor="@color/bg_black"
|
||||
android:id="@+id/tv_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0%"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
</FrameLayout>
|
||||
Reference in New Issue
Block a user