回答編集履歴
1
サンプルコード一部変更
test
CHANGED
@@ -28,10 +28,6 @@
|
|
28
28
|
|
29
29
|
|
30
30
|
|
31
|
-
Button button2;
|
32
|
-
|
33
|
-
|
34
|
-
|
35
31
|
@Override
|
36
32
|
|
37
33
|
protected void onCreate(Bundle savedInstanceState) {
|
@@ -42,7 +38,7 @@
|
|
42
38
|
|
43
39
|
|
44
40
|
|
45
|
-
button2 = findViewById(R.id.button2);
|
41
|
+
final Button button2 = findViewById(R.id.button2);
|
46
42
|
|
47
43
|
button2.setText("Reset");
|
48
44
|
|