From 68e23c61f63ae31dec8234986217a4755870275b Mon Sep 17 00:00:00 2001 From: Shinbo-Rina Date: Sat, 15 Feb 2020 09:04:54 +0900 Subject: [PATCH] =?UTF-8?q?=E8=B2=B7=E3=81=84=E7=89=A9=E3=83=AA=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=81=AB=E7=94=BB=E5=83=8F=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/kanazawaapp_2019/ShoppingListActivity.kt | 2 -- app/src/main/res/layout/shoping_list_item.xml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/com/example/kanazawaapp_2019/ShoppingListActivity.kt b/app/src/main/java/com/example/kanazawaapp_2019/ShoppingListActivity.kt index 0bbf8e3..4737e02 100644 --- a/app/src/main/java/com/example/kanazawaapp_2019/ShoppingListActivity.kt +++ b/app/src/main/java/com/example/kanazawaapp_2019/ShoppingListActivity.kt @@ -46,8 +46,6 @@ class ShoppingListActivity : AppCompatActivity(), FragmentCallInterface{ var result = ArrayList() var part1 = ShoppingItem("カロリーメイト","10個") result.add(part1) - var part2 = ShoppingItem("鯖缶","20個") - result.add(part2) return result } } \ No newline at end of file diff --git a/app/src/main/res/layout/shoping_list_item.xml b/app/src/main/res/layout/shoping_list_item.xml index c6a3b0b..5b263e8 100644 --- a/app/src/main/res/layout/shoping_list_item.xml +++ b/app/src/main/res/layout/shoping_list_item.xml @@ -29,6 +29,7 @@ android:layout_width="60dp" android:layout_height="60dp" android:layout_marginStart="9dp" + android:src="@drawable/sample_snack" app:layout_constraintBottom_toBottomOf="@+id/shoppingListCheckBox" app:layout_constraintEnd_toStartOf="@+id/shoppingListItemNameText" app:layout_constraintStart_toEndOf="@+id/shoppingListCheckBox"