質問編集履歴
1
setContentView\(R\.layout\.fragment_main\); を追加(試行錯誤中にコメントアウトしていたので抜粋していた為)
test
CHANGED
File without changes
|
test
CHANGED
@@ -52,7 +52,11 @@
|
|
52
52
|
|
53
53
|
MainActivity.java
|
54
54
|
|
55
|
-
|
55
|
+
fragment_main
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
// setContentView(R.layout.fragment_main);
|
56
60
|
|
57
61
|
Button sendButton = (Button) findViewById(R.id.fragment_main).findViewById(R.id.login_button);
|
58
62
|
|