添加Task UI 简要设计

This commit is contained in:
ZhanGSKen 2025-04-05 18:06:34 +08:00
parent 3db85b9878
commit f85af921d7
4 changed files with 39 additions and 12 deletions

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Sat Apr 05 07:04:05 GMT 2025
#Sat Apr 05 10:05:27 GMT 2025
stageCount=0
libraryProject=
baseVersion=1.0
publishVersion=1.0.0
buildCount=454
buildCount=455
baseBetaVersion=1.0.1

View File

@ -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>

View File

@ -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>

View File

@ -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>