修复插件平台图片(旧版本)无法更新问题, 优化登录

This commit is contained in:
kehaoyuan
2017-07-06 09:10:44 +08:00
parent a05e6917b8
commit 5930996e1c
8 changed files with 67 additions and 28 deletions

View File

@ -334,11 +334,11 @@ public class DownloadDialog implements OnCollectionCallBackListener {
int count = apkList.size();
int vpHeight;
if (count <= 3) {
vpHeight = 88;
vpHeight = 90;
} else if (count <= 6) {
vpHeight = 148;
vpHeight = 150;
} else {
vpHeight = 208;
vpHeight = 210;
}
ViewGroup.LayoutParams layoutParams = viewPager.getLayoutParams();
layoutParams.height = DisplayUtils.dip2px(mContext, vpHeight);
@ -421,11 +421,11 @@ public class DownloadDialog implements OnCollectionCallBackListener {
int count = gameCollectionEntity.getSaveApkEntity().size();
int vpHeight;
if (count <= 3) {
vpHeight = 80;
vpHeight = 82;
} else if (count <= 6) {
vpHeight = 140;
vpHeight = 142;
} else {
vpHeight = 200;
vpHeight = 202;
}
ViewGroup.LayoutParams layoutParams = collectionViewPager.getLayoutParams();