質問編集履歴

1

コード

2018/03/18 06:10

投稿

atemu
atemu

スコア94

test CHANGED
File without changes
test CHANGED
@@ -9,3 +9,53 @@
9
9
 
10
10
 
11
11
  初歩的な質問ですみません。よろしくお願いします。
12
+
13
+
14
+
15
+ ```
16
+
17
+ <?xml version="1.0" encoding="utf-8"?>
18
+
19
+ <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
20
+
21
+ xmlns:app="http://schemas.android.com/apk/res-auto"
22
+
23
+ xmlns:tools="http://schemas.android.com/tools"
24
+
25
+ android:layout_width="match_parent"
26
+
27
+ android:layout_height="match_parent"
28
+
29
+ tools:context="com.example.androidtoolbartutorial.androidtoolbartutorial.MainActivity">
30
+
31
+
32
+
33
+ <TextView
34
+
35
+ android:layout_width="wrap_content"
36
+
37
+ android:layout_height="wrap_content"
38
+
39
+ android:text="Hello World!"
40
+
41
+ app:layout_constraintBottom_toBottomOf="parent"
42
+
43
+ app:layout_constraintLeft_toLeftOf="parent"
44
+
45
+ app:layout_constraintRight_toRightOf="parent"
46
+
47
+ app:layout_constraintTop_toTopOf="parent" />
48
+
49
+
50
+
51
+ </android.support.constraint.ConstraintLayout>
52
+
53
+
54
+
55
+ ```
56
+
57
+
58
+
59
+ これしかXMLに書いてないのですが、toolbarは表示されてます…。
60
+
61
+ どこを弄ればいいのでしょうか。