feat(content): 추천 공통 오디오 카드를 추가한다
This commit is contained in:
9
app/src/main/res/layout/item_content_audio_card.xml
Normal file
9
app/src/main/res/layout/item_content_audio_card.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<include
|
||||
android:id="@+id/audio_content_card"
|
||||
layout="@layout/view_audio_content_card" />
|
||||
</FrameLayout>
|
||||
@@ -18,6 +18,19 @@
|
||||
android:contentDescription="@null"
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_audio_content_adult_badge"
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="18dp"
|
||||
android:layout_gravity="top|end"
|
||||
android:layout_marginTop="@dimen/spacing_6"
|
||||
android:layout_marginEnd="@dimen/spacing_6"
|
||||
android:background="@drawable/bg_creator_channel_live_adult_badge"
|
||||
android:contentDescription="@null"
|
||||
android:padding="2dp"
|
||||
android:src="@drawable/ic_new_shield_small"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_audio_content_tag_top"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
Reference in New Issue
Block a user