parent
2ee62ac900
commit
4012b44344
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue