diff --git a/app/src/main/java/org/android/go/sopt/MultiViewAdapter.kt b/app/src/main/java/org/android/go/sopt/MultiViewAdapter.kt index 5a925e4..33c19ea 100644 --- a/app/src/main/java/org/android/go/sopt/MultiViewAdapter.kt +++ b/app/src/main/java/org/android/go/sopt/MultiViewAdapter.kt @@ -53,6 +53,7 @@ class MultiViewAdapter(context: Context) : } } + override fun getItemId(position: Int): Long { return position.toLong() } @@ -119,8 +120,6 @@ class MultiViewAdapter(context: Context) : } - - } fun getItemDetails(viewHolder: RecyclerView.ViewHolder?): ItemDetailsLookup.ItemDetails { diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 50b97f9..db9d0a8 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -20,6 +20,7 @@ android:id="@+id/btn_delete_item" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:backgroundTint="?attr/colorPrimaryVariant" android:text="삭제하기" app:layout_constraintTop_toBottomOf="@id/rv" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/item_bottom.xml b/app/src/main/res/layout/item_bottom.xml index 42d107a..f10354f 100644 --- a/app/src/main/res/layout/item_bottom.xml +++ b/app/src/main/res/layout/item_bottom.xml @@ -3,6 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" + android:backgroundTint="?attr/colorPrimary" android:layout_height="wrap_content"> + + app:layout_constraintEnd_toStartOf="@id/iv_music" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" />