|
|
@@ -1,41 +1,58 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout 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"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
|
|
|
android:orientation="horizontal"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:paddingLeft="@dimen/content_padding_15"
|
|
|
- android:paddingRight="@dimen/content_padding_10"
|
|
|
- android:paddingTop="@dimen/content_padding_small"
|
|
|
android:paddingBottom="@dimen/content_padding_small"
|
|
|
- android:background="@drawable/x_shap_shadow_bg_rectgangle_white">
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginRight="@dimen/content_padding_small">
|
|
|
+ android:paddingEnd="@dimen/content_padding_10"
|
|
|
+ android:paddingStart="@dimen/content_padding_15"
|
|
|
+ android:paddingTop="@dimen/content_padding_small">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/gridview_item_name_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="试玩赚钱"
|
|
|
- style="@style/nomal_txt_style"/>
|
|
|
- <TextView
|
|
|
- android:id="@+id/gridview_item_detail_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="下载应用领现金"
|
|
|
- style="@style/nomal_txt_style_11"/>
|
|
|
- </LinearLayout>
|
|
|
- <ImageView
|
|
|
- android:id="@+id/gridview_item_icon_iv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:maxHeight="@dimen/view_size_65"
|
|
|
- android:maxWidth="@dimen/view_size_65"
|
|
|
- android:src="@mipmap/home_try_play_circle_bg"
|
|
|
- android:adjustViewBounds="true"/>
|
|
|
-</LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/gridview_item_name_tv"
|
|
|
+ style="@style/nomal_txt_style"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="试玩赚钱"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/gridview_item_detail_tv"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/gridview_item_detail_tv"
|
|
|
+ style="@style/nomal_txt_style_11"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="@dimen/content_padding_10"
|
|
|
+ android:text="下载应用领现金"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/gridview_item_icon_iv"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/gridview_item_name_tv" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/hot_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/content_padding_10"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:text="hot~"
|
|
|
+ android:textSize="13sp"
|
|
|
+ android:textColor="@color/red"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/gridview_item_name_tv"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/gridview_item_name_tv"/>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/gridview_item_icon_iv"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:maxHeight="@dimen/view_size_65"
|
|
|
+ android:maxWidth="@dimen/view_size_65"
|
|
|
+ android:src="@mipmap/home_try_play_circle_bg"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/gridview_item_detail_tv" />
|
|
|
+</android.support.constraint.ConstraintLayout>
|