From 627f513da08d39833719bb21cb6beae2db91217e Mon Sep 17 00:00:00 2001
From: huangzhuanghua <401742778@qq.com>
Date: Wed, 21 Dec 2016 17:16:45 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BB=A3=E7=A0=81=E5=90=88?=
=?UTF-8?q?=E5=B9=B6=E5=90=8E=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/gh/common/util/DownloadItemUtils.java | 2 -
.../main/res/layout/gamedetail_item_gift.xml | 61 ++++-----
.../res/layout/gamedetail_item_gift_rv.xml | 63 ++++-----
app/src/main/res/layout/gift_item.xml | 129 +++++++++---------
.../main/res/layout/giftdetail_item_top.xml | 25 ++--
5 files changed, 130 insertions(+), 150 deletions(-)
diff --git a/app/src/main/java/com/gh/common/util/DownloadItemUtils.java b/app/src/main/java/com/gh/common/util/DownloadItemUtils.java
index a5a11ecf6a..90baf9a5b6 100644
--- a/app/src/main/java/com/gh/common/util/DownloadItemUtils.java
+++ b/app/src/main/java/com/gh/common/util/DownloadItemUtils.java
@@ -25,8 +25,6 @@ import com.gh.gamecenter.entity.ApkEntity;
import com.gh.gamecenter.entity.GameEntity;
import com.gh.gamecenter.manager.PackageManager;
-import java.util.HashMap;
-import java.util.Map;
import java.util.concurrent.LinkedBlockingQueue;
public class DownloadItemUtils {
diff --git a/app/src/main/res/layout/gamedetail_item_gift.xml b/app/src/main/res/layout/gamedetail_item_gift.xml
index 7cc131972a..2334f550b0 100644
--- a/app/src/main/res/layout/gamedetail_item_gift.xml
+++ b/app/src/main/res/layout/gamedetail_item_gift.xml
@@ -1,38 +1,33 @@
-
+
-
-
+ android:layout_height="60dp"
+ android:textSize="14sp"
+ android:textColor="@color/title"
+ android:gravity="center"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp" />
-
-
+
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/gamedetail_item_gift_rv.xml b/app/src/main/res/layout/gamedetail_item_gift_rv.xml
index a4d8492308..62671529f9 100644
--- a/app/src/main/res/layout/gamedetail_item_gift_rv.xml
+++ b/app/src/main/res/layout/gamedetail_item_gift_rv.xml
@@ -1,44 +1,37 @@
-
+ android:orientation="vertical"
+ android:background="@android:color/white"
+ android:paddingBottom="15dp"
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp"
+ android:paddingTop="12dp"
+ app:left="8dp"
+ app:right="8dp"
+ app:top="4dp"
+ app:bottom="4dp">
-
+ android:layout_marginBottom="12dp"
+ android:text="游戏礼包"
+ android:textColor="#3a3a3a"
+ android:textSize="16dp" />
-
+
-
+
+
-
-
-
-
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/gift_item.xml b/app/src/main/res/layout/gift_item.xml
index a3690f820d..ca49452e70 100644
--- a/app/src/main/res/layout/gift_item.xml
+++ b/app/src/main/res/layout/gift_item.xml
@@ -1,80 +1,73 @@
-
+ android:orientation="horizontal"
+ android:gravity="center_vertical"
+ android:background="@android:color/white"
+ android:paddingBottom="15dp"
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp"
+ android:paddingTop="15dp"
+ app:left="8dp"
+ app:right="8dp"
+ app:top="4dp"
+ app:bottom="4dp">
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+ android:layout_weight="1"
+ android:gravity="center_vertical"
+ android:orientation="vertical">
+ android:id="@+id/gift_name"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textColor="@color/title"
+ android:textSize="16sp"
+ android:singleLine="true"
+ android:text="暖床萌萌大礼包"/>
+
+
+
+
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/giftdetail_item_top.xml b/app/src/main/res/layout/giftdetail_item_top.xml
index 43284d1709..52488113f8 100644
--- a/app/src/main/res/layout/giftdetail_item_top.xml
+++ b/app/src/main/res/layout/giftdetail_item_top.xml
@@ -1,18 +1,19 @@
-
+ android:orientation="horizontal"
+ android:gravity="center_vertical"
+ android:background="@android:color/white"
+ android:paddingBottom="15dp"
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp"
+ android:paddingTop="15dp"
+ app:left="8dp"
+ app:right="8dp"
+ app:top="4dp"
+ app:bottom="4dp">
-
\ No newline at end of file
+
\ No newline at end of file