|
|
@@ -0,0 +1,461 @@
|
|
|
+<?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="wrap_content"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingBottom="@dimen/content_padding_10"
|
|
|
+ android:paddingEnd="@dimen/content_padding_20"
|
|
|
+ android:paddingStart="@dimen/content_padding_20"
|
|
|
+ android:paddingTop="@dimen/status_bar_height"
|
|
|
+ app:expandedTitleTextAppearance="@style/TextAppearance.Design.CollapsingToolbar.Expanded"
|
|
|
+ app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="关于小绵羊"
|
|
|
+ android:textColor="@color/black_text_deep"
|
|
|
+ android:textSize="@dimen/text_size_4"
|
|
|
+ android:visibility="invisible" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/find_game_iv"
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:layout_marginTop="@dimen/content_padding"
|
|
|
+ android:src="@drawable/loading_01" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/find_game_name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ 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="5dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="厂商:网易 | 版本号:7.9"
|
|
|
+ android:textColor="@color/black_666666"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/find_game_size_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="包体大小:856M"
|
|
|
+ android:textColor="@color/black_666666"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ <android.support.v7.widget.AppCompatRatingBar
|
|
|
+ android:id="@+id/find_game_xin"
|
|
|
+ style="@style/style_rating_bar"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ 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_wrap"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:paddingEnd="40dp"
|
|
|
+ android:paddingStart="40dp"
|
|
|
+ android:text="下载" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </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">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/homepage_item_banner_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="200dp"
|
|
|
+ android:layout_margin="@dimen/dp_10">
|
|
|
+
|
|
|
+
|
|
|
+ <com.sheep.gamegroup.view.customview.SheepViewPager
|
|
|
+ android:id="@+id/viewpager_banner"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent" />
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/group_banner"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginEnd="@dimen/content_padding_small"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="4dp" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ 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="wrap_content"
|
|
|
+ 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" />
|
|
|
+
|
|
|
+ <android.support.v7.widget.AppCompatRatingBar
|
|
|
+ android:id="@+id/find_game_xin2"
|
|
|
+ style="@style/style_rating_bar"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:isIndicator="true"
|
|
|
+ android:numStars="5"
|
|
|
+ android:rating="1.5"
|
|
|
+ android:stepSize="0.5" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/find_game_score"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:text="8.5分"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="7dp"
|
|
|
+ android:text="5"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="14sp" />
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:src="@mipmap/xin_ash"/>
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/find_game_progress_5"
|
|
|
+ style="?android:attr/progressBarStyleHorizontal"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:max="100"
|
|
|
+ android:progress="10"
|
|
|
+ android:visibility="visible"
|
|
|
+ android:progressDrawable="@drawable/lay_list_progress"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="7dp"
|
|
|
+ android:text="4"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="14sp" />
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:src="@mipmap/xin_ash"/>
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/find_game_progress_4"
|
|
|
+ style="?android:attr/progressBarStyleHorizontal"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:max="100"
|
|
|
+ android:progress="10"
|
|
|
+ android:visibility="visible"
|
|
|
+ android:progressDrawable="@drawable/lay_list_progress"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="7dp"
|
|
|
+ android:text="3"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="14sp" />
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:src="@mipmap/xin_ash"/>
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/find_game_progress_3"
|
|
|
+ style="?android:attr/progressBarStyleHorizontal"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:max="100"
|
|
|
+ android:progress="10"
|
|
|
+ android:visibility="visible"
|
|
|
+ android:progressDrawable="@drawable/lay_list_progress"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="7dp"
|
|
|
+ android:text="2"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="14sp" />
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:src="@mipmap/xin_ash"/>
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/find_game_progress_2"
|
|
|
+ style="?android:attr/progressBarStyleHorizontal"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:max="100"
|
|
|
+ android:progress="10"
|
|
|
+ android:visibility="visible"
|
|
|
+ android:progressDrawable="@drawable/lay_list_progress"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="7dp"
|
|
|
+ android:text="1"
|
|
|
+ android:textColor="@color/black_6_3"
|
|
|
+ android:textSize="14sp" />
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:src="@mipmap/xin_ash"/>
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/find_game_progress_1"
|
|
|
+ style="?android:attr/progressBarStyleHorizontal"
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:max="100"
|
|
|
+ android:progress="10"
|
|
|
+ android:visibility="visible"
|
|
|
+ android:progressDrawable="@drawable/lay_list_progress"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_margin="@dimen/dp_10"
|
|
|
+ android:padding="@dimen/content_padding_20"
|
|
|
+ android:background="@drawable/x_shap_shadow_bg_rectgangle_white">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/find_game_user_iv"
|
|
|
+ android:layout_width="70dp"
|
|
|
+ android:layout_height="70dp"
|
|
|
+ android:src="@drawable/icon"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/find_game_user_name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:text="@string/app_name"
|
|
|
+ android:textColor="@color/title"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <android.support.v7.widget.AppCompatRatingBar
|
|
|
+ android:id="@+id/find_game_user_xin"
|
|
|
+ style="@style/style_rating_bar"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:numStars="5"
|
|
|
+ android:rating="1.5"
|
|
|
+ android:stepSize="0.5" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/find_game_user_commit_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:text="提交评分"
|
|
|
+ android:textColor="#4889fd"
|
|
|
+ android:textSize="15sp" />
|
|
|
+ </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>
|
|
|
+ <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>
|
|
|
+ <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="?attr/actionBarSize"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingEnd="@dimen/content_padding_20"
|
|
|
+ android:paddingStart="@dimen/content_padding_20"
|
|
|
+ android:scaleType="centerInside"
|
|
|
+ android:src="@drawable/narrow_back_black" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/txt_baseactivity_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/app_name"
|
|
|
+ android:textColor="@color/black_text_deep"
|
|
|
+ android:textSize="@dimen/text_size_4"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </RelativeLayout>
|
|
|
+</RelativeLayout>
|