diff --git a/presentation/src/main/java/com/dpm/presentation/scrap/adapter/ScrapDetailAdapter.kt b/presentation/src/main/java/com/dpm/presentation/scrap/adapter/ScrapDetailAdapter.kt index 6712ba98..9cb132be 100644 --- a/presentation/src/main/java/com/dpm/presentation/scrap/adapter/ScrapDetailAdapter.kt +++ b/presentation/src/main/java/com/dpm/presentation/scrap/adapter/ScrapDetailAdapter.kt @@ -90,6 +90,12 @@ class ScrapDetailViewHolder( ivScrap.load(com.depromeet.designsystem.R.drawable.ic_scrap_active) } else { ivScrap.load(com.depromeet.designsystem.R.drawable.ic_scrap_inactive) + ivScrap.setColorFilter( + ContextCompat.getColor( + binding.root.context, + com.depromeet.designsystem.R.color.color_foreground_caption + ) + ) } @@ -163,12 +169,13 @@ class ScrapDetailViewHolder( } private fun initScrapImageAdapter(item: ResponseScrap.ResponseBaseReview) { - if(!::scrapImageAdapter.isInitialized){ + if (!::scrapImageAdapter.isInitialized) { scrapImageAdapter = ScrapImageAdapter() binding.vpImage.adapter = scrapImageAdapter scrapImageAdapter.submitList(item.images.map { it.url }) setupIndicators(scrapImageAdapter.itemCount) - binding.vpImage.registerOnPageChangeCallback(object : ViewPager2.OnPageChangeCallback() { + binding.vpImage.registerOnPageChangeCallback(object : + ViewPager2.OnPageChangeCallback() { override fun onPageSelected(position: Int) { updateIndicators(position) if (position >= 0 && position < item.images.size) { diff --git a/presentation/src/main/java/com/dpm/presentation/seatrecord/adapter/DetailRecordAdapter.kt b/presentation/src/main/java/com/dpm/presentation/seatrecord/adapter/DetailRecordAdapter.kt index 3a671507..a4298d65 100644 --- a/presentation/src/main/java/com/dpm/presentation/seatrecord/adapter/DetailRecordAdapter.kt +++ b/presentation/src/main/java/com/dpm/presentation/seatrecord/adapter/DetailRecordAdapter.kt @@ -154,6 +154,12 @@ class ReviewDetailViewHolder( ) if (item.isScrapped) { ivRecordScrap.load(com.depromeet.designsystem.R.drawable.ic_scrap_active) + ivRecordScrap.setColorFilter( + ContextCompat.getColor( + binding.root.context, + com.depromeet.designsystem.R.color.color_action_enabled + ) + ) } else { ivRecordScrap.load(com.depromeet.designsystem.R.drawable.ic_scrap_inactive) ivRecordScrap.setColorFilter( diff --git a/presentation/src/main/java/com/dpm/presentation/seatreview/dialog/view/SeatShareDialog.kt b/presentation/src/main/java/com/dpm/presentation/seatreview/dialog/view/SeatShareDialog.kt index 85955f37..37c0f3de 100644 --- a/presentation/src/main/java/com/dpm/presentation/seatreview/dialog/view/SeatShareDialog.kt +++ b/presentation/src/main/java/com/dpm/presentation/seatreview/dialog/view/SeatShareDialog.kt @@ -35,7 +35,7 @@ class SeatShareDialog : BindingBottomSheetDialog + app:textAppearance="@style/TextAppearance.Spot.Caption04"> diff --git a/presentation/src/main/res/layout/item_stadium_small_selection.xml b/presentation/src/main/res/layout/item_stadium_small_selection.xml index 69c6ee40..5cbc7533 100644 --- a/presentation/src/main/res/layout/item_stadium_small_selection.xml +++ b/presentation/src/main/res/layout/item_stadium_small_selection.xml @@ -67,8 +67,8 @@ android:layout_marginTop="12dp" android:gravity="center" android:textColor="@color/color_foreground_body_sebtext" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="@id/iv_stadium" + app:layout_constraintStart_toStartOf="@id/iv_stadium" app:layout_constraintTop_toBottomOf="@id/iv_stadium" tools:text="서울\n잠실야구장" />