提取activity title到strings.xml

This commit is contained in:
CsHeng
2017-05-05 10:23:13 +08:00
parent d0f72a8d96
commit 7ca9272fe7
28 changed files with 128 additions and 196 deletions

View File

@ -2,20 +2,15 @@ package com.gh.gamecenter;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.*;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
import android.widget.Toast;
import android.widget.*;
import butterknife.BindView;
import com.gh.base.BaseActivity;
import com.gh.common.constant.Config;
import com.gh.common.util.DialogUtils;
@ -23,12 +18,10 @@ import com.gh.common.util.FileUtils;
import com.gh.gamecenter.eventbus.EBReuse;
import com.gh.gamecenter.eventbus.EBSkip;
import com.kyleduo.switchbutton.SwitchButton;
import de.greenrobot.event.EventBus;
import java.io.File;
import butterknife.BindView;
import de.greenrobot.event.EventBus;
/**
* 游戏设置页面
*
@ -72,7 +65,7 @@ public class SettingActivity extends BaseActivity implements OnClickListener {
View contentView = View.inflate(this, R.layout.activity_setting, null);
init(contentView, "设置");
init(contentView, getString(R.string.title_settings));
findViewById(R.id.setting_rl_autoinstall).setOnClickListener(this);
findViewById(R.id.setting_rl_autodelete).setOnClickListener(this);