質問編集履歴
1
改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,8 @@
|
|
12
12
|
|
13
13
|
### 該当のソースコード
|
14
14
|
|
15
|
+
|
15
|
-
|
16
|
+
```MainActivity.java
|
16
17
|
package com.example.check2;
|
17
18
|
import androidx.appcompat.app.AlertDialog;
|
18
19
|
import androidx.appcompat.app.AppCompatActivity;
|
@@ -138,9 +139,11 @@
|
|
138
139
|
}
|
139
140
|
}
|
140
141
|
}
|
141
|
-
|
142
|
+
```
|
143
|
+
|
144
|
+
|
145
|
+
|
142
|
-
|
146
|
+
```activityMain.xml
|
143
|
-

|
144
147
|
<?xml version="1.0" encoding="utf-8"?>
|
145
148
|
<RelativeLayout
|
146
149
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
@@ -174,11 +177,12 @@
|
|
174
177
|
</LinearLayout>
|
175
178
|
</ScrollView>
|
176
179
|
</RelativeLayout>
|
180
|
+
```
|
177
181
|
|
182
|
+
|
183
|
+
|
178
|
-
|
184
|
+
```dialog.xml
|
179
|
-

|
180
185
|
<?xml version="1.0" encoding="utf-8"?>
|
181
|
-
|
182
186
|
<RelativeLayout
|
183
187
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
184
188
|
xmlns:tools="http://schemas.android.com/tools"
|
@@ -211,9 +215,9 @@
|
|
211
215
|
</LinearLayout>
|
212
216
|
</ScrollView>
|
213
217
|
</RelativeLayout>
|
214
|
-
|
218
|
+
```
|
219
|
+
|
215
|
-
|
220
|
+
```card.xml
|
216
|
-

|
217
221
|
<?xml version="1.0" encoding="utf-8"?>
|
218
222
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
219
223
|
android:layout_width="match_parent"
|
@@ -252,14 +256,11 @@
|
|
252
256
|
android:layout_height="50dp"
|
253
257
|
android:layout_alignParentEnd="true"
|
254
258
|
android:layout_alignParentRight="true"/>
|
255
|
-
|
256
259
|
</RelativeLayout>
|
257
|
-
|
258
260
|
</androidx.cardview.widget.CardView>
|
259
|
-
|
260
261
|
</RelativeLayout>
|
261
|
-
|
262
262
|
</RelativeLayout>
|
263
|
+
```
|
263
264
|
### 試したこと
|
264
265
|
|
265
266
|
プログラムを消したり増やしたり。
|