콘텐츠 상세 - 미리듣기 미지원 안내 문구 간결하게 수정

This commit is contained in:
2026-01-20 00:58:54 +09:00
parent 032640b068
commit 871603f1bb
8 changed files with 73 additions and 45 deletions

View File

@@ -767,7 +767,7 @@ class AudioContentDetailActivity : BaseActivity<ActivityAudioContentDetailBindin
binding.ivPlayOrPause.visibility = View.GONE binding.ivPlayOrPause.visibility = View.GONE
binding.ivSeekBackward10.visibility = View.GONE binding.ivSeekBackward10.visibility = View.GONE
binding.ivSeekForward10.visibility = View.GONE binding.ivSeekForward10.visibility = View.GONE
binding.tvPreviewNo.visibility = View.GONE binding.llPreviewNo.visibility = View.GONE
binding.tvTotalDuration.text = getString( binding.tvTotalDuration.text = getString(
R.string.screen_audio_content_detail_total_duration_format, R.string.screen_audio_content_detail_total_duration_format,
response.duration response.duration
@@ -869,7 +869,7 @@ class AudioContentDetailActivity : BaseActivity<ActivityAudioContentDetailBindin
} }
} }
} else if (response.releaseDate == null) { } else if (response.releaseDate == null) {
binding.tvPreviewNo.visibility = View.VISIBLE binding.llPreviewNo.visibility = View.VISIBLE
} }
binding.ivPoint.visibility = if (response.isAvailableUsePoint) { binding.ivPoint.visibility = if (response.isAvailableUsePoint) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#66000000" />
<corners android:radius="46.7dp" />
</shape>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#88ffffff" />
<corners android:radius="46.7dp" />
</shape>

View File

@@ -140,17 +140,32 @@
android:src="@drawable/ic_player_next_10" android:src="@drawable/ic_player_next_10"
android:visibility="gone" /> android:visibility="gone" />
<TextView <LinearLayout
android:id="@+id/tv_preview_no" android:id="@+id/ll_preview_no"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:background="@drawable/bg_round_corner_46_7_333333" android:background="@drawable/bg_round_corner_46_7_88ffffff"
android:padding="13.3dp" android:gravity="center"
android:minWidth="212dp"
android:paddingVertical="13.3dp"
android:visibility="gone"
tools:ignore="UseCompoundDrawables">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="4dp"
android:contentDescription="@null"
android:src="@drawable/ic_no_preview" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/screen_audio_content_detail_preview_unavailable" android:text="@string/screen_audio_content_detail_preview_unavailable"
android:textColor="@color/color_eeeeee" android:textColor="#444446"
android:textSize="16.7sp" android:textSize="16.7sp" />
android:visibility="gone" /> </LinearLayout>
<SeekBar <SeekBar
android:id="@+id/sb_progress" android:id="@+id/sb_progress"

View File

@@ -1149,7 +1149,8 @@ The upload will continue even if you leave this page.</string>
<string name="screen_audio_content_detail_time_default">00:00:00</string> <string name="screen_audio_content_detail_time_default">00:00:00</string>
<string name="screen_audio_content_detail_time_total_default"> / 00:00:00</string> <string name="screen_audio_content_detail_time_total_default"> / 00:00:00</string>
<string name="screen_audio_content_detail_total_duration_format"> / %1$s</string> <string name="screen_audio_content_detail_total_duration_format"> / %1$s</string>
<string name="screen_audio_content_detail_preview_unavailable">Preview is unavailable at the creators request.</string> <string name="screen_audio_content_detail_preview_available">Preview</string>
<string name="screen_audio_content_detail_preview_unavailable">No Preview</string>
<string name="screen_audio_content_detail_previous">Previous</string> <string name="screen_audio_content_detail_previous">Previous</string>
<string name="screen_audio_content_detail_next">Next</string> <string name="screen_audio_content_detail_next">Next</string>
<string name="screen_audio_content_detail_share_title">Share audio content</string> <string name="screen_audio_content_detail_share_title">Share audio content</string>

View File

@@ -1147,7 +1147,8 @@
<string name="screen_audio_content_detail_time_default">00:00:00</string> <string name="screen_audio_content_detail_time_default">00:00:00</string>
<string name="screen_audio_content_detail_time_total_default"> / 00:00:00</string> <string name="screen_audio_content_detail_time_total_default"> / 00:00:00</string>
<string name="screen_audio_content_detail_total_duration_format"> / %1$s</string> <string name="screen_audio_content_detail_total_duration_format"> / %1$s</string>
<string name="screen_audio_content_detail_preview_unavailable">このコンテンツはクリエイターの意向で\nプレビューを提供していません。</string> <string name="screen_audio_content_detail_preview_available">試聴</string>
<string name="screen_audio_content_detail_preview_unavailable">試聴非対応</string>
<string name="screen_audio_content_detail_previous">前の話</string> <string name="screen_audio_content_detail_previous">前の話</string>
<string name="screen_audio_content_detail_next">次の話</string> <string name="screen_audio_content_detail_next">次の話</string>
<string name="screen_audio_content_detail_share_title">オーディオ共有</string> <string name="screen_audio_content_detail_share_title">オーディオ共有</string>

View File

@@ -1146,7 +1146,8 @@
<string name="screen_audio_content_detail_time_default">00:00:00</string> <string name="screen_audio_content_detail_time_default">00:00:00</string>
<string name="screen_audio_content_detail_time_total_default"> / 00:00:00</string> <string name="screen_audio_content_detail_time_total_default"> / 00:00:00</string>
<string name="screen_audio_content_detail_total_duration_format"> / %1$s</string> <string name="screen_audio_content_detail_total_duration_format"> / %1$s</string>
<string name="screen_audio_content_detail_preview_unavailable">해당 콘텐츠는 크리에이터의 요청으로\n미리듣기를 제공하지 않습니다</string> <string name="screen_audio_content_detail_preview_available">미리듣기</string>
<string name="screen_audio_content_detail_preview_unavailable">미리듣기 미지원</string>
<string name="screen_audio_content_detail_previous">이전화</string> <string name="screen_audio_content_detail_previous">이전화</string>
<string name="screen_audio_content_detail_next">다음화</string> <string name="screen_audio_content_detail_next">다음화</string>
<string name="screen_audio_content_detail_share_title">오디오 콘텐츠 공유</string> <string name="screen_audio_content_detail_share_title">오디오 콘텐츠 공유</string>