콘텐츠 플레이어
- 재생목록 보일 때 제목과 크리에이터 영역까지 재생목록이 차지하도록 수정
This commit is contained in:
@@ -186,12 +186,18 @@ class AudioContentPlayerFragment(
|
||||
viewModel.isShowPlaylistLiveData.observe(viewLifecycleOwner) {
|
||||
if (it) {
|
||||
binding.ivCover.visibility = View.GONE
|
||||
binding.tvTitle.visibility = View.GONE
|
||||
binding.ivCreatorProfile.visibility = View.GONE
|
||||
binding.tvCreatorNickname.visibility = View.GONE
|
||||
binding.rvPlaylistContent.visibility = View.VISIBLE
|
||||
binding.ivPlaylist.setBackgroundResource(
|
||||
R.drawable.bg_round_corner_6_7_cc333333
|
||||
)
|
||||
} else {
|
||||
binding.ivCover.visibility = View.VISIBLE
|
||||
binding.tvTitle.visibility = View.VISIBLE
|
||||
binding.ivCreatorProfile.visibility = View.VISIBLE
|
||||
binding.tvCreatorNickname.visibility = View.VISIBLE
|
||||
binding.rvPlaylistContent.visibility = View.GONE
|
||||
binding.ivPlaylist.setBackgroundResource(0)
|
||||
}
|
||||
|
@@ -76,7 +76,7 @@
|
||||
app:layout_constraintBottom_toTopOf="@+id/sb_progress"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_creator_profile" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_close" />
|
||||
|
||||
<SeekBar
|
||||
android:id="@+id/sb_progress"
|
||||
|
Reference in New Issue
Block a user