fix: 修复部分带Tab界面Tab切换深色模式不变色的问题

This commit is contained in:
叶子维
2023-01-11 11:32:04 +08:00
parent a5cdc5b432
commit 2424521d0f
8 changed files with 58 additions and 2 deletions

View File

@ -3,6 +3,7 @@ package com.gh.gamecenter;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.NonNull;
@ -11,6 +12,8 @@ import com.gh.gamecenter.common.base.activity.ToolBarActivity;
import com.gh.gamecenter.common.constant.EntranceConsts;
import com.gh.gamecenter.common.utils.ExtensionsKt;
import java.util.ArrayList;
/**
* Created by khy on 18/07/17.
*/
@ -39,4 +42,11 @@ public class CollectionActivity extends ToolBarActivity {
return getTargetIntent(context, CollectionActivity.class, CollectionWrapperFragment.class, bundle);
}
@Override
protected void updateStaticViewBackground(View view) {
ArrayList<Integer> blackList = new ArrayList<>();
blackList.add(R.id.tab_title);
updateStaticView(view, blackList);
}
}