From f351761d9ee6825ff9ae75fa52c82829c147d7b8 Mon Sep 17 00:00:00 2001 From: kehaoyuan Date: Tue, 7 Jan 2020 09:46:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83=E8=A7=86=E9=A2=91=E6=8A=95?= =?UTF-8?q?=E7=A8=BFUI=20=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E4=BF=9D=E5=AD=98=E5=90=8E=E6=97=A0=E6=B3=95=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=88=B0=E5=9B=BE=E7=89=87=E5=BA=93=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/gh/gamecenter/ViewImageActivity.java | 2 ++ .../gh/gamecenter/video/videomanager/VideoVerifyAdapter.kt | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/gh/gamecenter/ViewImageActivity.java b/app/src/main/java/com/gh/gamecenter/ViewImageActivity.java index 1d6d9a2953..f5f7fcd659 100644 --- a/app/src/main/java/com/gh/gamecenter/ViewImageActivity.java +++ b/app/src/main/java/com/gh/gamecenter/ViewImageActivity.java @@ -35,6 +35,7 @@ import com.gh.common.util.DisplayUtils; import com.gh.common.util.EntranceUtils; import com.gh.common.util.ImageUtils; import com.gh.common.util.MD5Utils; +import com.gh.common.util.MessageShareUtils; import com.gh.common.util.NetworkUtils; import com.gh.common.util.PermissionHelper; import com.gh.common.util.SimpleImageLoader; @@ -425,6 +426,7 @@ public class ViewImageActivity extends BaseActivity implements OnPageChangeListe } Utils.toast(ViewImageActivity.this, "图片已保存到/Pictures/ghzhushou/"); + MessageShareUtils.refreshImage(ViewImageActivity.this, dst); } catch (Exception e) { Utils.log("图片保存失败:" + e.toString()); } finally { diff --git a/app/src/main/java/com/gh/gamecenter/video/videomanager/VideoVerifyAdapter.kt b/app/src/main/java/com/gh/gamecenter/video/videomanager/VideoVerifyAdapter.kt index 13f79e8152..db88c5d46a 100644 --- a/app/src/main/java/com/gh/gamecenter/video/videomanager/VideoVerifyAdapter.kt +++ b/app/src/main/java/com/gh/gamecenter/video/videomanager/VideoVerifyAdapter.kt @@ -6,6 +6,7 @@ import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.LinearLayout +import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.gh.common.constant.ItemViewType import com.gh.common.util.* @@ -71,9 +72,9 @@ class VideoVerifyAdapter(context: Context, LinearLayout.LayoutParams.WRAP_CONTENT ) - val edit = layout.findViewById(R.id.edit) + val edit = layout.findViewById(R.id.edit) val line = layout.findViewById(R.id.line) - val delete = layout.findViewById(R.id.delete) + val delete = layout.findViewById(R.id.delete) val contentContainer = layout.findViewById(R.id.content_container) if (entity.status == "fail") { @@ -81,6 +82,8 @@ class VideoVerifyAdapter(context: Context, edit.visibility = View.GONE } else if (entity.status == "pending") { contentContainer.setBackgroundColor(R.color.background.toColor()) + delete.setTextColor(R.color.text_cccccc.toColor()) + edit.setTextColor(R.color.text_cccccc.toColor()) } edit.setOnClickListener { if (entity.status == "pending") {