feat: 메인 라이브

- 최근 종료한 라이브, 라이브 다시 듣기, 라이브 예약 아이템 사이즈 조절
This commit is contained in:
2025-07-19 02:17:47 +09:00
parent f1164bbd30
commit d7cc874684
8 changed files with 148 additions and 82 deletions

View File

@@ -1,77 +1,84 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.cardview.widget.CardView 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="168dp"
android:layout_height="238dp"
android:background="@drawable/bg_home_creator"
android:orientation="vertical"
android:padding="16dp">
android:layout_width="144dp"
android:layout_height="204dp"
app:cardBackgroundColor="#263238"
app:cardCornerRadius="16dp">
<!-- 프로필 이미지 컨테이너 -->
<FrameLayout
android:id="@+id/fl_profile"
android:layout_width="76dp"
android:layout_height="76dp"
android:background="@drawable/circle_background"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<!-- 프로필 이미지 -->
<ImageView
android:id="@+id/iv_profile"
android:layout_width="62dp"
android:layout_height="62dp"
android:layout_gravity="center"
android:contentDescription="@null"
android:scaleType="centerCrop" />
<!-- 프로필 이미지 컨테이너 -->
<FrameLayout
android:id="@+id/fl_profile"
android:layout_width="84dp"
android:layout_height="84dp"
android:background="@drawable/circle_background"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
</FrameLayout>
<!-- 프로필 이미지 -->
<ImageView
android:id="@+id/iv_profile"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_gravity="center"
android:contentDescription="@null"
android:scaleType="centerCrop" />
<TextView
android:id="@+id/tv_nickname"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:fontFamily="@font/pretendard_regular"
android:gravity="center"
android:textColor="@color/white"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/fl_profile"
tools:text="도화" />
</FrameLayout>
<TextView
android:id="@+id/tv_title"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginTop="8dp"
android:ellipsize="end"
android:fontFamily="@font/pretendard_regular"
android:gravity="center"
android:maxLines="2"
android:textColor="#B0BEC5"
android:textSize="14sp"
app:layout_constraintBottom_toTopOf="@+id/tv_time_ago"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tv_nickname"
tools:text="제목제목제목제목제목제목" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginVertical="8dp"
android:gravity="center"
android:orientation="vertical"
app:layout_constraintBottom_toTopOf="@+id/tv_time_ago"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/fl_profile">
<TextView
android:id="@+id/tv_time_ago"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:fontFamily="@font/pretendard_regular"
android:gravity="center"
android:textColor="#78909C"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:text="111" />
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id="@+id/tv_nickname"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/pretendard_regular"
android:gravity="center"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="도화" />
<TextView
android:id="@+id/tv_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:ellipsize="end"
android:fontFamily="@font/pretendard_regular"
android:gravity="center"
android:maxLines="1"
android:textColor="#B0BEC5"
android:textSize="12sp"
tools:text="제목제목제목제목제목제목" />
</LinearLayout>
<TextView
android:id="@+id/tv_time_ago"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:fontFamily="@font/pretendard_regular"
android:gravity="center"
android:textColor="#78909C"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:text="111" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>