添加Task UI 简要设计
This commit is contained in:
		@@ -87,11 +87,5 @@
 | 
			
		||||
		android:layout_margin="2dp"
 | 
			
		||||
		android:layout_alignParentBottom="true"/>
 | 
			
		||||
 | 
			
		||||
	<LinearLayout
 | 
			
		||||
		android:orientation="horizontal"
 | 
			
		||||
		android:layout_width="wrap_content"
 | 
			
		||||
		android:layout_height="wrap_content"
 | 
			
		||||
		android:layout_above="@id/recycler_view"/>
 | 
			
		||||
 | 
			
		||||
</RelativeLayout>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -6,10 +6,18 @@
 | 
			
		||||
	android:layout_width="match_parent"
 | 
			
		||||
	android:layout_height="match_parent">
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:text="fragment_tasks"/>
 | 
			
		||||
	<Spinner
 | 
			
		||||
		android:layout_width="match_parent"
 | 
			
		||||
		android:layout_height="wrap_content"/>
 | 
			
		||||
 | 
			
		||||
	<androidx.recyclerview.widget.RecyclerView
 | 
			
		||||
		android:id="@+id/recycler_view"
 | 
			
		||||
		android:layout_width="match_parent"
 | 
			
		||||
		android:layout_height="200dp"
 | 
			
		||||
		android:background="@drawable/recycler_view_border"
 | 
			
		||||
		android:padding="2dp"
 | 
			
		||||
		android:layout_margin="2dp"
 | 
			
		||||
		android:layout_alignParentBottom="true"/>
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,25 @@
 | 
			
		||||
<?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"
 | 
			
		||||
	android:orientation="horizontal"
 | 
			
		||||
	android:layout_width="match_parent"
 | 
			
		||||
	android:layout_height="match_parent"
 | 
			
		||||
	android:gravity="center_vertical"
 | 
			
		||||
	android:id="@+id/position_simple_content_root_ll">
 | 
			
		||||
 | 
			
		||||
	<TextView
 | 
			
		||||
		android:layout_width="0dp"
 | 
			
		||||
		android:layout_height="wrap_content"
 | 
			
		||||
		android:text="Text"
 | 
			
		||||
		android:layout_weight="1.0"
 | 
			
		||||
		android:id="@+id/comments_tv"/>
 | 
			
		||||
 | 
			
		||||
	<Button
 | 
			
		||||
		android:layout_width="wrap_content"
 | 
			
		||||
		android:layout_height="wrap_content"
 | 
			
		||||
		android:text="→"
 | 
			
		||||
		android:id="@+id/goto_task_btn"/>
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user