feat(widget): 오디오 콘텐츠 태그 배지를 추가한다

This commit is contained in:
2026-05-27 14:50:59 +09:00
parent a8e0f2377d
commit 799dd7fc92
14 changed files with 693 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 549 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 B

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#FF34B8" />
</shape>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#052742" />
</shape>

View File

@@ -5,13 +5,92 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/iv_audio_content_thumbnail"
<FrameLayout
android:id="@+id/fl_audio_content_thumbnail_container"
android:layout_width="0dp"
android:layout_height="0dp"
android:background="@drawable/bg_audio_content_card_thumbnail"
android:contentDescription="@null"
android:scaleType="centerCrop" />
android:background="@drawable/bg_audio_content_card_thumbnail">
<ImageView
android:id="@+id/iv_audio_content_thumbnail"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@null"
android:scaleType="centerCrop" />
<LinearLayout
android:id="@+id/ll_audio_content_tag_top"
android:layout_width="wrap_content"
android:layout_height="@dimen/spacing_24"
android:layout_gravity="top|start"
android:orientation="horizontal"
android:visibility="gone"
tools:visibility="visible">
<ImageView
android:layout_width="@dimen/spacing_24"
android:layout_height="@dimen/spacing_24"
android:contentDescription="@null"
android:src="@drawable/ic_content_tag_original" />
<LinearLayout
android:layout_width="62dp"
android:layout_height="@dimen/spacing_24"
android:background="@drawable/bg_audio_content_tag_first"
android:orientation="horizontal">
<ImageView
android:layout_width="17dp"
android:layout_height="17dp"
android:layout_marginStart="2dp"
android:layout_marginTop="4dp"
android:contentDescription="@null"
android:src="@drawable/ic_content_tag_first_star" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="1dp"
android:layout_marginTop="2dp"
android:fontFamily="@font/phosphate_solid"
android:includeFontPadding="false"
android:singleLine="true"
android:text="FIRST"
android:textColor="@color/white"
android:textSize="16sp"
tools:ignore="HardcodedText" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/ll_audio_content_tag_bottom"
android:layout_width="wrap_content"
android:layout_height="@dimen/spacing_24"
android:layout_gravity="bottom|start"
android:orientation="horizontal"
android:visibility="gone"
tools:visibility="visible">
<ImageView
android:layout_width="@dimen/spacing_24"
android:layout_height="@dimen/spacing_24"
android:contentDescription="@null"
android:src="@drawable/ic_content_tag_point" />
<TextView
android:layout_width="wrap_content"
android:layout_height="@dimen/spacing_24"
android:background="@drawable/bg_audio_content_tag_free"
android:gravity="center"
android:includeFontPadding="false"
android:minWidth="34dp"
android:paddingHorizontal="6dp"
android:singleLine="true"
android:text="@string/audio_content_tag_free"
android:textColor="@color/white"
android:textSize="14sp" />
</LinearLayout>
</FrameLayout>
<LinearLayout
android:id="@+id/ll_audio_content_label"

View File

@@ -1161,6 +1161,7 @@ The upload will continue even if you leave this page.</string>
<string name="audio_content_label_all">All</string>
<string name="audio_content_total_unit">items</string>
<string name="audio_content_price_free">Free</string>
<string name="audio_content_tag_free">Free</string>
<string name="audio_content_badge_scheduled">Coming soon</string>
<string name="audio_content_badge_point">Points</string>
<string name="audio_content_badge_owned">Owned</string>

View File

@@ -1159,6 +1159,7 @@
<string name="audio_content_label_all"></string>
<string name="audio_content_total_unit"></string>
<string name="audio_content_price_free">無料</string>
<string name="audio_content_tag_free">無料</string>
<string name="audio_content_badge_scheduled">公開予定</string>
<string name="audio_content_badge_point">ポイント</string>
<string name="audio_content_badge_owned">所持中</string>

View File

@@ -1158,6 +1158,7 @@
<string name="audio_content_label_all">전체</string>
<string name="audio_content_total_unit"></string>
<string name="audio_content_price_free">무료</string>
<string name="audio_content_tag_free">무료</string>
<string name="audio_content_badge_scheduled">오픈예정</string>
<string name="audio_content_badge_point">포인트</string>
<string name="audio_content_badge_owned">소장중</string>