72 lines
2.5 KiB
XML
72 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<Button
|
|
android:id="@+id/send_return"
|
|
android:layout_width="35dp"
|
|
android:layout_height="35dp"
|
|
android:layout_margin="5dp"
|
|
android:background="@drawable/return1" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView7"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="120dp"
|
|
android:text="新建随笔"
|
|
android:textSize="20dp" />
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/send_recyclerview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="210dp"
|
|
android:layout_marginTop="10dp"></androidx.recyclerview.widget.RecyclerView>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/send_avatar"
|
|
android:layout_width="30dp"
|
|
android:layout_height="37dp"
|
|
tools:srcCompat="@tools:sample/avatars" />
|
|
|
|
<EditText
|
|
android:id="@+id/mycontent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="190dp"
|
|
android:gravity="top"
|
|
android:hint="独处,但并不孤独..." />
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/submit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="发布随笔" />
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</LinearLayout> |