|
|
@@ -2,12 +2,16 @@
|
|
|
<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:layout_marginEnd="@dimen/content_padding"
|
|
|
android:layout_marginStart="@dimen/content_padding"
|
|
|
- android:layout_marginTop="@dimen/content_padding_10"
|
|
|
+ android:layout_marginTop="@dimen/content_padding"
|
|
|
android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
|
|
|
android:orientation="vertical"
|
|
|
- android:padding="@dimen/dp_10">
|
|
|
+ android:paddingTop="14dp"
|
|
|
+ android:paddingStart="@dimen/content_padding"
|
|
|
+ android:paddingEnd="@dimen/content_padding"
|
|
|
+ android:paddingBottom="15dp">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -35,10 +39,10 @@
|
|
|
android:id="@+id/find_item_time"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
android:text="@string/app_name"
|
|
|
android:textColor="#9B9B9B"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:textSize="11sp" />
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
@@ -50,7 +54,7 @@
|
|
|
android:adjustViewBounds="true"
|
|
|
android:src="@mipmap/icon" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
@@ -58,7 +62,8 @@
|
|
|
android:id="@+id/find_item_des"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/content_padding"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
android:maxLines="2"
|
|
|
android:ellipsize="end"
|
|
|
android:text="@string/app_name"
|
|
|
@@ -69,8 +74,8 @@
|
|
|
android:id="@+id/find_item_pf_label"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/find_item_des"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/find_item_des"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
android:text="评分:8.9"
|
|
|
android:textColor="#646464"
|
|
|
android:textSize="14sp" />
|
|
|
@@ -78,11 +83,9 @@
|
|
|
<TextView
|
|
|
android:id="@+id/find_item_download"
|
|
|
style="@style/style_button_find"
|
|
|
- android:layout_alignParentEnd="true"
|
|
|
- android:layout_marginTop="@dimen/content_padding_5"
|
|
|
- android:layout_below="@+id/find_item_des"
|
|
|
- android:layout_centerVertical="true"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/find_item_pf_label"
|
|
|
android:text="下载游戏" />
|
|
|
- </RelativeLayout>
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
</LinearLayout>
|