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

65 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:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:background="@drawable/bg_publish_item"
android:layout_width="@dimen/dp800w"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true">
<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="@dimen/dp18"
app:cardElevation="0dp">
<ImageView
android:id="@+id/im_publish_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:transitionName="image_flag"/>
<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/theme_input_txt"
android:textColorHint="@color/theme_input_hint"
android:id="@+id/et_image_des"
android:background="@color/translucent"
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:hint="@string/add_image_des"
android:maxLines="4"
android:maxLength="140"
android:layout_below="@+id/rl_publish_add"
android:imeOptions="flagNoFullscreen|actionDone"/>
</RelativeLayout>
</RelativeLayout>