parent
cbda2b196a
commit
2d92c6a849
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue