新版游戏详情,我的光环, 反馈页面。 专题增加标签

This commit is contained in:
khy
2017-04-02 17:17:59 +08:00
parent 8ba099024e
commit 515473e5dc
149 changed files with 6979 additions and 693 deletions

View File

@ -0,0 +1,61 @@
package com.gh.gamecenter;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import com.gh.base.BaseActivity;
import butterknife.BindView;
import butterknife.OnClick;
/**
* Created by khy on 2017/3/31.
*/
public class SuggestSelectActivity extends BaseActivity {
@BindView(R.id.suggest_type1) RelativeLayout mType1;
@BindView(R.id.suggest_type2) RelativeLayout mType2;
@BindView(R.id.suggest_type3) RelativeLayout mType3;
@BindView(R.id.suggest_type4) RelativeLayout mType4;
@BindView(R.id.suggest_type5) RelativeLayout mType5;
@BindView(R.id.suggest_type6) RelativeLayout mType6;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
View view = View.inflate(this, R.layout.activity_suggest_select, null);
init(view, "意见反馈");
}
@OnClick({R.id.suggest_type1, R.id.suggest_type2, R.id.suggest_type3
, R.id.suggest_type4, R.id.suggest_type5, R.id.suggest_type6})
public void OnClick(View view){
int type = 1;
switch (view.getId()) {
case R.id.suggest_type1:
type = 1;
break;
case R.id.suggest_type2:
type = 2;
break;
case R.id.suggest_type3:
type = 3;
break;
case R.id.suggest_type4:
type = 4;
break;
case R.id.suggest_type5:
type = 5;
break;
case R.id.suggest_type6:
type = 6;
break;
}
Intent intent = new Intent(this, NewSuggestActivity.class);
intent.putExtra("suggestType", type);
startActivity(intent);
}
}