jimu-decompiled/resources/res/layout/item_preview_image_layout.xml
2025-05-13 19:24:51 +02:00

57 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@drawable/bg_publish_item"
android:layout_width="@dimen/dp800w"
android:layout_height="wrap_content">
<androidx.cardview.widget.CardView
android:id="@+id/rl_publish_add"
android:layout_width="@dimen/dp800w"
android:layout_height="@dimen/dp450w"
android:foreground="?android:attr/selectableItemBackground"
android:layout_centerHorizontal="true"
app:cardCornerRadius="18dp"
app:cardElevation="0dp">
<ImageView
android:id="@+id/im_preview_image"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<ImageView
android:layout_gravity="center"
android:id="@+id/im_preview_play"
android:background="@drawable/list_video_logo_pad"
android:layout_width="@dimen/dp75w"
android:layout_height="@dimen/dp75w"/>
<RelativeLayout
android:id="@+id/rl_publish_label"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:background="@drawable/community_publish_icon_fm"
android:layout_width="@dimen/dp100w"
android:layout_height="@dimen/dp40w"/>
<TextView
android:textSize="@dimen/dp18w"
android:textColor="@color/bg_white"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/cover"
android:layout_centerInParent="true"/>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<TextView
android:textSize="@dimen/dp16w"
android:textColor="@color/txt_98A5B6"
android:textColorHint="#dddddd"
android:id="@+id/et_image_des"
android:paddingLeft="@dimen/dp10w"
android:paddingTop="@dimen/dp15w"
android:paddingRight="@dimen/dp10w"
android:paddingBottom="@dimen/dp15w"
android:layout_width="@dimen/dp800w"
android:layout_height="wrap_content"
android:maxLines="4"
android:maxLength="140"
android:layout_below="@+id/rl_publish_add"/>
</RelativeLayout>