<?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:id="@+id/find_game_score_no"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="vertical"
                    android:visibility="gone"
                    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="0"
                            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="0"
                            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="0"
                            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="0"
                            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="0"
                            android:visibility="visible"
                            android:progressDrawable="@drawable/lay_list_progress"/>

                    </LinearLayout>
                </LinearLayout>

                <LinearLayout
                    android:id="@+id/find_game_score_my"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:visibility="gone"
                    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>
                    <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>
                <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>