feat(modal): V2 공통 모달창을 추가한다

This commit is contained in:
2026-07-08 14:20:27 +09:00
parent bc6443e5bd
commit 8e086c4888
4 changed files with 314 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/bg_v2_modal"
android:orientation="vertical">
<TextView
android:id="@+id/tv_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/bold"
android:gravity="center"
android:minHeight="64dp"
android:paddingHorizontal="@dimen/spacing_20"
android:textColor="@color/white"
android:textSize="20sp"
tools:text="모달" />
<TextView
android:id="@+id/tv_desc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/regular"
android:gravity="center"
android:lineSpacingMultiplier="1.45"
android:padding="@dimen/spacing_20"
android:textColor="@color/white"
android:textSize="16sp"
tools:text="모달 안내 문구가\n들어가는 부분입니다." />
<LinearLayout
android:id="@+id/layout_button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal"
android:paddingHorizontal="@dimen/spacing_20"
android:paddingVertical="@dimen/spacing_14"
tools:ignore="UseCompoundDrawables">
<TextView
android:id="@+id/tv_cancel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/spacing_8"
android:layout_weight="1"
android:fontFamily="@font/medium"
android:gravity="center"
android:padding="@dimen/spacing_14"
android:textColor="@color/white"
android:textSize="18sp"
tools:text="취소" />
<TextView
android:id="@+id/tv_confirm"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="@font/medium"
android:gravity="center"
android:padding="@dimen/spacing_14"
android:textColor="@color/soda_400"
android:textSize="18sp"
tools:text="확인" />
</LinearLayout>
</LinearLayout>