콘텐츠 상세 - 미리듣기 미지원 안내 문구 간결하게 수정
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
BIN
app/src/main/res/drawable-mdpi/ic_no_preview.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_no_preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 677 B |
@@ -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>
|
||||||
@@ -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>
|
||||||
@@ -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:text="@string/screen_audio_content_detail_preview_unavailable"
|
android:minWidth="212dp"
|
||||||
android:textColor="@color/color_eeeeee"
|
android:paddingVertical="13.3dp"
|
||||||
android:textSize="16.7sp"
|
android:visibility="gone"
|
||||||
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:textColor="#444446"
|
||||||
|
android:textSize="16.7sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<SeekBar
|
<SeekBar
|
||||||
android:id="@+id/sb_progress"
|
android:id="@+id/sb_progress"
|
||||||
@@ -383,26 +398,26 @@
|
|||||||
android:id="@+id/tv_19"
|
android:id="@+id/tv_19"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="5.3dp"
|
android:layout_marginStart="5.3dp"
|
||||||
android:background="@drawable/bg_round_corner_2_6_601d14"
|
android:background="@drawable/bg_round_corner_2_6_601d14"
|
||||||
android:paddingHorizontal="5.3dp"
|
android:paddingHorizontal="5.3dp"
|
||||||
android:paddingVertical="3.3dp"
|
android:paddingVertical="3.3dp"
|
||||||
android:text="@string/audio_content_detail_age_badge_19"
|
android:text="@string/audio_content_detail_age_badge_19"
|
||||||
android:textColor="@color/color_e33621"
|
android:textColor="@color/color_e33621"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_purchased"
|
android:id="@+id/tv_purchased"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:background="@drawable/bg_round_corner_2_6_26310f"
|
android:background="@drawable/bg_round_corner_2_6_26310f"
|
||||||
android:paddingHorizontal="5.3dp"
|
android:paddingHorizontal="5.3dp"
|
||||||
android:paddingVertical="3.3dp"
|
android:paddingVertical="3.3dp"
|
||||||
android:text="@string/audio_content_badge_owned"
|
android:text="@string/audio_content_badge_owned"
|
||||||
android:textColor="@color/color_b1ef2c"
|
android:textColor="@color/color_b1ef2c"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_remaining_time"
|
android:id="@+id/tv_remaining_time"
|
||||||
@@ -422,13 +437,13 @@
|
|||||||
android:id="@+id/tv_rental"
|
android:id="@+id/tv_rental"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:background="@drawable/bg_round_corner_2_6_30176f"
|
android:background="@drawable/bg_round_corner_2_6_30176f"
|
||||||
android:paddingHorizontal="5.3dp"
|
android:paddingHorizontal="5.3dp"
|
||||||
android:paddingVertical="3.3dp"
|
android:paddingVertical="3.3dp"
|
||||||
android:text="@string/audio_content_badge_rented"
|
android:text="@string/audio_content_badge_rented"
|
||||||
android:textColor="@color/color_9970ff"
|
android:textColor="@color/color_9970ff"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@@ -665,11 +680,11 @@
|
|||||||
android:visibility="gone">
|
android:visibility="gone">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/screen_audio_content_detail_preview_message"
|
android:text="@string/screen_audio_content_detail_preview_message"
|
||||||
android:textColor="@color/color_bbbbbb"
|
android:textColor="@color/color_bbbbbb"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/iv_close_preview_alert"
|
android:id="@+id/iv_close_preview_alert"
|
||||||
@@ -787,12 +802,12 @@
|
|||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:text="@string/screen_audio_content_detail_comment_title"
|
android:text="@string/screen_audio_content_detail_comment_title"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/tv_comment_count"
|
android:id="@+id/tv_comment_count"
|
||||||
|
|||||||
@@ -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 creator’s 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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user