85 lines
3.3 KiB
XML
85 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/gray_bg"
|
|
android:orientation="vertical"
|
|
tools:context=".activity.email.InboxDetailActivity">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="55dp"
|
|
android:fillViewport="true"
|
|
android:scrollbars="none">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="10dp">
|
|
|
|
<com.tenlionsoft.baselib.core.widget.views.TypeFaceTextView
|
|
android:id="@+id/tv_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/black"
|
|
android:textStyle="bold"
|
|
tools:text="主题" />
|
|
|
|
<com.tenlionsoft.baselib.core.widget.views.TypeFaceTextView
|
|
android:id="@+id/tv_sender"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:textColor="@color/text_green"
|
|
tools:text="发件人" />
|
|
|
|
<com.tenlionsoft.baselib.core.widget.views.TypeFaceTextView
|
|
android:id="@+id/tv_time"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:textColor="@color/black"
|
|
tools:text="收件时间" />
|
|
|
|
<com.tenlionsoft.baselib.core.widget.views.TypeFaceTextView
|
|
android:id="@+id/tv_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_weight="1"
|
|
android:textColor="@color/black" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rlv_files"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="10dp" />
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="@color/white"
|
|
android:orientation="horizontal"
|
|
android:padding="20dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_del"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/ic_del_tong" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_transfer"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_marginLeft="20dp"
|
|
android:src="@drawable/ic_share" />
|
|
</LinearLayout>
|
|
</RelativeLayout> |