RustAssistant/app/res/layout/attach_files.xml

52 lines
1.7 KiB
XML
Raw Normal View History

2022-04-04 14:03:10 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/icon_tip" />
<ImageView
android:id="@+id/icon_view"
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@mipmap/ui_image" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/addFileButton"
android:text="@string/attach_tip" />
<Button
android:id="@+id/addFileButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="@string/add_file" />
</RelativeLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/files_list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>