지금 라이브 중 - 라이브 없을 떄 문구 변경, 참여자 숫자 제거
This commit is contained in:
parent
2984aac0a5
commit
72d16c4d18
|
@ -29,7 +29,6 @@ class LiveNowAdapter(
|
|||
placeholder(R.drawable.ic_place_holder)
|
||||
transformations(RoundedCornersTransformation(4.7f.dpToPx()))
|
||||
}
|
||||
binding.tvNumberOfMembers.text = "${item.numberOfParticipate}"
|
||||
binding.ivLock.visibility = if (item.isPrivateRoom) {
|
||||
View.VISIBLE
|
||||
} else {
|
||||
|
|
|
@ -34,8 +34,6 @@ class LiveNowAllAdapter(
|
|||
}
|
||||
binding.tvNickname.text = item.creatorNickname
|
||||
binding.tvTitle.text = item.title
|
||||
binding.tvTotal.text = "/${item.numberOfPeople}"
|
||||
binding.tvNumberOfParticipants.text = item.numberOfParticipate.toString()
|
||||
binding.ivLock.visibility = if (item.isPrivateRoom) {
|
||||
View.VISIBLE
|
||||
} else {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
android:layout_gravity="center"
|
||||
android:layout_marginTop="28.3dp"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:text="지금 참여 가능한 라이브가 없습니다.\n채널을 팔로잉 하고 라이브 알림을 받아 보세요."
|
||||
android:text="🙀현재 참여 가능한 라이브 방송이 없거나\n연령제한으로 입장이 불가능합니다.\n본인인증을 해보거나 채널을 팔로잉하고\n라이브 방송 알림을 받아보세요."
|
||||
android:textColor="@color/color_bbbbbb"
|
||||
android:textSize="15sp"
|
||||
android:visibility="gone" />
|
||||
|
|
|
@ -52,23 +52,6 @@
|
|||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_number_of_members"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="6.7dp"
|
||||
android:layout_marginBottom="6.7dp"
|
||||
android:background="@drawable/bg_round_corner_13_3_333333"
|
||||
android:gravity="center_vertical|start"
|
||||
android:paddingHorizontal="5.3dp"
|
||||
android:paddingVertical="2.7dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13.3sp"
|
||||
app:drawableStartCompat="@drawable/ic_avatar"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_cover"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
tools:text="12" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="0dp"
|
||||
|
|
|
@ -70,31 +70,6 @@
|
|||
app:layout_constraintBottom_toBottomOf="@+id/iv_cover"
|
||||
app:layout_constraintStart_toStartOf="@+id/tv_title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_number_of_participants"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="2.7dp"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13.3sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_avatar"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_avatar"
|
||||
tools:text="12" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_total"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:textColor="@color/color_555555"
|
||||
android:textSize="13.3sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_number_of_participants"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_number_of_participants"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_number_of_participants"
|
||||
tools:text="/20" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_available_participate"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -103,9 +78,9 @@
|
|||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:textColor="@color/color_9970ff"
|
||||
android:textSize="12sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/tv_total"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_total"
|
||||
app:layout_constraintTop_toTopOf="@+id/tv_total"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_avatar"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_avatar"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_avatar"
|
||||
tools:text="참여가능" />
|
||||
|
||||
<TextView
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
@ -76,7 +75,7 @@
|
|||
android:layout_marginVertical="10dp"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:gravity="center"
|
||||
android:text="🙀지금 참여가능한 라이브가 없습니다.\n채널을 팔로잉 하고 라이브 알림을 받아 보세요."
|
||||
android:text="🙀현재 참여 가능한 라이브 방송이 없거나\n연령제한으로 입장이 불가능합니다.\n본인인증을 해보거나 채널을 팔로잉하고\n라이브 방송 알림을 받아보세요."
|
||||
android:textColor="@color/color_bbbbbb"
|
||||
android:textSize="10.7sp"
|
||||
tools:ignore="SmallSp" />
|
||||
|
|
Loading…
Reference in New Issue