質問編集履歴

1

xmlファイルの追加

2020/03/10 21:17

投稿

meijin
meijin

スコア4

test CHANGED
File without changes
test CHANGED
@@ -412,7 +412,33 @@
412
412
 
413
413
  ```
414
414
 
415
-
415
+ ```ここに言語を入力
416
+
417
+ コード<?xml version="1.0" encoding="ISO-8859-1"?>
418
+
419
+ <LinearLayout android:orientation="vertical" android:gravity="center_horizontal|center_vertical" android:layout_height="match_parent" android:layout_width="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android">
420
+
421
+ <ImageView android:id="@+id/imageView" android:layout_height="wrap_content" android:layout_width="match_parent" app:srcCompat="@drawable/omikuji1" android:layout_weight="1"/>
422
+
423
+ <Button android:id="@+id/button" android:layout_height="wrap_content" android:layout_width="match_parent" android:text="@string/bt_action"/>
424
+
425
+ </LinearLayout>
426
+
427
+ ```
428
+
429
+ ```ここに言語を入力
430
+
431
+ コード<?xml version="1.0" encoding="ISO-8859-1"?>
432
+
433
+ <RelativeLayout android:layout_height="match_parent" android:layout_width="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:android="http://schemas.android.com/apk/res/android">
434
+
435
+ <ImageView android:id="@+id/imageView2" android:layout_height="wrap_content" android:layout_width="wrap_content" app:srcCompat="@drawable/result1"/>
436
+
437
+ <TextView android:id="@+id/textView" android:layout_height="wrap_content" android:layout_width="wrap_content" android:text="TextView" android:width="200dp"/>
438
+
439
+ </RelativeLayout>
440
+
441
+ ```
416
442
 
417
443
  ### 試したこと
418
444