diff --git a/main/src/main/kotlin/us/wedemy/eggeum/android/main/ui/adapter/viewholder/NoticeListItemViewHolder.kt b/main/src/main/kotlin/us/wedemy/eggeum/android/main/ui/adapter/viewholder/NoticeListItemViewHolder.kt index 658a5417..5a629173 100644 --- a/main/src/main/kotlin/us/wedemy/eggeum/android/main/ui/adapter/viewholder/NoticeListItemViewHolder.kt +++ b/main/src/main/kotlin/us/wedemy/eggeum/android/main/ui/adapter/viewholder/NoticeListItemViewHolder.kt @@ -7,6 +7,7 @@ package us.wedemy.eggeum.android.main.ui.adapter.viewholder +import android.text.Html import android.view.View import androidx.recyclerview.widget.RecyclerView import us.wedemy.eggeum.android.main.databinding.ItemNoticeListBinding @@ -17,7 +18,7 @@ class NoticeListItemViewHolder(val binding: ItemNoticeListBinding) : RecyclerVie binding.apply { tvNoticeTitle.text = notice.title tvNoticeDate.text = notice.date - tvNoticeDescription.text = notice.description + tvNoticeDescription.text = Html.fromHtml(notice.description, Html.FROM_HTML_MODE_COMPACT) ivNoticeExpand.rotation = if (notice.isExpanded) 180f else 0f llLayoutExpand.visibility = if (notice.isExpanded) View.VISIBLE else View.GONE } diff --git a/main/src/main/res/layout/item_notice_list.xml b/main/src/main/res/layout/item_notice_list.xml index be0b7c6f..4bddf379 100644 --- a/main/src/main/res/layout/item_notice_list.xml +++ b/main/src/main/res/layout/item_notice_list.xml @@ -89,7 +89,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginHorizontal="16dp" - android:paddingBottom="18dp" android:textColor="@color/gray_500" />