|
|
@@ -1,139 +1,259 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<!--<LinearLayout 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="wrap_content"-->
|
|
|
+<!-- android:orientation="vertical">-->
|
|
|
+
|
|
|
+<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_marginStart="12dp"-->
|
|
|
+<!-- android:layout_marginTop="@dimen/content_padding_10"-->
|
|
|
+<!-- android:layout_marginEnd="12dp">-->
|
|
|
+
|
|
|
+<!-- <ImageView-->
|
|
|
+<!-- android:id="@+id/item_icon_iv"-->
|
|
|
+<!-- android:layout_width="64dp"-->
|
|
|
+<!-- android:layout_height="64dp"-->
|
|
|
+<!-- android:src="@drawable/icon_lj"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
|
+
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/end_of_time_tv"-->
|
|
|
+<!-- android:layout_width="0dp"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_marginStart="@dimen/content_padding_4"-->
|
|
|
+<!-- android:layout_marginTop="55dp"-->
|
|
|
+<!-- android:layout_marginEnd="@dimen/content_padding_4"-->
|
|
|
+<!-- android:background="@drawable/shape_ash_stroke_white_solid_rectangle"-->
|
|
|
+<!-- android:gravity="center"-->
|
|
|
+<!-- android:lines="1"-->
|
|
|
+<!-- android:textColor="#989898"-->
|
|
|
+<!-- android:textSize="12sp"-->
|
|
|
+<!-- android:visibility="gone"-->
|
|
|
+<!-- app:layout_constraintEnd_toEndOf="@+id/item_icon_iv"-->
|
|
|
+<!-- app:layout_constraintStart_toStartOf="@+id/item_icon_iv"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
|
+
|
|
|
+<!-- <LinearLayout-->
|
|
|
+<!-- android:layout_width="0dp"-->
|
|
|
+<!-- android:layout_height="70dp"-->
|
|
|
+<!-- android:layout_marginStart="@dimen/content_padding"-->
|
|
|
+<!-- android:orientation="vertical"-->
|
|
|
+<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
|
+<!-- app:layout_constraintEnd_toStartOf="@id/detail_task_tv_center"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@id/item_icon_iv"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="parent">-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/item_name_tv"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:ellipsize="middle"-->
|
|
|
+<!-- android:gravity="start"-->
|
|
|
+<!-- android:maxLines="2"-->
|
|
|
+<!-- android:text=""-->
|
|
|
+<!-- android:textColor="#444444"-->
|
|
|
+<!-- android:textSize="14sp" />-->
|
|
|
+
|
|
|
+<!-- <View-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0dp"-->
|
|
|
+<!-- android:layout_weight="3" />-->
|
|
|
+
|
|
|
+<!-- <LinearLayout-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_marginTop="@dimen/content_padding_2"-->
|
|
|
+<!-- android:layout_marginEnd="@dimen/content_padding_8"-->
|
|
|
+<!-- android:orientation="horizontal">-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/item_date_tv"-->
|
|
|
+<!-- android:layout_width="0dp"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:layout_weight="1"-->
|
|
|
+<!-- android:lines="1"-->
|
|
|
+<!-- android:text=""-->
|
|
|
+<!-- android:textColor="#cc8e8e8e"-->
|
|
|
+<!-- android:textSize="10sp" />-->
|
|
|
+
|
|
|
+<!-- <ImageView-->
|
|
|
+<!-- android:id="@+id/item_date_question_img"-->
|
|
|
+<!-- android:layout_width="15dp"-->
|
|
|
+<!-- android:layout_height="15dp"-->
|
|
|
+<!-- android:src="@mipmap/task_game_qustion_icon"-->
|
|
|
+<!-- android:visibility="gone"-->
|
|
|
+<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
|
+<!-- app:layout_constraintStart_toEndOf="@+id/item_date_tv" />-->
|
|
|
+<!-- </LinearLayout>-->
|
|
|
+
|
|
|
+<!-- <View-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0dp"-->
|
|
|
+<!-- android:layout_weight="1" />-->
|
|
|
+
|
|
|
+<!-- <LinearLayout-->
|
|
|
+<!-- android:id="@+id/ll_game_tag"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="wrap_content"-->
|
|
|
+<!-- android:gravity="center_vertical"-->
|
|
|
+<!-- android:orientation="horizontal" />-->
|
|
|
+
|
|
|
+
|
|
|
+<!-- </LinearLayout>-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/detail_task_tv_center"-->
|
|
|
+<!-- style="@style/style_button_find"-->
|
|
|
+<!-- android:layout_centerInParent="true"-->
|
|
|
+<!-- android:text="@string/task_cancel"-->
|
|
|
+<!-- android:visibility="visible"-->
|
|
|
+<!-- app:layout_constraintBottom_toTopOf="@id/detail_task_tv_center2"-->
|
|
|
+<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
|
+<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/detail_task_tv_center2"-->
|
|
|
+<!-- style="@style/style_vip_td_tv2"-->
|
|
|
+<!-- android:layout_centerInParent="true"-->
|
|
|
+<!-- android:layout_marginTop="16dp"-->
|
|
|
+<!-- android:visibility="gone"-->
|
|
|
+<!-- app:layout_constraintBottom_toBottomOf="@id/item_icon_iv"-->
|
|
|
+<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@id/detail_task_tv_center" />-->
|
|
|
+
|
|
|
+<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
|
+
|
|
|
+<!-- <View-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="@dimen/content_padding_10" />-->
|
|
|
+
|
|
|
+<!-- <View-->
|
|
|
+<!-- android:id="@+id/line_tv"-->
|
|
|
+<!-- android:layout_width="match_parent"-->
|
|
|
+<!-- android:layout_height="0.5dp"-->
|
|
|
+<!-- android:layout_marginStart="12dp"-->
|
|
|
+<!-- android:layout_marginEnd="12dp"-->
|
|
|
+<!-- android:background="@color/gray_F0F0F0" />-->
|
|
|
+<!--</LinearLayout>-->
|
|
|
+<androidx.constraintlayout.widget.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="wrap_content"
|
|
|
- android:orientation="vertical">
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:paddingBottom="16dp">
|
|
|
+
|
|
|
+<ImageView
|
|
|
+ android:id="@+id/gc_game_app_detail_icon"
|
|
|
+ android:layout_width="78dp"
|
|
|
+ android:layout_height="78dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:src="@drawable/icon_lj"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+<TextView
|
|
|
+ android:id="@+id/gc_game_app_detail_score_tv"
|
|
|
+ tools:text="10.0"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:drawableStart="@drawable/star_full"
|
|
|
+ android:drawablePadding="2dp"
|
|
|
+ android:textColor="#F39D1D"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/gc_game_app_detail_name"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/gc_game_app_detail_name" />
|
|
|
+
|
|
|
+<TextView
|
|
|
+ android:id="@+id/gc_game_app_detail_name"
|
|
|
+ tools:text="游戏标题"
|
|
|
+ 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="20sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/gc_game_app_detail_icon"
|
|
|
+ app:layout_constraintTop_toTopOf="@id/gc_game_app_detail_icon" />
|
|
|
+
|
|
|
+<androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/gc_game_app_detail_tag_list"
|
|
|
+ tools:itemCount="1"
|
|
|
+ tools:listitem="@layout/item_tag"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/gc_game_app_detail_name"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/gc_game_app_detail_name"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/gc_game_app_detail_score_tv" />
|
|
|
+
|
|
|
+<TextView
|
|
|
+ android:id="@+id/gc_game_app_detail_info_tv"
|
|
|
+ tools:text="游戏类型 游玩人数"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:lineSpacingExtra="5dp"
|
|
|
+ android:textColor="#ff999999"
|
|
|
+ android:textSize="12sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/gc_game_app_detail_score_tv"
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/gc_game_app_detail_name"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/gc_game_app_detail_score_tv"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/gc_game_app_detail_score_tv" />
|
|
|
+
|
|
|
+<!-- <TextView-->
|
|
|
+<!-- android:id="@+id/gc_game_app_detail_bt1"-->
|
|
|
+<!-- android:layout_width="44dp"-->
|
|
|
+<!-- android:layout_height="17dp"-->
|
|
|
+<!-- android:layout_marginTop="6dp"-->
|
|
|
+<!-- 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"-->
|
|
|
+<!-- app:layout_constraintLeft_toLeftOf="@+id/gc_game_app_detail_icon"-->
|
|
|
+<!-- app:layout_constraintRight_toRightOf="@+id/gc_game_app_detail_icon"-->
|
|
|
+<!-- app:layout_constraintTop_toBottomOf="@+id/gc_game_app_detail_icon" />-->
|
|
|
+
|
|
|
+<LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="12dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@id/gc_game_app_detail_icon"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent">
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="12dp"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/gc_game_app_detail_bt4"
|
|
|
+ style="@style/style_activity_td_tv"
|
|
|
+ android:layout_width="66dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
android:layout_marginStart="12dp"
|
|
|
- android:layout_marginTop="@dimen/content_padding_10">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/item_icon_iv"
|
|
|
- android:layout_width="70dp"
|
|
|
- android:layout_height="70dp"
|
|
|
- android:src="@drawable/icon_lj"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/end_of_time_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="@dimen/content_padding_4"
|
|
|
- android:layout_marginStart="@dimen/content_padding_4"
|
|
|
- android:layout_marginTop="55dp"
|
|
|
- android:background="@drawable/shape_ash_stroke_white_solid_rectangle"
|
|
|
- android:gravity="center"
|
|
|
- android:lines="1"
|
|
|
- android:textColor="#989898"
|
|
|
- android:textSize="12sp"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintEnd_toEndOf="@+id/item_icon_iv"
|
|
|
- app:layout_constraintStart_toStartOf="@+id/item_icon_iv"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="70dp"
|
|
|
- android:layout_marginStart="@dimen/content_padding"
|
|
|
- android:orientation="vertical"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintEnd_toStartOf="@id/detail_task_tv_center"
|
|
|
- app:layout_constraintStart_toEndOf="@id/item_icon_iv">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/item_name_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:ellipsize="middle"
|
|
|
- android:gravity="start"
|
|
|
- android:maxLines="2"
|
|
|
- android:text=""
|
|
|
- android:textColor="#444444"
|
|
|
- android:textSize="14sp" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="3" />
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="@dimen/content_padding_8"
|
|
|
- android:layout_marginTop="@dimen/content_padding_2"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/item_date_tv"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:lines="1"
|
|
|
- android:text=""
|
|
|
- android:textColor="#cc8e8e8e"
|
|
|
- android:textSize="10sp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/item_date_question_img"
|
|
|
- android:layout_width="15dp"
|
|
|
- android:layout_height="15dp"
|
|
|
- android:src="@mipmap/task_game_qustion_icon"
|
|
|
- android:visibility="gone"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toEndOf="@+id/item_date_tv" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/ll_game_tag"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal"/>
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/detail_task_tv_center"
|
|
|
- style="@style/style_button_find"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:text="@string/task_cancel"
|
|
|
- android:visibility="visible"
|
|
|
- app:layout_constraintBottom_toTopOf="@id/detail_task_tv_center2"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
- <TextView
|
|
|
- android:id="@+id/detail_task_tv_center2"
|
|
|
- style="@style/style_vip_td_tv2"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:visibility="gone"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/item_icon_iv"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/detail_task_tv_center" />
|
|
|
-
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/content_padding_10"/>
|
|
|
- <View
|
|
|
- android:id="@+id/line_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0.5dp"
|
|
|
- android:layout_marginEnd="12dp"
|
|
|
+ android:textSize="13sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/gc_game_app_detail_bt3"
|
|
|
+ style="@style/style_vip_td_tv"
|
|
|
+ android:layout_width="66dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
android:layout_marginStart="12dp"
|
|
|
- android:background="@color/gray_F0F0F0" />
|
|
|
+ android:textSize="13sp"
|
|
|
+ android:visibility="gone" />
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|