|
|
@@ -0,0 +1,129 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:orientation="vertical">
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:background="@color/bg_home_color"/>
|
|
|
+ <!--<include layout="@layout/hp_game_welfare_entrance"/>-->
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/hp_focus_tv1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:background="@drawable/shape_solid_ffcad7_radius_4"
|
|
|
+ android:paddingStart="5dp"
|
|
|
+ android:paddingTop="4dp"
|
|
|
+ android:paddingEnd="5dp"
|
|
|
+ android:paddingBottom="4dp"
|
|
|
+ android:text="今日焦点"
|
|
|
+ android:textColor="#F02155"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/item_focus_icon_iv"
|
|
|
+ android:layout_width="63dp"
|
|
|
+ android:layout_height="63dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:layout_marginBottom="11dp"
|
|
|
+ android:src="@mipmap/sheep_logo"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/item_focus_name_tv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="11dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="94dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="永恒仙域"
|
|
|
+ android:textColor="#ff333333"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@id/item_focus_icon_iv"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/item_focus_game_tags"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/item_focus_name_tv"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/item_focus_name_tv"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/item_focus_name_tv" >
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/item_focus_num_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/shape_red_stroke_rectangle_3_radius"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:textColor="#cc8e8e8e"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/item_focus_num_tv1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/content_padding"
|
|
|
+ android:background="@drawable/shape_red_stroke_rectangle_3_radius"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text=""
|
|
|
+ android:textColor="#cc8e8e8e"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/item_focus_num_tv2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/shape_red_stroke_rectangle_3_radius"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:layout_marginStart="@dimen/content_padding"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text=""
|
|
|
+ android:textColor="#cc8e8e8e"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/item_focus_size_tv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="截止时间:2018/04/30 23:59"
|
|
|
+ android:textColor="#ff8e8e8e"
|
|
|
+ android:textSize="10sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="@id/item_focus_name_tv"
|
|
|
+ app:layout_constraintStart_toStartOf="@id/item_focus_name_tv" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/item_focus_btn_tv"
|
|
|
+ style="@style/style_button_find"
|
|
|
+ android:layout_marginEnd="17dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:text="去下载"
|
|
|
+ android:textSize="13sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent" />
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
+</LinearLayout>
|