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

69 lines
3.1 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:background="@color/translucent"
android:layout_width="@dimen/dp800w"
android:layout_height="@dimen/dp450w"
android:foreground="?android:attr/selectableItemBackground"
app:cardCornerRadius="@dimen/dp18w"
app:cardElevation="0dp">
<ImageView
android:layout_gravity="center"
android:background="@drawable/community_img"
android:layout_width="@dimen/dp88w"
android:layout_height="@dimen/dp88w"/>
<ImageView
android:id="@+id/im_publish_player"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:transitionName="play_flag"/>
<ImageView
android:layout_gravity="center"
android:background="@drawable/icon_play"
android:layout_width="@dimen/dp60w"
android:layout_height="@dimen/dp60w"/>
<ImageView
android:layout_gravity="right"
android:id="@+id/tv_publish_delete"
android:background="@drawable/ic_community_publish_del"
android:layout_width="@dimen/public_preview_delete_ic"
android:layout_height="@dimen/public_preview_delete_ic"/>
<RelativeLayout
android:id="@+id/rl_publish_label"
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/theme_10sp"
android:textColor="@color/txt_fffdfd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/cover"
android:layout_centerInParent="true"/>
</RelativeLayout>
</androidx.cardview.widget.CardView>
<com.google.android.material.textfield.TextInputEditText
android:textSize="@dimen/theme_13sp"
android:textColor="@color/txt_98A5B6"
android:textColorHint="@color/theme_input_hint"
android:id="@+id/et_publish_image_des"
android:background="@color/translucent"
android:padding="@dimen/dp10w"
android:layout_width="@dimen/dp800w"
android:layout_height="wrap_content"
android:hint="@string/input_des"
android:maxLines="4"
android:maxLength="140"
android:layout_below="@+id/rl_publish_add"
android:imeOptions="flagNoFullscreen|actionDone"
android:transitionName="play_des"/>
</RelativeLayout>