재생 목록 상세 콘텐츠
- 크리에이터 닉네임 추가
This commit is contained in:
@@ -28,6 +28,7 @@ class AudioContentPlaylistDetailAdapter :
|
|||||||
binding.tvTitle.text = item.title
|
binding.tvTitle.text = item.title
|
||||||
binding.tvTheme.text = item.category
|
binding.tvTheme.text = item.category
|
||||||
binding.tvDuration.text = item.duration
|
binding.tvDuration.text = item.duration
|
||||||
|
binding.tvCreatorNickname.text = item.creatorNickname
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,5 +20,6 @@ data class AudioContentPlaylistContent(
|
|||||||
@SerializedName("title") val title: String,
|
@SerializedName("title") val title: String,
|
||||||
@SerializedName("category") val category: String,
|
@SerializedName("category") val category: String,
|
||||||
@SerializedName("coverUrl") val coverUrl: String,
|
@SerializedName("coverUrl") val coverUrl: String,
|
||||||
@SerializedName("duration") val duration: String
|
@SerializedName("duration") val duration: String,
|
||||||
|
@SerializedName("creatorNickname") val creatorNickname: String
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -46,11 +46,23 @@
|
|||||||
tools:ignore="SmallSp"
|
tools:ignore="SmallSp"
|
||||||
tools:text="00:30:20" />
|
tools:text="00:30:20" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tv_creator_nickname"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="2.6dp"
|
||||||
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
|
android:textColor="@color/color_777777"
|
||||||
|
android:textSize="9sp"
|
||||||
|
app:layout_constraintStart_toStartOf="@+id/tv_theme"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/tv_theme"
|
||||||
|
tools:ignore="SmallSp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_title"
|
android:id="@+id/tv_title"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginVertical="6.7dp"
|
android:layout_marginVertical="2.6dp"
|
||||||
android:layout_marginEnd="13.3dp"
|
android:layout_marginEnd="13.3dp"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
@@ -58,7 +70,7 @@
|
|||||||
android:textColor="@color/color_d2d2d2"
|
android:textColor="@color/color_d2d2d2"
|
||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="@+id/tv_theme"
|
app:layout_constraintStart_toStartOf="@+id/tv_creator_nickname"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/tv_theme"
|
app:layout_constraintTop_toBottomOf="@+id/tv_creator_nickname"
|
||||||
tools:text="안녕하세요 오늘은 커버곡을 들려드리려고 해요안녕하세요 오늘은 커버곡을 들려드리려고 해요안녕하세요 오늘은 커버곡을 들려드리려고 해요안녕하세요 오늘은 커버곡을 들려드리려고 해요" />
|
tools:text="안녕하세요 오늘은 커버곡을 들려드리려고 해요안녕하세요 오늘은 커버곡을 들려드리려고 해요안녕하세요 오늘은 커버곡을 들려드리려고 해요안녕하세요 오늘은 커버곡을 들려드리려고 해요" />
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|||||||
Reference in New Issue
Block a user