|
|
@@ -0,0 +1,264 @@
|
|
|
+<?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"
|
|
|
+ android:background="@color/white_light">
|
|
|
+
|
|
|
+ <android.support.design.widget.CoordinatorLayout 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">
|
|
|
+
|
|
|
+ <android.support.design.widget.AppBarLayout
|
|
|
+ android:id="@+id/appbar_act_game_details"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/white_light"
|
|
|
+ android:fitsSystemWindows="true">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="280dp"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:expandedTitleTextAppearance="@style/TextAppearance.Design.CollapsingToolbar.Expanded"
|
|
|
+ app:layout_scrollFlags="scroll|exitUntilCollapsed"/>
|
|
|
+
|
|
|
+ </android.support.design.widget.AppBarLayout>
|
|
|
+
|
|
|
+ <android.support.v4.widget.NestedScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:fillViewport="false"
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/find_game_list"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="200dp"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginBottom="@dimen/dp_10"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_margin="@dimen/dp_10"
|
|
|
+ android:padding="@dimen/content_padding_20"
|
|
|
+ android:background="@drawable/x_shap_shadow_bg_rectgangle_white">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="5dp"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:background="#2FBCF1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="3dp"
|
|
|
+ android:text="游戏介绍"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <com.tencent.smtt.sdk.WebView
|
|
|
+ android:id="@+id/find_game_info_wv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_margin="@dimen/dp_10"
|
|
|
+ android:padding="@dimen/content_padding_20"
|
|
|
+ android:background="@drawable/x_shap_shadow_bg_rectgangle_white">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="5dp"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:background="#2FBCF1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="3dp"
|
|
|
+ android:text="奖励领取步骤"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.sheep.gamegroup.util.MyListview
|
|
|
+ android:id="@+id/item_detail_listview"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_15"
|
|
|
+ android:layout_marginStart="@dimen/content_padding_15"
|
|
|
+ android:divider="@null"
|
|
|
+ android:listSelector="@color/transparent"
|
|
|
+ android:scrollbars="none" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_margin="@dimen/dp_10"
|
|
|
+ android:padding="@dimen/content_padding_20"
|
|
|
+ android:background="@drawable/x_shap_shadow_bg_rectgangle_white">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="5dp"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:background="#2FBCF1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="3dp"
|
|
|
+ android:text="福利剩余数量"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="进度条"/>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <include layout="@layout/find_item_bottom"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </android.support.v4.widget.NestedScrollView>
|
|
|
+ </android.support.design.widget.CoordinatorLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/status_height_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/status_bar_height" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
+ android:layout_below="@+id/status_height_view">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/find_game_bar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white_F9F9F9"
|
|
|
+ android:visibility="invisible" />
|
|
|
+
|
|
|
+ <include
|
|
|
+ layout="@layout/title_bottom_line"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:visibility="invisible" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_baseactivity_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingEnd="@dimen/content_padding"
|
|
|
+ android:paddingStart="@dimen/content_padding"
|
|
|
+ android:scaleType="centerInside"
|
|
|
+ android:src="@drawable/narrow_back_black" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/txt_baseactivity_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/app_name"
|
|
|
+ android:textColor="@color/black_text_deep"
|
|
|
+ android:textSize="@dimen/text_size_4"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ <!--右边图片按钮-->
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/ibtn_baseactivity_right"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:paddingEnd="@dimen/content_padding"
|
|
|
+ android:paddingStart="@dimen/content_padding"
|
|
|
+ android:background="@color/translate"
|
|
|
+ android:src="@mipmap/share"
|
|
|
+ android:gravity="center"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/find_game_iv"
|
|
|
+ android:layout_width="@dimen/find_icon_with"
|
|
|
+ android:layout_height="@dimen/find_icon_with"
|
|
|
+ android:layout_marginTop="@dimen/find_game_top"
|
|
|
+ android:src="@drawable/loading_01"
|
|
|
+ android:layout_below="@+id/status_height_view" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/find_game_name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/find_game_top2"
|
|
|
+ android:layout_below="@+id/status_height_view"
|
|
|
+ android:text="@string/app_name"
|
|
|
+ android:textColor="@color/title"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/find_game_info_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/find_game_top3"
|
|
|
+ android:layout_below="@+id/status_height_view"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="厂商:网易 | 版本号:7.9"
|
|
|
+ android:textColor="@color/black_666666"
|
|
|
+ android:textSize="12sp" />
|
|
|
+
|
|
|
+ <android.support.v7.widget.AppCompatRatingBar
|
|
|
+ android:id="@+id/find_game_xin"
|
|
|
+ style="@style/style_rating_bar"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/find_game_top5"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:isIndicator="true"
|
|
|
+ android:numStars="5"
|
|
|
+ android:rating="1.5"
|
|
|
+ android:stepSize="0.5" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/find_game_down_tv"
|
|
|
+ style="@style/style_button_find"
|
|
|
+ android:layout_marginTop="@dimen/find_game_top4"
|
|
|
+ android:layout_below="@+id/status_height_view"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:text="下载" />
|
|
|
+</RelativeLayout>
|