AudioContent 상세 문자열 리소스화
상세 화면과 다이얼로그의 하드코딩 텍스트를 문자열 리소스로 이동했습니다. ko/en/ja 리소스 추가 및 기본 시간 표시, 토스트, 공유 문구를 리소스 키로 통일했습니다.
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/bg_round_corner_46_7_333333"
|
||||
android:padding="13.3dp"
|
||||
android:text="해당 콘텐츠는 크리에이터의 요청으로\n미리듣기를 제공하지 않습니다"
|
||||
android:text="@string/screen_audio_content_detail_preview_unavailable"
|
||||
android:textColor="@color/color_eeeeee"
|
||||
android:textSize="16.7sp"
|
||||
android:visibility="gone" />
|
||||
@@ -176,7 +176,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:fontFamily="@font/gmarket_sans_bold"
|
||||
android:text="Sold Out"
|
||||
android:text="@string/audio_content_badge_sold_out"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="36.7sp"
|
||||
android:visibility="gone" />
|
||||
@@ -205,7 +205,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:text="00:00:00"
|
||||
android:text="@string/screen_audio_content_detail_time_default"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@@ -216,7 +216,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:text=" / 00:00:00"
|
||||
android:text="@string/screen_audio_content_detail_time_total_default"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp"
|
||||
app:layout_constraintStart_toEndOf="@+id/tv_current_duration"
|
||||
@@ -287,7 +287,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5.3dp"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:text="이전화"
|
||||
android:text="@string/screen_audio_content_detail_previous"
|
||||
android:textColor="@color/color_3bb9f1"
|
||||
android:textSize="13.3sp" />
|
||||
</LinearLayout>
|
||||
@@ -332,7 +332,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5.3dp"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:text="다음화"
|
||||
android:text="@string/screen_audio_content_detail_next"
|
||||
android:textColor="@color/color_3bb9f1"
|
||||
android:textSize="13.3sp" />
|
||||
</LinearLayout>
|
||||
@@ -365,7 +365,7 @@
|
||||
android:background="@drawable/bg_round_corner_2_6_003851"
|
||||
android:paddingHorizontal="5.3dp"
|
||||
android:paddingVertical="3.3dp"
|
||||
android:text="오픈예정"
|
||||
android:text="@string/audio_content_badge_scheduled"
|
||||
android:textColor="@color/color_3bb9f1"
|
||||
android:visibility="gone" />
|
||||
|
||||
@@ -396,13 +396,13 @@
|
||||
android:id="@+id/tv_purchased"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/bg_round_corner_2_6_26310f"
|
||||
android:paddingHorizontal="5.3dp"
|
||||
android:paddingVertical="3.3dp"
|
||||
android:text="소장중"
|
||||
android:textColor="@color/color_b1ef2c"
|
||||
android:visibility="gone" />
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/bg_round_corner_2_6_26310f"
|
||||
android:paddingHorizontal="5.3dp"
|
||||
android:paddingVertical="3.3dp"
|
||||
android:text="@string/audio_content_badge_owned"
|
||||
android:textColor="@color/color_b1ef2c"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_remaining_time"
|
||||
@@ -422,13 +422,13 @@
|
||||
android:id="@+id/tv_rental"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/bg_round_corner_2_6_30176f"
|
||||
android:paddingHorizontal="5.3dp"
|
||||
android:paddingVertical="3.3dp"
|
||||
android:text="대여중"
|
||||
android:textColor="@color/color_9970ff"
|
||||
android:visibility="gone" />
|
||||
android:layout_alignParentEnd="true"
|
||||
android:background="@drawable/bg_round_corner_2_6_30176f"
|
||||
android:paddingHorizontal="5.3dp"
|
||||
android:paddingVertical="3.3dp"
|
||||
android:text="@string/audio_content_badge_rented"
|
||||
android:textColor="@color/color_9970ff"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
@@ -495,7 +495,7 @@
|
||||
android:orientation="horizontal"
|
||||
android:paddingHorizontal="13.3dp"
|
||||
android:paddingVertical="5.3dp"
|
||||
android:text="공유"
|
||||
android:text="@string/screen_audio_content_detail_share"
|
||||
android:textColor="@color/color_d2d2d2"
|
||||
android:textSize="13.3sp"
|
||||
app:drawableStartCompat="@drawable/ic_audio_content_share" />
|
||||
@@ -524,7 +524,7 @@
|
||||
android:layout_marginStart="4dp"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:gravity="center"
|
||||
android:text="후원"
|
||||
android:text="@string/screen_audio_content_detail_donation"
|
||||
android:textColor="@color/color_d2d2d2"
|
||||
android:textSize="13.3sp" />
|
||||
</LinearLayout>
|
||||
@@ -547,7 +547,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:text="한정판"
|
||||
android:text="@string/screen_audio_content_detail_limited_edition"
|
||||
android:textColor="@color/color_3bb9f1"
|
||||
android:textSize="13.3sp" />
|
||||
|
||||
@@ -567,7 +567,7 @@
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:paddingHorizontal="5.3dp"
|
||||
android:paddingVertical="3.3dp"
|
||||
android:text="Sold Out"
|
||||
android:text="@string/audio_content_badge_sold_out"
|
||||
android:textColor="@color/color_d2d2d2"
|
||||
android:textSize="12sp"
|
||||
android:visibility="gone" />
|
||||
@@ -577,7 +577,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:text="잔여수량"
|
||||
android:text="@string/screen_audio_content_detail_remaining"
|
||||
android:textColor="@color/color_d2d2d2"
|
||||
android:textSize="13.3sp" />
|
||||
|
||||
@@ -609,7 +609,7 @@
|
||||
android:layout_marginHorizontal="13.3dp"
|
||||
android:layout_marginTop="13.3dp"
|
||||
android:fontFamily="@font/gmarket_sans_bold"
|
||||
android:text="구매자"
|
||||
android:text="@string/screen_audio_content_detail_buyer_title"
|
||||
android:textColor="@color/color_eeeeee"
|
||||
android:textSize="18.3sp"
|
||||
android:visibility="gone" />
|
||||
@@ -665,11 +665,11 @@
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="미리듣기 중입니다.\n콘텐츠 구매 후 전체를 감상해 보세요."
|
||||
android:textColor="@color/color_bbbbbb"
|
||||
android:textSize="12sp" />
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/screen_audio_content_detail_preview_message"
|
||||
android:textColor="@color/color_bbbbbb"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_close_preview_alert"
|
||||
@@ -692,7 +692,7 @@
|
||||
android:fontFamily="@font/gmarket_sans_bold"
|
||||
android:gravity="center"
|
||||
android:paddingVertical="16dp"
|
||||
android:text="해당 콘텐츠가 매진되었습니다."
|
||||
android:text="@string/screen_audio_content_detail_purchase_sold_out"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13.3sp"
|
||||
android:visibility="gone" />
|
||||
@@ -739,7 +739,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_light"
|
||||
android:text="캔으로"
|
||||
android:text="@string/screen_audio_content_detail_purchase_unit_can"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp" />
|
||||
|
||||
@@ -747,8 +747,9 @@
|
||||
android:id="@+id/tv_str_purchase_or_rental"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dp"
|
||||
android:fontFamily="@font/gmarket_sans_bold"
|
||||
android:text=" 구매하기"
|
||||
android:text="@string/screen_audio_content_detail_action_buy"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14.7sp" />
|
||||
</LinearLayout>
|
||||
@@ -786,12 +787,12 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:text="댓글"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp" />
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:text="@string/screen_audio_content_detail_comment_title"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_comment_count"
|
||||
@@ -813,7 +814,7 @@
|
||||
android:drawablePadding="8dp"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:gravity="center"
|
||||
android:text="비밀댓글"
|
||||
android:text="@string/screen_audio_content_detail_comment_secret"
|
||||
android:textColor="@color/color_selected_secret"
|
||||
android:textSize="12.5sp"
|
||||
android:visibility="gone"
|
||||
@@ -847,7 +848,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_round_corner_10_13181b_3bb9f1"
|
||||
android:hint="댓글을 입력해 보세요"
|
||||
android:hint="@string/screen_audio_content_detail_comment_hint"
|
||||
android:importantForAutofill="no"
|
||||
android:inputType="text|textMultiLine"
|
||||
android:paddingVertical="13.3dp"
|
||||
@@ -897,7 +898,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_bold"
|
||||
android:text="크리에이터의 다른 콘텐츠"
|
||||
android:text="@string/screen_audio_content_detail_creator_other_title"
|
||||
android:textColor="@color/color_eeeeee"
|
||||
android:textSize="18.3sp" />
|
||||
|
||||
@@ -929,7 +930,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:gravity="center"
|
||||
android:text="크리에이터의 다른 콘텐츠를 준비중입니다.\n조금만 기다려주세요."
|
||||
android:text="@string/screen_audio_content_detail_creator_other_empty"
|
||||
android:textColor="@color/color_bbbbbb"
|
||||
android:textSize="10.7sp"
|
||||
tools:ignore="SmallSp" />
|
||||
@@ -953,7 +954,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_bold"
|
||||
android:text="테마의 다른 콘텐츠"
|
||||
android:text="@string/screen_audio_content_detail_theme_other_title"
|
||||
android:textColor="@color/color_eeeeee"
|
||||
android:textSize="18.3sp" />
|
||||
|
||||
@@ -985,7 +986,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_medium"
|
||||
android:gravity="center"
|
||||
android:text="테마의 다른 콘텐츠를 준비중입니다.\n조금만 기다려주세요."
|
||||
android:text="@string/screen_audio_content_detail_theme_other_empty"
|
||||
android:textColor="@color/color_bbbbbb"
|
||||
android:textSize="10.7sp"
|
||||
tools:ignore="SmallSp" />
|
||||
@@ -1026,7 +1027,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="21.3dp"
|
||||
android:text="본 콘텐츠는 만 19세 미만의 청소년이\n이용할 수 없습니다.\n본인인증 후 콘텐츠를 이용해 주세요."
|
||||
android:text="@string/screen_audio_content_detail_adult_notice"
|
||||
android:textColor="@color/color_bbbbbb"
|
||||
android:textSize="18.7sp" />
|
||||
|
||||
@@ -1038,7 +1039,7 @@
|
||||
android:background="@drawable/bg_round_corner_26_7_26ffffff"
|
||||
android:paddingHorizontal="13.3dp"
|
||||
android:paddingVertical="8dp"
|
||||
android:text="본인인증"
|
||||
android:text="@string/auth_title"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="18.7sp" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user