|
|
@@ -0,0 +1,167 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<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">
|
|
|
+
|
|
|
+ <android.support.constraint.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="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_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" />
|
|
|
+
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginBottom="16dp"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_marginRight="8dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/image_view_1"
|
|
|
+ android:layout_margin="4dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/image_view_2"
|
|
|
+ android:layout_margin="4dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/image_view_3"
|
|
|
+ android:layout_margin="4dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/line_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:background="@color/gray_F0F0F0" />
|
|
|
+</LinearLayout>
|