Initial commit
This commit is contained in:
19
resources/res/layout-sw600dp/activity_activity_alert.xml
Normal file
19
resources/res/layout-sw600dp/activity_activity_alert.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.ubtech.view.widget.UFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:gravity="center"
|
||||
android:id="@+id/rootView"
|
||||
android:background="@color/translucent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<View
|
||||
android:id="@+id/maskView"
|
||||
android:background="@color/mask"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<FrameLayout
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/centerCardView"
|
||||
android:clickable="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</com.ubtech.view.widget.UFrameLayout>
|
49
resources/res/layout-sw600dp/activity_album.xml
Normal file
49
resources/res/layout-sw600dp/activity_album.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:background="#ebebeb"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<RelativeLayout
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/rlTitle"
|
||||
android:background="#feaa06"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="65px">
|
||||
<ImageView
|
||||
android:id="@+id/imgBack"
|
||||
android:layout_width="64px"
|
||||
android:layout_height="64px"
|
||||
android:src="@mipmap/community_cancel"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_centerVertical="true"/>
|
||||
<TextView
|
||||
android:textSize="26px"
|
||||
android:textColor="@android:color/black"
|
||||
android:id="@+id/tvTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/title_album"
|
||||
android:layout_centerInParent="true"/>
|
||||
<Button
|
||||
android:id="@+id/btnCompleted"
|
||||
android:background="@mipmap/gallery_community_collection_icon"
|
||||
android:clickable="false"
|
||||
android:layout_width="64px"
|
||||
android:layout_height="64px"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:alpha="0.3"/>
|
||||
</RelativeLayout>
|
||||
<GridView
|
||||
android:id="@+id/gridView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="10px"
|
||||
android:horizontalSpacing="10px"
|
||||
android:verticalSpacing="10px"
|
||||
android:stretchMode="columnWidth"
|
||||
android:columnWidth="300px"
|
||||
android:numColumns="auto_fit"/>
|
||||
</LinearLayout>
|
64
resources/res/layout-sw600dp/activity_album2.xml
Normal file
64
resources/res/layout-sw600dp/activity_album2.xml
Normal file
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/colorBlack"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.bottle.hp.album.photoview.HackyViewPager
|
||||
android:id="@+id/hackyViewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlActionBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20px"
|
||||
android:layout_marginTop="20px"
|
||||
android:layout_marginRight="20px">
|
||||
<TextView
|
||||
android:textColor="@android:color/white"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tvCurrent"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"/>
|
||||
<Button
|
||||
android:enabled="false"
|
||||
android:textSize="20px"
|
||||
android:textColor="@android:color/white"
|
||||
android:id="@+id/btnCompleted"
|
||||
android:background="#00ffffff"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="5px"
|
||||
android:layout_toLeftOf="@+id/cbChoose"
|
||||
android:layout_centerVertical="true"/>
|
||||
<CheckBox
|
||||
android:id="@+id/cbChoose"
|
||||
android:background="@drawable/selector_img_select_check"
|
||||
android:layout_width="70px"
|
||||
android:layout_height="70px"
|
||||
android:button="@null"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
<ImageView
|
||||
android:id="@+id/imgBack"
|
||||
android:background="@mipmap/diy_title_back"
|
||||
android:layout_width="70px"
|
||||
android:layout_height="70px"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_centerVertical="true"/>
|
||||
</RelativeLayout>
|
||||
<ImageView
|
||||
android:layout_gravity="top|right"
|
||||
android:id="@+id/imgSelectVideo"
|
||||
android:background="@drawable/selector_circle"
|
||||
android:visibility="gone"
|
||||
android:layout_width="59dp"
|
||||
android:layout_height="59dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:src="@mipmap/accept_capture"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
</FrameLayout>
|
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>
|
47
resources/res/layout-sw600dp/activity_gallery.xml
Normal file
47
resources/res/layout-sw600dp/activity_gallery.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/activity_gallery"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp">
|
||||
<TextView
|
||||
android:gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:minWidth="60dp"
|
||||
android:text="相册"/>
|
||||
<Spinner
|
||||
android:id="@+id/spinner"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="120dp"/>
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:gravity="center"
|
||||
android:id="@+id/tv_preview"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:text="预览"/>
|
||||
</LinearLayout>
|
||||
<GridView
|
||||
android:gravity="fill"
|
||||
android:id="@+id/grid_view"
|
||||
android:background="@android:color/background_dark"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:horizontalSpacing="2dp"
|
||||
android:verticalSpacing="2dp"
|
||||
android:stretchMode="columnWidth"
|
||||
android:columnWidth="90dp"
|
||||
android:numColumns="auto_fit"
|
||||
android:layout_weight="1"/>
|
||||
</LinearLayout>
|
10
resources/res/layout-sw600dp/activity_gallery_preview.xml
Normal file
10
resources/res/layout-sw600dp/activity_gallery_preview.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.bottle.hp.album.photoview.HackyViewPager
|
||||
android:id="@+id/hackyViewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
5
resources/res/layout-sw600dp/activity_help.xml
Normal file
5
resources/res/layout-sw600dp/activity_help.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.widget.FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/frameLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
179
resources/res/layout-sw600dp/activity_jimu_activity.xml
Normal file
179
resources/res/layout-sw600dp/activity_jimu_activity.xml
Normal file
@@ -0,0 +1,179 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/rootView"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||
android:id="@+id/appBarLayout"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:elevation="0dp">
|
||||
<android.support.design.widget.CollapsingToolbarLayout
|
||||
android:id="@+id/collapsingToolbarLayout"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:contentScrim="@color/translucent"
|
||||
app:layout_scrollFlags="exitUntilCollapsed|scroll">
|
||||
<FrameLayout
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_collapseMode="parallax"
|
||||
app:layout_collapseParallaxMultiplier="1">
|
||||
<ImageView
|
||||
android:id="@+id/contentImageView"
|
||||
android:background="#f7f8f8"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/videoImageView"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/list_video_logo_pad"/>
|
||||
<LinearLayout
|
||||
android:gravity="center_vertical"
|
||||
android:layout_gravity="bottom|left"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp">
|
||||
<TextView
|
||||
android:textSize="12sp"
|
||||
android:textColor="@android:color/white"
|
||||
android:background="#3ac6ea"
|
||||
android:paddingLeft="12dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/activity_time_activity"/>
|
||||
<TextView
|
||||
android:textSize="12sp"
|
||||
android:textColor="#ffffff"
|
||||
android:id="@+id/timeTextView"
|
||||
android:background="#99101111"
|
||||
android:paddingRight="12dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:gravity="center_vertical"
|
||||
android:layout_gravity="bottom|right"
|
||||
android:orientation="horizontal"
|
||||
android:background="#99101111"
|
||||
android:paddingLeft="12dp"
|
||||
android:paddingRight="12dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_num_join"/>
|
||||
<TextView
|
||||
android:textSize="12sp"
|
||||
android:textColor="@android:color/white"
|
||||
android:gravity="center"
|
||||
android:id="@+id/joinCountTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:text="0"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:gravity="center"
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp85"
|
||||
app:contentInsetStart="0dp"
|
||||
app:layout_collapseMode="pin"
|
||||
app:layout_scrollFlags="exitUntilCollapsed|scroll"
|
||||
app:popupTheme="@style/ThemeOverlay.AppCompat.Light">
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/backImageView"
|
||||
android:layout_width="@dimen/dp85"
|
||||
android:layout_height="@dimen/dp85"
|
||||
android:src="@drawable/ic_back"
|
||||
android:onClick="onBack"/>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/shareImageView"
|
||||
android:paddingLeft="@dimen/dp_30"
|
||||
android:layout_width="@dimen/dp85"
|
||||
android:layout_height="@dimen/dp85"
|
||||
android:src="@drawable/community_publish_share"
|
||||
android:onClick="onShareAction"/>
|
||||
</android.support.v7.widget.Toolbar>
|
||||
<TextView
|
||||
android:textSize="@dimen/dp33"
|
||||
android:textColor="#101111"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="top|center_horizontal"
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp85"
|
||||
android:singleLine="true"
|
||||
app:layout_collapseMode="pin"
|
||||
app:layout_scrollFlags="exitUntilCollapsed|scroll"/>
|
||||
</android.support.design.widget.CollapsingToolbarLayout>
|
||||
<View
|
||||
android:layout_gravity="bottom"
|
||||
android:id="@+id/dividerLine"
|
||||
android:background="#eeeeee"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2px"/>
|
||||
<android.support.design.widget.TabLayout
|
||||
android:layout_gravity="bottom"
|
||||
android:id="@+id/tabLayout"
|
||||
android:background="#ffffff"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp85"
|
||||
app:layout_scrollFlags="enterAlways|scroll"
|
||||
app:tabGravity="fill"
|
||||
app:tabIndicatorColor="#ffb73b"
|
||||
app:tabMaxWidth="0dp"
|
||||
app:tabMode="fixed"
|
||||
app:tabSelectedTextColor="#ffb73b"
|
||||
app:tabTextColor="#27c8f7"/>
|
||||
<View
|
||||
android:layout_gravity="bottom"
|
||||
android:background="#eeeeee"
|
||||
android:visibility="visible"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="2px"/>
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/advertViewPager"
|
||||
android:fadingEdge="none"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
||||
<ImageView
|
||||
android:layout_gravity="bottom|right"
|
||||
android:id="@+id/commentImageView"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_marginRight="19dp"
|
||||
android:layout_marginBottom="100dp"
|
||||
android:src="@drawable/ic_button_comment"
|
||||
android:onClick="onCommentAction"/>
|
||||
<ImageView
|
||||
android:layout_gravity="bottom|right"
|
||||
android:id="@+id/publishImageView"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_marginRight="19dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:src="@drawable/img_publish"
|
||||
android:onClick="onPublishAction"/>
|
||||
</android.support.design.widget.CoordinatorLayout>
|
97
resources/res/layout-sw600dp/activity_media_player.xml
Normal file
97
resources/res/layout-sw600dp/activity_media_player.xml
Normal file
@@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/black"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<ImageView
|
||||
android:background="@android:color/black"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<SurfaceView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/activity_media_player_surface"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<ImageView
|
||||
android:id="@+id/activity_media_player_img_snagshot"
|
||||
android:background="@android:color/black"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="bottom"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/activity_media_player_layout_control"
|
||||
android:background="#55eeeeee"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp">
|
||||
<ImageView
|
||||
android:id="@+id/activity_media_player_img_start"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/video_start"/>
|
||||
<ProgressBar
|
||||
android:id="@+id/activity_media_player_pb"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="4dp"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:progressDrawable="@drawable/progress_line"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
style="?android:attr/progressBarStyleHorizontal"/>
|
||||
<TextView
|
||||
android:id="@+id/activity_media_player_tv_reset"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="00:00"/>
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/activity_media_player_img_back"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:src="@mipmap/video_player_back"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_marginStart="16dp"/>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/activity_media_player_img_play"
|
||||
android:background="@mipmap/play_video"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:id="@+id/rl_error"
|
||||
android:background="@android:color/white"
|
||||
android:visibility="gone"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="150dp">
|
||||
<TextView
|
||||
android:gravity="center"
|
||||
android:id="@+id/tv_unknown_error"
|
||||
android:background="@android:color/transparent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:text="网络错误,稍后再试"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:background="#aabbbbbb"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"/>
|
||||
<TextView
|
||||
android:textColor="@drawable/selector_txt_states"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tv_retry"
|
||||
android:background="@android:color/transparent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:text="重试"
|
||||
android:layout_below="@+id/tv_unknown_error"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
53
resources/res/layout-sw600dp/activity_photo_editor.xml
Normal file
53
resources/res/layout-sw600dp/activity_photo_editor.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?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:orientation="vertical"
|
||||
android:background="@android:color/black"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.bottle.hp.album.photoview.HackyViewPager
|
||||
android:id="@+id/hackyViewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<RelativeLayout
|
||||
android:id="@+id/rlVideoViewContainer"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<RelativeLayout
|
||||
android:layout_gravity="top"
|
||||
android:id="@+id/rlActionBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="66dp"
|
||||
android:layout_marginTop="14dp">
|
||||
<ImageView
|
||||
android:layout_gravity="top|right"
|
||||
android:id="@+id/imgBack"
|
||||
android:background="@drawable/circle_shadow_ui_pad"
|
||||
android:layout_width="59dp"
|
||||
android:layout_height="59dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:src="@mipmap/back"
|
||||
android:scaleType="centerInside"/>
|
||||
<TextView
|
||||
android:textSize="20sp"
|
||||
android:textColor="@android:color/white"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tvCurrent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:text="1/9"
|
||||
android:layout_toRightOf="@+id/imgBack"/>
|
||||
<ImageView
|
||||
android:layout_gravity="top|right"
|
||||
android:id="@+id/imgDelete"
|
||||
android:background="@drawable/circle_shadow_ui_pad"
|
||||
android:layout_width="59dp"
|
||||
android:layout_height="59dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:src="@mipmap/delete"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
13
resources/res/layout-sw600dp/activity_picture_capture.xml
Normal file
13
resources/res/layout-sw600dp/activity_picture_capture.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.ConstraintLayout 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">
|
||||
<com.bottle.hp.album.capture.view.PictureCaptureView
|
||||
android:id="@+id/pictureCaptureView"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
</androidx.constraintlayout.ConstraintLayout>
|
32
resources/res/layout-sw600dp/activity_video_preview.xml
Normal file
32
resources/res/layout-sw600dp/activity_video_preview.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/white"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<FrameLayout
|
||||
android:id="@+id/flVideoViewContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<RelativeLayout
|
||||
android:layout_gravity="top"
|
||||
android:id="@+id/rlTop"
|
||||
android:padding="16dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/imgCancel"
|
||||
android:layout_width="59dp"
|
||||
android:layout_height="59dp"
|
||||
android:src="@mipmap/diy_title_back"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_centerVertical="true"/>
|
||||
<ImageView
|
||||
android:id="@+id/imgAccept"
|
||||
android:background="@mipmap/community_my_collection_complete"
|
||||
android:layout_width="75dp"
|
||||
android:layout_height="75dp"
|
||||
android:scaleType="centerInside"
|
||||
android:layout_alignParentRight="true"/>
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
59
resources/res/layout-sw600dp/adapter_album.xml
Normal file
59
resources/res/layout-sw600dp/adapter_album.xml
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:background="@android:color/black"
|
||||
android:descendantFocusability="blocksDescendants"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="150dp">
|
||||
<ImageView
|
||||
android:id="@+id/adapter_gallery_item_img_snapshoot"
|
||||
android:background="@color/colorItem"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="150dp"
|
||||
android:src="@mipmap/camera"
|
||||
android:scaleType="centerInside"/>
|
||||
<TextView
|
||||
android:textSize="18sp"
|
||||
android:textColor="@android:color/white"
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/tvCapture"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<ImageView
|
||||
android:id="@+id/imgMask"
|
||||
android:background="@color/video_mask"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<RelativeLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="bottom"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/llVideo"
|
||||
android:background="@drawable/shap_mask"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="6dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/video_record"/>
|
||||
<TextView
|
||||
android:textColor="@android:color/white"
|
||||
android:id="@+id/tvDuration"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="00:00"
|
||||
android:layout_alignParentRight="true"/>
|
||||
</RelativeLayout>
|
||||
<CheckBox
|
||||
android:layout_gravity="end|top"
|
||||
android:id="@+id/adapter_gallery_item_cb_selected"
|
||||
android:background="@drawable/selector_img_select_check"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="2dp"
|
||||
android:layout_marginRight="2dp"
|
||||
android:button="@null"/>
|
||||
</androidx.cardview.widget.CardView>
|
17
resources/res/layout-sw600dp/adapter_album2.xml
Normal file
17
resources/res/layout-sw600dp/adapter_album2.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.github.chrisbanes.photoview.PhotoView
|
||||
android:id="@+id/photoView"
|
||||
android:background="#000000"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/imgPlay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/play_video"/>
|
||||
</FrameLayout>
|
10
resources/res/layout-sw600dp/adapter_gallery.xml
Normal file
10
resources/res/layout-sw600dp/adapter_gallery.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/img_snapshoot"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="120dp"/>
|
||||
</LinearLayout>
|
18
resources/res/layout-sw600dp/adapter_photo_eidtor.xml
Normal file
18
resources/res/layout-sw600dp/adapter_photo_eidtor.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.github.chrisbanes.photoview.PhotoView
|
||||
android:id="@+id/photoView"
|
||||
android:background="#000000"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/imgPlay"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/play_video"/>
|
||||
</FrameLayout>
|
26
resources/res/layout-sw600dp/alert_dialog.xml
Normal file
26
resources/res/layout-sw600dp/alert_dialog.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/shape_alert_dialog"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="228dp"
|
||||
android:minHeight="196dp">
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_camera"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textColor="@color/bg_white"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginTop="@dimen/dp_30"
|
||||
android:layout_marginRight="@dimen/dp_5"/>
|
||||
</LinearLayout>
|
50
resources/res/layout-sw600dp/alert_login_layout.xml
Normal file
50
resources/res/layout-sw600dp/alert_login_layout.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/shape_white_rect_no_stroke"
|
||||
android:paddingTop="@dimen/dp_20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<TextView
|
||||
android:textSize="@dimen/txt_size_22"
|
||||
android:textColor="#000000"
|
||||
android:gravity="center"
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_50"
|
||||
android:text="@string/alert_login"
|
||||
android:maxEms="10"/>
|
||||
<View
|
||||
android:background="#cfd0d0"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="20dp"/>
|
||||
<LinearLayout
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp">
|
||||
<TextView
|
||||
android:textSize="@dimen/txt_size_20"
|
||||
android:textColor="#39c6ea"
|
||||
android:gravity="center"
|
||||
android:id="@+id/cancel_button"
|
||||
android:background="@drawable/selector_click_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/cancel"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/txt_size_20"
|
||||
android:textColor="#39c6ea"
|
||||
android:gravity="center"
|
||||
android:id="@+id/ok_button"
|
||||
android:background="@drawable/selector_click_button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/login"
|
||||
android:layout_weight="1"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
38
resources/res/layout-sw600dp/award_list_item.xml
Normal file
38
resources/res/layout-sw600dp/award_list_item.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/titleParent"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/txt_size_14"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#7c9095"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tvClassName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"/>
|
||||
</LinearLayout>
|
||||
<GridView
|
||||
android:gravity="center_horizontal"
|
||||
android:id="@+id/gridView"
|
||||
android:scrollbars="none"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="154dp"
|
||||
android:horizontalSpacing="8dp"
|
||||
android:verticalSpacing="16dp"
|
||||
android:columnWidth="154dp"
|
||||
android:numColumns="4"/>
|
||||
</LinearLayout>
|
59
resources/res/layout-sw600dp/award_setting_list_item_1.xml
Normal file
59
resources/res/layout-sw600dp/award_setting_list_item_1.xml
Normal file
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="120dp">
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="62dp"
|
||||
android:layout_centerInParent="true">
|
||||
<ImageView
|
||||
android:id="@+id/medalImageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_medal_first"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/txt_size_14"
|
||||
android:textColor="#101111"
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:drawablePadding="@dimen/dp_5"/>
|
||||
<TextView
|
||||
android:textSize="14sp"
|
||||
android:textColor="#101111"
|
||||
android:gravity="center"
|
||||
android:id="@+id/expTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="70dp"
|
||||
android:drawableLeft="@drawable/ic_exp_big"
|
||||
android:drawablePadding="@dimen/dp_10"/>
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="25dp"
|
||||
android:layout_marginRight="25dp"
|
||||
android:src="@drawable/ic_add_indictor"/>
|
||||
<TextView
|
||||
android:textSize="14sp"
|
||||
android:textColor="#101111"
|
||||
android:gravity="center"
|
||||
android:id="@+id/scoreTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_score_big"
|
||||
android:drawablePadding="@dimen/dp_10"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:background="#e4e4e4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
</RelativeLayout>
|
81
resources/res/layout-sw600dp/award_setting_list_item_2.xml
Normal file
81
resources/res/layout-sw600dp/award_setting_list_item_2.xml
Normal file
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="120dp">
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true">
|
||||
<ImageView
|
||||
android:id="@+id/medalImageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_medal_first"/>
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="8dp">
|
||||
<TextView
|
||||
android:textSize="@dimen/txt_size_18"
|
||||
android:textColor="#101111"
|
||||
android:id="@+id/titleTextView"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="三等奖"/>
|
||||
<TextView
|
||||
android:textSize="14sp"
|
||||
android:textColor="#777b7c"
|
||||
android:id="@+id/countTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="x2"/>
|
||||
</LinearLayout>
|
||||
<ImageView
|
||||
android:id="@+id/awardImageView"
|
||||
android:layout_width="54dp"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginLeft="60dp"
|
||||
android:src="@drawable/community_img"
|
||||
android:scaleType="fitXY"/>
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:src="@drawable/ic_add_indictor"/>
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:textSize="14sp"
|
||||
android:textColor="#101111"
|
||||
android:id="@+id/expTextView"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_exp_small"
|
||||
android:drawablePadding="8dp"/>
|
||||
<TextView
|
||||
android:textSize="14sp"
|
||||
android:textColor="#101111"
|
||||
android:id="@+id/scoreTextView"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_score_small"
|
||||
android:drawablePadding="8dp"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:background="#e4e4e4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:layout_marginRight="50dp"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
</RelativeLayout>
|
77
resources/res/layout-sw600dp/course_item_content_b.xml
Normal file
77
resources/res/layout-sw600dp/course_item_content_b.xml
Normal file
@@ -0,0 +1,77 @@
|
||||
<?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="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_100">
|
||||
<FrameLayout
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/content_bg_image_view"
|
||||
android:visibility="gone"
|
||||
android:layout_width="262dp"
|
||||
android:layout_height="262dp"
|
||||
android:src="@drawable/course_checked_bg"/>
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="236dp"
|
||||
android:layout_height="236dp"
|
||||
app:cardCornerRadius="118dp"
|
||||
app:cardElevation="0dp">
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/content_image_view"
|
||||
android:layout_width="236dp"
|
||||
android:layout_height="236dp"
|
||||
android:scaleType="fitXY"/>
|
||||
<View
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/maskView"
|
||||
android:background="@color/translucent_dark"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textColor="@color/bg_white"
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/downloadProgressTextView"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</androidx.cardview.widget.CardView>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/lock_image_view"
|
||||
android:visibility="gone"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/ic_course_lock_pad"/>
|
||||
<ImageView
|
||||
android:layout_gravity="bottom|right"
|
||||
android:id="@+id/type_image_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/course_type_video_pad"/>
|
||||
</FrameLayout>
|
||||
<TextView
|
||||
android:textSize="@dimen/txt_size_20"
|
||||
android:textColor="#ffffff"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:id="@+id/courseNameTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:lines="2"
|
||||
android:maxEms="10"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
77
resources/res/layout-sw600dp/course_item_content_t.xml
Normal file
77
resources/res/layout-sw600dp/course_item_content_t.xml
Normal file
@@ -0,0 +1,77 @@
|
||||
<?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="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_100">
|
||||
<FrameLayout
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/content_bg_image_view"
|
||||
android:visibility="gone"
|
||||
android:layout_width="262dp"
|
||||
android:layout_height="262dp"
|
||||
android:src="@drawable/course_checked_bg"/>
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="236dp"
|
||||
android:layout_height="236dp"
|
||||
app:cardCornerRadius="118dp"
|
||||
app:cardElevation="0dp">
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/content_image_view"
|
||||
android:layout_width="236dp"
|
||||
android:layout_height="236dp"
|
||||
android:scaleType="fitXY"/>
|
||||
<View
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/maskView"
|
||||
android:background="@color/translucent_dark"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textColor="@color/bg_white"
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/downloadProgressTextView"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
</androidx.cardview.widget.CardView>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/lock_image_view"
|
||||
android:visibility="gone"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@drawable/ic_course_lock_pad"/>
|
||||
<ImageView
|
||||
android:layout_gravity="bottom|right"
|
||||
android:id="@+id/type_image_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/course_type_video"/>
|
||||
</FrameLayout>
|
||||
<TextView
|
||||
android:textSize="@dimen/txt_size_20"
|
||||
android:textColor="#ffffff"
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:id="@+id/courseNameTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:lines="2"
|
||||
android:maxEms="10"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
12
resources/res/layout-sw600dp/course_item_divider_d.xml
Normal file
12
resources/res/layout-sw600dp/course_item_divider_d.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:src="@drawable/icon_c_arrow_down_pad"/>
|
||||
</FrameLayout>
|
13
resources/res/layout-sw600dp/course_item_divider_u.xml
Normal file
13
resources/res/layout-sw600dp/course_item_divider_u.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_5"
|
||||
android:src="@drawable/icon_c_arrow_up_pad"/>
|
||||
</FrameLayout>
|
8
resources/res/layout-sw600dp/design_layout_snackbar.xml
Normal file
8
resources/res/layout-sw600dp/design_layout_snackbar.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<view xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
class="com.google.android.material.snackbar.Snackbar$SnackbarLayout"
|
||||
style="@style/Widget.Design.Snackbar"/>
|
65
resources/res/layout-sw600dp/fragment_robot.xml
Normal file
65
resources/res/layout-sw600dp/fragment_robot.xml
Normal file
@@ -0,0 +1,65 @@
|
||||
<?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">
|
||||
<com.ubtech.view.widget.ULinearLayout
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/rootView"
|
||||
android:background="@color/bg_ebebeb"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.ubtech.view.widget.UFrameLayout
|
||||
android:id="@+id/robotCoverLayout"
|
||||
android:background="@drawable/pad_robot_cover_bg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="10dp"
|
||||
app:height_percent="0.449"
|
||||
app:width_percent="0.707">
|
||||
<ImageView
|
||||
android:id="@+id/robotCoverImageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginTop="44dp"
|
||||
android:layout_marginRight="12dp"
|
||||
app:height_percent="0.278"
|
||||
app:width_percent="1.028"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/text_size_28"
|
||||
android:textColor="@color/color_title_text"
|
||||
android:layout_gravity="bottom|left"
|
||||
android:id="@+id/robotNameTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:text="Astron"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textColor="#fffdfd"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/tagTextView"
|
||||
android:background="@drawable/bg_act_status_running"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="15dp"/>
|
||||
</com.ubtech.view.widget.UFrameLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/robotRecycleView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:minWidth="300dp"/>
|
||||
</com.ubtech.view.widget.ULinearLayout>
|
||||
<ViewStub
|
||||
android:id="@+id/vs_network_error"
|
||||
android:layout="@layout/in_select_robot_network_error"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_below="@+id/tv_select_title"
|
||||
android:layout_centerInParent="true"/>
|
||||
</RelativeLayout>
|
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fl_factory_guide"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/mdp120"
|
||||
android:layout_marginTop="@dimen/dp150"
|
||||
android:layout_toRightOf="@+id/im_guide_factory_1"
|
||||
android:layout_alignTop="@+id/im_guide_factory_1">
|
||||
<TextView
|
||||
android:textSize="@dimen/dp25"
|
||||
android:textColor="@color/txt_1D2C42"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/link_introduce_bg_white_2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="@dimen/dp550"
|
||||
android:text="@string/guide_text_3"/>
|
||||
</FrameLayout>
|
20
resources/res/layout-sw600dp/include_test_guide_layout.xml
Normal file
20
resources/res/layout-sw600dp/include_test_guide_layout.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/fl_test_guide"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/mdp150"
|
||||
android:layout_marginTop="@dimen/dp150"
|
||||
android:layout_toRightOf="@+id/im_guide_test_1"
|
||||
android:layout_alignTop="@+id/im_guide_test_1">
|
||||
<TextView
|
||||
android:textSize="@dimen/dp25"
|
||||
android:textColor="@color/txt_1D2C42"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/link_introduce_bg_white_2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="@dimen/dp550"
|
||||
android:text="@string/guide_text_4"/>
|
||||
</FrameLayout>
|
8
resources/res/layout-sw600dp/mtrl_layout_snackbar.xml
Normal file
8
resources/res/layout-sw600dp/mtrl_layout_snackbar.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<view xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
class="com.google.android.material.snackbar.Snackbar$SnackbarLayout"
|
||||
style="?attr/snackbarStyle"/>
|
141
resources/res/layout-sw600dp/recycler_item_article.xml
Normal file
141
resources/res/layout-sw600dp/recycler_item_article.xml
Normal file
@@ -0,0 +1,141 @@
|
||||
<?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:id="@+id/itemRootView"
|
||||
android:paddingLeft="@dimen/dp10w"
|
||||
android:paddingTop="@dimen/dp20w"
|
||||
android:paddingRight="@dimen/dp10w"
|
||||
android:clickable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp240w">
|
||||
<RelativeLayout
|
||||
android:clickable="false"
|
||||
android:layout_width="@dimen/dp400w"
|
||||
android:layout_height="@dimen/dp155w"
|
||||
android:layout_alignParentBottom="true">
|
||||
<View
|
||||
android:background="@drawable/bg_ranking_20"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp149w"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
<androidx.cardview.widget.CardView
|
||||
android:background="#ffffff"
|
||||
android:clickable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp149w"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
app:cardCornerRadius="@dimen/dp15w"
|
||||
app:cardElevation="0dp">
|
||||
<TextView
|
||||
android:textSize="@dimen/dp16w"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/color_community_title_text"
|
||||
android:ellipsize="end"
|
||||
android:layout_gravity="bottom"
|
||||
android:id="@+id/tv_creativity_title"
|
||||
android:paddingLeft="@dimen/dp25w"
|
||||
android:paddingRight="@dimen/dp25w"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp17w"
|
||||
android:text="Get The Boot A Birds Eye Get The Boot A Birds Eye Get The Boot A Birds Eye Get The Boot A Birds Eye"
|
||||
android:lines="2"/>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</RelativeLayout>
|
||||
<RelativeLayout
|
||||
android:clickable="false"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp140w"
|
||||
android:layout_marginLeft="@dimen/dp14w"
|
||||
android:layout_marginRight="@dimen/dp14w">
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp120w">
|
||||
<androidx.cardview.widget.CardView
|
||||
android:clickable="false"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
app:cardCornerRadius="@dimen/dp15w"
|
||||
app:cardElevation="0dp">
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/community_img"
|
||||
android:layout_width="@dimen/dp50w"
|
||||
android:layout_height="@dimen/dp50w"/>
|
||||
<ImageView
|
||||
android:id="@+id/im_creativity_image"
|
||||
android:background="#55eeeeee"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"/>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/im_creativity_video"
|
||||
android:background="@drawable/icon_play"
|
||||
android:visibility="gone"
|
||||
android:layout_width="@dimen/dp35w"
|
||||
android:layout_height="@dimen/dp35w"/>
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="bottom|right"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dp"
|
||||
android:layout_marginRight="@dimen/dp_5">
|
||||
<TextView
|
||||
android:textSize="@dimen/text_size_14"
|
||||
android:textColor="@color/bg_white"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/tv_comment"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="@dimen/dp_10"
|
||||
android:text="22"
|
||||
android:drawableLeft="@drawable/ic_menu_comment"
|
||||
android:drawablePadding="@dimen/dp_5"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/text_size_12"
|
||||
android:textColor="@color/bg_white"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/tv_praise"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:text="20"
|
||||
android:drawableLeft="@drawable/ic_menu_praise"
|
||||
android:drawablePadding="@dimen/dp_5"/>
|
||||
</LinearLayout>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</FrameLayout>
|
||||
<ImageView
|
||||
android:id="@+id/im_comm_head"
|
||||
android:background="@drawable/shape_circle_white"
|
||||
android:paddingLeft="@dimen/dp2w"
|
||||
android:paddingTop="@dimen/dp2w"
|
||||
android:paddingRight="@dimen/dp2w"
|
||||
android:paddingBottom="@dimen/dp4w"
|
||||
android:layout_width="@dimen/dp40w"
|
||||
android:layout_height="@dimen/dp40w"
|
||||
android:layout_marginLeft="@dimen/dp10w"
|
||||
android:src="@drawable/tab_base_user_default"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/dp14w"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/color_community_title_text"
|
||||
android:ellipsize="end"
|
||||
android:id="@+id/tv_creativity_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp6w"
|
||||
android:text="Marry"
|
||||
android:lines="1"
|
||||
android:maxEms="16"
|
||||
android:maxLength="16"
|
||||
android:layout_toRightOf="@+id/im_comm_head"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
</RelativeLayout>
|
||||
<View
|
||||
android:id="@+id/view_onclick"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</RelativeLayout>
|
30
resources/res/layout-sw600dp/recycler_item_award.xml
Normal file
30
resources/res/layout-sw600dp/recycler_item_award.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/titleParent"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/imageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/txt_size_14"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#7c9095"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tvClassName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"/>
|
||||
</LinearLayout>
|
||||
<include layout="@layout/recycler_item_article"/>
|
||||
</LinearLayout>
|
20
resources/res/layout-sw600dp/recycler_item_package.xml
Normal file
20
resources/res/layout-sw600dp/recycler_item_package.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/coverImageView"
|
||||
android:layout_width="160dp"
|
||||
android:layout_height="180dp"
|
||||
android:layout_margin="@dimen/dp_10"
|
||||
android:scaleType="centerCrop"/>
|
||||
<ImageView
|
||||
android:layout_gravity="top|right"
|
||||
android:id="@+id/isNewImageView"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/dp_10"
|
||||
android:src="@drawable/ic_menu_new"/>
|
||||
</FrameLayout>
|
38
resources/res/layout-sw600dp/recycler_item_robot.xml
Normal file
38
resources/res/layout-sw600dp/recycler_item_robot.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?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:id="@+id/itemCardView"
|
||||
android:padding="2dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/dp_5">
|
||||
<RelativeLayout
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/robotImageParent"
|
||||
android:layout_width="94dp"
|
||||
android:layout_height="98dp">
|
||||
<View
|
||||
android:id="@+id/bottomView"
|
||||
android:background="@drawable/bg_ranking_10"
|
||||
android:layout_width="94dp"
|
||||
android:layout_height="94dp"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/robotCardView"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:clickable="true"
|
||||
android:layout_width="94dp"
|
||||
android:layout_height="94dp"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:layout_alignParentTop="true"
|
||||
app:cardCornerRadius="@dimen/dp10"
|
||||
app:cardElevation="0dp">
|
||||
<ImageView
|
||||
android:id="@+id/robotImageView"
|
||||
android:background="#ffffff"
|
||||
android:padding="@dimen/dp_5"
|
||||
android:clickable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</androidx.cardview.widget.CardView>
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
30
resources/res/layout-sw600dp/refresh_header_view.xml
Normal file
30
resources/res/layout-sw600dp/refresh_header_view.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:gravity="bottom"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/headerTextLayout"
|
||||
android:paddingTop="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp"
|
||||
android:minWidth="100dp">
|
||||
<ImageView
|
||||
android:id="@+id/head_progressBar"
|
||||
android:visibility="visible"
|
||||
android:layout_width="@dimen/loading_small"
|
||||
android:layout_height="@dimen/loading_small"
|
||||
android:src="@drawable/ic_loading_small"
|
||||
android:scaleType="fitCenter"/>
|
||||
<TextView
|
||||
android:textSize="17sp"
|
||||
android:textColor="#98a5b6"
|
||||
android:id="@+id/refresh_status_textview"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/pull_to_refresh_pull_label"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
30
resources/res/layout-sw600dp/robot_package_guide.xml
Normal file
30
resources/res/layout-sw600dp/robot_package_guide.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView
|
||||
android:layout_gravity="bottom"
|
||||
android:id="@+id/im_guide_select_1"
|
||||
android:background="@drawable/link_professor_left"
|
||||
android:visibility="gone"
|
||||
android:layout_width="@dimen/dp336"
|
||||
android:layout_height="@dimen/dp294"
|
||||
android:layout_marginLeft="@dimen/mdp25"
|
||||
android:layout_marginBottom="@dimen/mdp50"/>
|
||||
<FrameLayout
|
||||
android:layout_gravity="bottom"
|
||||
android:id="@+id/fl_test_guide"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp160"
|
||||
android:layout_marginBottom="@dimen/dp10">
|
||||
<TextView
|
||||
android:textSize="@dimen/dp25"
|
||||
android:textColor="@color/txt_1D2C42"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/link_introduce_bg_white_2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="@dimen/dp550"
|
||||
android:text="@string/guide_text_8"/>
|
||||
</FrameLayout>
|
||||
</merge>
|
20
resources/res/layout-sw600dp/tab_item.xml
Normal file
20
resources/res/layout-sw600dp/tab_item.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/tabImageView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
<TextView
|
||||
android:textSize="@dimen/text_size_16"
|
||||
android:textColor="@drawable/tab_text_color"
|
||||
android:gravity="center"
|
||||
android:id="@+id/tabTextView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:minWidth="60dp"/>
|
||||
</LinearLayout>
|
60
resources/res/layout-sw600dp/video_play_fragment.xml
Normal file
60
resources/res/layout-sw600dp/video_play_fragment.xml
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:background="@android:color/black"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:keepScreenOn="true">
|
||||
<VideoView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/video_view"
|
||||
android:background="@android:color/transparent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<ImageView
|
||||
android:layout_gravity="center"
|
||||
android:id="@+id/imgPlay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/play_video"/>
|
||||
<RelativeLayout
|
||||
android:layout_gravity="bottom"
|
||||
android:id="@+id/rlProgress"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:textColor="@android:color/white"
|
||||
android:id="@+id/tvCurrent"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="48dp"
|
||||
android:text="00:00"
|
||||
android:layout_centerVertical="true"/>
|
||||
<ProgressBar
|
||||
android:id="@+id/progressBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="15dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginTop="20px"
|
||||
android:layout_marginRight="4dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:max="100"
|
||||
android:progressDrawable="@drawable/play_progress"
|
||||
android:layout_toLeftOf="@+id/tvDuration"
|
||||
android:layout_toRightOf="@+id/tvCurrent"
|
||||
android:layout_centerVertical="true"
|
||||
style="?android:attr/progressBarStyleHorizontal"/>
|
||||
<TextView
|
||||
android:textColor="@android:color/white"
|
||||
android:id="@+id/tvDuration"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="48dp"
|
||||
android:text="00:00"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"/>
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
42
resources/res/layout-sw600dp/view_picture_capture.xml
Normal file
42
resources/res/layout-sw600dp/view_picture_capture.xml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<SurfaceView
|
||||
android:id="@+id/surfaceView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<ImageView
|
||||
android:id="@+id/imgPreview"
|
||||
android:background="#000000"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="centerCrop"/>
|
||||
<LinearLayout
|
||||
android:gravity="center"
|
||||
android:layout_gravity="bottom"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/imgCancel"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/re_capture"/>
|
||||
<ImageView
|
||||
android:id="@+id/imgCapture"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="50dp"
|
||||
android:layout_marginRight="50dp"
|
||||
android:src="@mipmap/video_record"/>
|
||||
<ImageView
|
||||
android:id="@+id/imgOK"
|
||||
android:visibility="invisible"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/selected_img"/>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
Reference in New Issue
Block a user