|
@@ -1,298 +1,297 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- tools:context="com.sheep.gamegroup.module.game.activity.ActGameGroupOrGameDetail"
|
|
|
|
|
- android:background="@color/bg">
|
|
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ tools:context="com.sheep.gamegroup.module.game.activity.ActGameGroupOrGameDetail"
|
|
|
|
|
+ android:background="@color/bg">
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/gc_game_app_detail_bt2"
|
|
|
|
|
- style="@style/style_button"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_line"
|
|
|
|
|
- android:text="下载" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_bt2"
|
|
|
|
|
+ style="@style/style_button"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_line"
|
|
|
|
|
+ android:text="下载"/>
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
- android:id="@+id/gc_game_app_detail_line"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="1dp"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintBottom_toTopOf="@id/gc_game_app_detail_bt2"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@id/refresh"
|
|
|
|
|
- android:background="#F2F2F2" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_line"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="1dp"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/gc_game_app_detail_bt2"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/refresh"
|
|
|
|
|
+ android:background="#F2F2F2"/>
|
|
|
|
|
|
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
- android:id="@+id/refresh"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
- app:layout_constraintBottom_toTopOf="@id/gc_game_app_detail_line">
|
|
|
|
|
-
|
|
|
|
|
- <android.support.v4.widget.NestedScrollView
|
|
|
|
|
|
|
+ android:id="@+id/refresh"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_gravity="fill_vertical"
|
|
|
|
|
- android:fillViewport="true"
|
|
|
|
|
- android:scrollbars="none"
|
|
|
|
|
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/gc_game_app_detail_line">
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
|
+ <android.support.v4.widget.NestedScrollView
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- android:focusable="true"
|
|
|
|
|
- android:focusableInTouchMode="true"
|
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
|
+ android:layout_gravity="fill_vertical"
|
|
|
|
|
+ android:fillViewport="true"
|
|
|
|
|
+ android:scrollbars="none"
|
|
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:maxHeight="300dp">
|
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:focusable="true"
|
|
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/gc_game_app_detail_iv"
|
|
|
|
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="216dp"
|
|
|
|
|
- android:maxHeight="300dp"
|
|
|
|
|
- android:scaleType="centerCrop"
|
|
|
|
|
- android:src="@drawable/loading_01"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:maxHeight="300dp">
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:id="@+id/gc_game_app_detail_iv2"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:minHeight="100dp"
|
|
|
|
|
- android:maxHeight="300dp"
|
|
|
|
|
- android:adjustViewBounds="true"
|
|
|
|
|
- android:scaleType="fitXY"
|
|
|
|
|
- android:src="@drawable/loading_01"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_iv"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="216dp"
|
|
|
|
|
+ android:maxHeight="300dp"
|
|
|
|
|
+ android:scaleType="centerCrop"
|
|
|
|
|
+ android:src="@drawable/loading_01"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_iv2"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="216dp"
|
|
|
|
|
+ android:adjustViewBounds="true"
|
|
|
|
|
+ android:scaleType="centerCrop"
|
|
|
|
|
+ android:src="@drawable/loading_01"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
<com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer
|
|
<com.shuyu.gsyvideoplayer.video.StandardGSYVideoPlayer
|
|
|
- android:id="@+id/detail_player"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:minHeight="100dp"
|
|
|
|
|
- android:maxHeight="300dp"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
|
+ android:id="@+id/detail_player"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:minHeight="100dp"
|
|
|
|
|
+ android:maxHeight="300dp"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:layout_width="40dp"
|
|
|
|
|
- android:layout_height="40dp"
|
|
|
|
|
- android:layout_marginLeft="16dp"
|
|
|
|
|
- android:layout_marginTop="@dimen/status_bar_height"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:onClick="onClickBackImg"
|
|
|
|
|
- android:scaleType="centerInside"
|
|
|
|
|
- android:src="@drawable/narrow_back_black"
|
|
|
|
|
- android:tint="@color/white"
|
|
|
|
|
- android:background="@drawable/shape_oval_black_trans_pad"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
+ android:layout_width="32dp"
|
|
|
|
|
+ android:layout_height="32dp"
|
|
|
|
|
+ android:layout_marginLeft="16dp"
|
|
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:onClick="onClickBackImg"
|
|
|
|
|
+ android:scaleType="centerInside"
|
|
|
|
|
+ android:foreground="@drawable/selector_forground_circle_white"
|
|
|
|
|
+ tools:ignore="UnusedAttribute"
|
|
|
|
|
+ android:src="@drawable/narrow_back_black"
|
|
|
|
|
+ android:tint="@color/white"
|
|
|
|
|
+ android:background="@drawable/shape_oval_black_trans_pad"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:layout_width="40dp"
|
|
|
|
|
- android:layout_height="40dp"
|
|
|
|
|
- android:layout_alignParentEnd="true"
|
|
|
|
|
- android:layout_marginTop="@dimen/status_bar_height"
|
|
|
|
|
- android:layout_marginRight="16dp"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:onClick="onClickShareImg"
|
|
|
|
|
- android:scaleType="centerInside"
|
|
|
|
|
- android:background="@drawable/shape_oval_black_trans_pad"
|
|
|
|
|
- android:tint="@color/white"
|
|
|
|
|
- android:src="@mipmap/share"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
|
+ android:layout_width="32dp"
|
|
|
|
|
+ android:layout_height="32dp"
|
|
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
|
|
+ android:layout_marginRight="16dp"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:onClick="onClickShareImg"
|
|
|
|
|
+ android:scaleType="centerInside"
|
|
|
|
|
+ android:foreground="@drawable/selector_forground_circle_white"
|
|
|
|
|
+ tools:ignore="UnusedAttribute"
|
|
|
|
|
+ android:background="@drawable/shape_oval_black_trans_pad"
|
|
|
|
|
+ android:tint="@color/white"
|
|
|
|
|
+ android:src="@mipmap/share"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:id="@+id/gc_game_app_detail_play_iv"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_centerInParent="true"
|
|
|
|
|
- android:src="@drawable/ic_play_but_image"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_play_iv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_centerInParent="true"
|
|
|
|
|
+ android:src="@drawable/ic_play_but_image"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
<android.support.constraint.ConstraintLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:paddingBottom="16dp"
|
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:paddingBottom="16dp"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
- android:id="@+id/gc_game_app_discount_desc_btn"
|
|
|
|
|
- android:background="@drawable/shape_btn_yellow_one_round"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:layout_width="88dp"
|
|
|
|
|
- android:layout_height="20dp">
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_discount_desc_btn"
|
|
|
|
|
+ android:background="@drawable/shape_btn_yellow_one_round"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:layout_width="88dp"
|
|
|
|
|
+ android:layout_height="20dp">
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:text="金丹玩法"
|
|
|
|
|
- android:textSize="11sp"
|
|
|
|
|
- android:layout_marginStart="10dp"
|
|
|
|
|
- android:textColor="@color/black_333333"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content" />
|
|
|
|
|
|
|
+ android:text="金丹玩法"
|
|
|
|
|
+ android:textSize="11sp"
|
|
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
|
|
+ android:textColor="@color/black_333333"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:layout_width="10dp"
|
|
|
|
|
- android:layout_height="10dp"
|
|
|
|
|
- android:scaleType="centerInside"
|
|
|
|
|
- android:src="@drawable/narrow_back_black"
|
|
|
|
|
- android:tint="@color/black_333333"
|
|
|
|
|
- android:rotation="180" />
|
|
|
|
|
|
|
+ android:layout_width="10dp"
|
|
|
|
|
+ android:layout_height="10dp"
|
|
|
|
|
+ android:scaleType="centerInside"
|
|
|
|
|
+ android:src="@drawable/narrow_back_black"
|
|
|
|
|
+ android:tint="@color/black_333333"
|
|
|
|
|
+ android:rotation="180"/>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:id="@+id/gc_game_app_detail_icon"
|
|
|
|
|
- android:layout_width="62dp"
|
|
|
|
|
- android:layout_height="62dp"
|
|
|
|
|
- android:layout_marginStart="16dp"
|
|
|
|
|
- android:layout_marginTop="20dp"
|
|
|
|
|
- android:layout_marginBottom="20dp"
|
|
|
|
|
- android:src="@drawable/icon_lj"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_icon"
|
|
|
|
|
+ android:layout_width="64dp"
|
|
|
|
|
+ android:layout_height="64dp"
|
|
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
|
|
+ android:src="@drawable/icon_lj"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/gc_game_app_detail_score_tv"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginRight="40dp"
|
|
|
|
|
- android:layout_marginTop="32dp"
|
|
|
|
|
- android:textColor="#ffffd042"
|
|
|
|
|
- android:textSize="15sp"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
- app:layout_constraintRight_toRightOf="parent" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_score_tv"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginRight="40dp"
|
|
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
|
|
+ android:textColor="#ffffd042"
|
|
|
|
|
+ android:textSize="24dp"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"/>
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/gc_game_app_detail_name"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginStart="10dp"
|
|
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:textColor="#ff333333"
|
|
|
|
|
- android:textSize="15sp"
|
|
|
|
|
- app:layout_constraintStart_toEndOf="@id/gc_game_app_detail_icon"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="@id/gc_game_app_detail_icon" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_name"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:textColor="#ff333333"
|
|
|
|
|
+ android:textSize="15sp"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@id/gc_game_app_detail_icon"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@id/gc_game_app_detail_icon"/>
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:id="@+id/gc_game_app_hot_iv"
|
|
|
|
|
- android:src="@mipmap/hot"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/gc_game_app_detail_name"
|
|
|
|
|
- app:layout_constraintStart_toEndOf="@+id/gc_game_app_detail_name"
|
|
|
|
|
- android:layout_marginStart="3dp"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- android:layout_width="8dp"
|
|
|
|
|
- android:layout_height="10dp" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_hot_iv"
|
|
|
|
|
+ android:src="@mipmap/hot"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/gc_game_app_detail_name"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/gc_game_app_detail_name"
|
|
|
|
|
+ android:layout_marginStart="3dp"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ android:layout_width="8dp"
|
|
|
|
|
+ android:layout_height="10dp"/>
|
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
<android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/gc_game_app_detail_tag_list"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="8dp"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_name"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_name" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_tag_list"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_name"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_name"/>
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/gc_game_app_detail_info_tv"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:lineSpacingExtra="5dp"
|
|
|
|
|
- android:textColor="#ff999999"
|
|
|
|
|
- android:textSize="12sp"
|
|
|
|
|
- android:layout_marginTop="8dp"
|
|
|
|
|
- app:layout_constraintEnd_toStartOf="@id/gc_game_app_detail_score_tv"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_name"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_tag_list" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_info_tv"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:lineSpacingExtra="5dp"
|
|
|
|
|
+ android:textColor="#ff999999"
|
|
|
|
|
+ android:textSize="12sp"
|
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/gc_game_app_detail_score_tv"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_name"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/gc_game_app_detail_tag_list"/>
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/gc_game_app_detail_bt1"
|
|
|
|
|
- android:layout_width="44dp"
|
|
|
|
|
- android:layout_height="17dp"
|
|
|
|
|
- android:background="@drawable/selector_button_stroke_main"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:onClick="onClickFollowTv"
|
|
|
|
|
- android:text="关注"
|
|
|
|
|
- android:textColor="@color/selector_color_stoke_main_btn"
|
|
|
|
|
- android:textSize="10sp"
|
|
|
|
|
- android:layout_marginTop="6dp"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/gc_game_app_detail_icon"
|
|
|
|
|
- app:layout_constraintRight_toRightOf="@+id/gc_game_app_detail_icon"
|
|
|
|
|
- app:layout_constraintLeft_toLeftOf="@+id/gc_game_app_detail_icon"/>
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_bt1"
|
|
|
|
|
+ android:layout_width="44dp"
|
|
|
|
|
+ android:layout_height="17dp"
|
|
|
|
|
+ android:background="@drawable/selector_button_stroke_main"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:onClick="onClickFollowTv"
|
|
|
|
|
+ android:text="关注"
|
|
|
|
|
+ android:textColor="@color/selector_color_stoke_main_btn"
|
|
|
|
|
+ android:textSize="10sp"
|
|
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/gc_game_app_detail_icon"
|
|
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/gc_game_app_detail_icon"
|
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/gc_game_app_detail_icon"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginEnd="12dp"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/gc_game_app_detail_icon"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/gc_game_app_detail_icon"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/gc_game_app_detail_bt4"
|
|
|
|
|
- style="@style/style_activity_td_tv"
|
|
|
|
|
- android:textSize="13sp"
|
|
|
|
|
- android:layout_width="66dp"
|
|
|
|
|
- android:layout_height="24dp"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- android:layout_marginStart="12dp" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_bt4"
|
|
|
|
|
+ style="@style/style_activity_td_tv"
|
|
|
|
|
+ android:textSize="13sp"
|
|
|
|
|
+ android:layout_width="66dp"
|
|
|
|
|
+ android:layout_height="24dp"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ android:layout_marginStart="12dp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/gc_game_app_detail_bt3"
|
|
|
|
|
- style="@style/style_vip_td_tv"
|
|
|
|
|
- android:textSize="13sp"
|
|
|
|
|
- android:layout_width="66dp"
|
|
|
|
|
- android:layout_height="24dp"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- android:layout_marginStart="12dp" />
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_bt3"
|
|
|
|
|
+ style="@style/style_vip_td_tv"
|
|
|
|
|
+ android:textSize="13sp"
|
|
|
|
|
+ android:layout_width="66dp"
|
|
|
|
|
+ android:layout_height="24dp"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ android:layout_marginStart="12dp"/>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="10dp"
|
|
|
|
|
- android:background="#fff5f5f5" />
|
|
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="10dp"
|
|
|
|
|
+ android:background="#fff5f5f5"/>
|
|
|
|
|
|
|
|
<include
|
|
<include
|
|
|
- android:id="@+id/gc_game_app_detail_game_list"
|
|
|
|
|
- layout="@layout/item_gc_game_app_channel_list"/>
|
|
|
|
|
|
|
+ android:id="@+id/gc_game_app_detail_game_list"
|
|
|
|
|
+ layout="@layout/item_gc_game_app_channel_list"/>
|
|
|
|
|
|
|
|
<android.support.design.widget.TabLayout
|
|
<android.support.design.widget.TabLayout
|
|
|
- android:id="@+id/tabLayout"
|
|
|
|
|
- style="@style/style_tab"
|
|
|
|
|
- app:tabMode="fixed"
|
|
|
|
|
- android:layout_height="48dp"
|
|
|
|
|
- app:tabIndicatorHeight="2dp" />
|
|
|
|
|
-
|
|
|
|
|
- <include layout="@layout/line_1px_hor" />
|
|
|
|
|
-
|
|
|
|
|
|
|
+ android:id="@+id/tabLayout"
|
|
|
|
|
+ style="@style/style_tab"
|
|
|
|
|
+ app:tabMode="fixed"
|
|
|
|
|
+ android:layout_height="48dp"
|
|
|
|
|
+ app:tabIndicatorHeight="2dp"/>
|
|
|
|
|
|
|
|
<com.kfzs.android.view.widget.WrapContentHeightViewPager
|
|
<com.kfzs.android.view.widget.WrapContentHeightViewPager
|
|
|
- android:id="@+id/viewPager"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:minHeight="@dimen/view_size_100"
|
|
|
|
|
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
|
|
|
+ android:id="@+id/viewPager"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:minHeight="@dimen/view_size_100"
|
|
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
@@ -301,21 +300,21 @@
|
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
|
|
|
|
|
<com.kfzs.duanduan.view.DragRelativeLayout
|
|
<com.kfzs.duanduan.view.DragRelativeLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="300dp"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- android:onClick="onClickPlusDrag"
|
|
|
|
|
- android:paddingTop="@dimen/content_padding_10"
|
|
|
|
|
- android:paddingBottom="@dimen/content_padding_10">
|
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="300dp"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ android:onClick="onClickPlusDrag"
|
|
|
|
|
+ android:paddingTop="@dimen/content_padding_10"
|
|
|
|
|
+ android:paddingBottom="@dimen/content_padding_10">
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:id="@+id/write_comment"
|
|
|
|
|
- android:layout_width="45dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:adjustViewBounds="true"
|
|
|
|
|
- android:scaleType="fitXY" />
|
|
|
|
|
|
|
+ android:id="@+id/write_comment"
|
|
|
|
|
+ android:layout_width="45dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:adjustViewBounds="true"
|
|
|
|
|
+ android:scaleType="fitXY"/>
|
|
|
</com.kfzs.duanduan.view.DragRelativeLayout>
|
|
</com.kfzs.duanduan.view.DragRelativeLayout>
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
</android.support.constraint.ConstraintLayout>
|