From 9acd7120f0943614ceb990af5124e0f907ef8f93 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 30 三月 2021 19:29:27 +0800 Subject: [PATCH] 白色背景修改 --- BuWanVideo/src/com/weikou/beibeivideo/ui/common/MVideosActivity.java | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/ui/common/MVideosActivity.java b/BuWanVideo/src/com/weikou/beibeivideo/ui/common/MVideosActivity.java index 1f0b0e6..b710340 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/ui/common/MVideosActivity.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/ui/common/MVideosActivity.java @@ -28,7 +28,6 @@ import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken; -import com.lcjian.library.util.RefreshLayout; import com.lcjian.library.util.common.DimenUtils; import com.lcjian.library.util.common.StringUtils; import com.weikou.beibeivideo.R; @@ -39,13 +38,15 @@ import com.weikou.beibeivideo.ui.BaseActivity; import com.weikou.beibeivideo.ui.media.VideoDetailActivity; import com.weikou.beibeivideo.ui.media.VideoDetailActivity2; +import com.weikou.beibeivideo.util.ui.TopStatusSettings; +import com.weikou.beibeivideo.widget.MySwipeRefreshLayout; public class MVideosActivity extends BaseActivity implements OnClickListener { private TextView tv_top_bar_left; private TextView tv_top_bar_middle; - private RefreshLayout rl_video; + private MySwipeRefreshLayout rl_video; private ListView lv_video; @@ -68,7 +69,7 @@ super.onCreate(savedInstanceState); setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);// 閿佸畾绔栧睆 setContentView(R.layout.mvideos_activity); - initStatusBar(); + TopStatusSettings.setStatusViewAndDeepColor(this); if (getIntent().getSerializableExtra("home_type") == null) { id = getIntent().getStringExtra("id"); @@ -81,7 +82,7 @@ if (!StringUtils.isEmpty(getIntent().getStringExtra("push"))) { isPush = true; } - rl_video = (RefreshLayout) findViewById(R.id.rl_walfare); + rl_video = findViewById(R.id.rl_walfare); fl_download_failure = (FrameLayout) findViewById(R.id.fl_videosfragment_download_failure); fl_download_failure.setOnClickListener(this); @@ -112,7 +113,7 @@ } } }); - rl_video.setOnLoadListener(new RefreshLayout.OnLoadListener() { + rl_video.setOnLoadListener(new MySwipeRefreshLayout.OnLoadListener() { @Override public void onLoad() { if (isPush) { -- Gitblit v1.8.0