pandorapan/common/src/main/res/layout/view_title2.xml

76 lines
2.7 KiB
XML
Raw Normal View History

2024-02-23 16:07:50 +08:00
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2024-03-08 14:34:05 +08:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2024-02-23 16:07:50 +08:00
android:layout_width="match_parent"
android:layout_height="72dp"
android:background="#F5F5F5"
android:paddingTop="24dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/titleView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerHorizontal="true"
android:gravity="center"
android:textColor="@color/textColor"
android:textSize="18sp"
android:textStyle="bold" />
<ImageView
android:id="@+id/btn_back"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_centerVertical="true"
android:onClick="backClick"
android:padding="9dp"
android:src="@mipmap/icon_back"
2024-03-08 14:34:05 +08:00
app:tint="@color/textColor" />
2024-02-23 16:07:50 +08:00
<ImageView
android:id="@+id/img_more"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:padding="9dp"
android:src="@mipmap/btn_more_black"
2024-03-08 14:34:05 +08:00
android:visibility="gone"
app:tint="@color/textColor" />
2024-02-23 16:07:50 +08:00
<TextView
android:id="@+id/rView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
2024-03-08 14:34:05 +08:00
android:layout_marginRight="25dp"
2024-02-23 16:07:50 +08:00
android:gravity="center"
2024-03-08 14:34:05 +08:00
android:text="@string/not_received"
2024-02-23 16:07:50 +08:00
android:textColor="@color/textColor"
android:textSize="13sp"
2024-03-08 14:34:05 +08:00
android:textStyle="bold"
android:visibility="gone" />
<TextView
android:id="@+id/submit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="10dp"
android:background="@drawable/main_community_send"
android:paddingLeft="15dp"
android:paddingTop="10dp"
android:paddingRight="15dp"
android:paddingBottom="10dp"
android:text="发布"
android:textColor="@color/white"
android:textSize="16dp"
android:visibility="gone" />
2024-02-23 16:07:50 +08:00
</RelativeLayout>
</FrameLayout>