Skip to content

Instantly share code, notes, and snippets.

@codingwithsara
Last active October 15, 2018 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codingwithsara/c84878b0e37539db12f382a5df22af31 to your computer and use it in GitHub Desktop.
Save codingwithsara/c84878b0e37539db12f382a5df22af31 to your computer and use it in GitHub Desktop.
3-5
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// ここから追加
countLabel = findViewById(R.id.countLabel);
questionLabel = findViewById(R.id.questionLabel);
answerBtn1 = findViewById(R.id.answerBtn1);
answerBtn2 = findViewById(R.id.answerBtn2);
answerBtn3 = findViewById(R.id.answerBtn3);
answerBtn4 = findViewById(R.id.answerBtn4);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment