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

53 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/cd_community_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardElevation="0dp">
<RelativeLayout
android:background="@color/bg_white"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/im_publish_cancel"
android:background="@drawable/community_cancel"
android:layout_width="@dimen/publish_title_img"
android:layout_height="@dimen/publish_title_img"
android:transitionName="im_publish_cancel"/>
<com.google.android.material.textfield.TextInputEditText
android:textSize="@dimen/theme_13sp"
android:textColor="@color/txt_96A6B4"
android:id="@+id/tie_publish_title"
android:background="@drawable/bg_edit_view"
android:paddingLeft="@dimen/dp30w"
android:paddingRight="@dimen/dp30w"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_width="@dimen/dp629w"
android:layout_height="@dimen/dp40w"
android:layout_marginLeft="@dimen/dp128w"
android:hint="@string/and_title"
android:singleLine="true"
android:maxLength="20"
android:layout_centerVertical="true"
android:imeOptions="flagNoFullscreen|actionDone"/>
<ImageView
android:id="@+id/im_publish"
android:background="@drawable/community_post"
android:layout_width="@dimen/publish_title_img"
android:layout_height="@dimen/publish_title_img"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/im_preview"
android:background="@drawable/icon_preview"
android:clickable="false"
android:layout_width="@dimen/publish_title_img"
android:layout_height="@dimen/publish_title_img"
android:layout_marginRight="@dimen/publish_preview_margin_right"
android:layout_toLeftOf="@+id/im_publish"
android:layout_centerVertical="true"
android:alpha="0.5"/>
</RelativeLayout>
</androidx.cardview.widget.CardView>