teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

ソースにコメントを追加しました

2019/12/23 02:30

投稿

kaede0306
kaede0306

スコア7

title CHANGED
File without changes
body CHANGED
@@ -12,7 +12,9 @@
12
12
 
13
13
  ### 該当のソースコード
14
14
 
15
+ ```kotlin
15
- ```MainActivity.kt
16
+ //MainActivity.kt
17
+
16
18
  package com.example.kotlintest
17
19
 
18
20
  import androidx.appcompat.app.AppCompatActivity
@@ -35,7 +37,9 @@
35
37
  }
36
38
  ```
37
39
 
40
+ ```xml
38
- ```AndroidManifest.xml
41
+ // AndroidManifest.xml
42
+
39
43
  <?xml version="1.0" encoding="utf-8"?>
40
44
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
41
45
  package="com.example.kotlintest">
@@ -61,7 +65,9 @@
61
65
  </manifest>
62
66
  ```
63
67
 
68
+ ```xml
64
- ```activity_main.xml
69
+ // activity_main.xml
70
+
65
71
  <?xml version="1.0" encoding="utf-8"?>
66
72
  <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
67
73
  xmlns:app="http://schemas.android.com/apk/res-auto"