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