Commit ab7bb5bf35a8681ca41a569bb46c5642441a193b
1 parent
1f0c22ac4b
Exists in
master
ui调整
Showing
3 changed files
with
16 additions
and
16 deletions
Show diff stats
app/src/main/res/drawable/svg_delete.xml
app/src/main/res/drawable/svg_go_detail.xml
app/src/main/res/layout/item_homework_list.xml
| ... | ... | @@ -15,9 +15,9 @@ |
| 15 | 15 | android:visibility="gone" |
| 16 | 16 | tools:visibility="visible" |
| 17 | 17 | tools:text="2024-09-25" |
| 18 | - android:textSize="12sp" | |
| 18 | + android:textSize="14sp" | |
| 19 | 19 | android:textColor="#999" |
| 20 | - android:layout_marginBottom="15dp" | |
| 20 | + android:layout_marginBottom="12dp" | |
| 21 | 21 | android:layout_width="wrap_content" |
| 22 | 22 | android:layout_height="wrap_content"/> |
| 23 | 23 | |
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | android:background="@drawable/shape_radius_10" |
| 26 | 26 | android:backgroundTint="@color/white" |
| 27 | 27 | android:layout_width="match_parent" |
| 28 | - android:layout_height="75dp"> | |
| 28 | + android:layout_height="80dp"> | |
| 29 | 29 | <LinearLayout |
| 30 | 30 | android:orientation="horizontal" |
| 31 | 31 | android:gravity="center_vertical" |
| ... | ... | @@ -35,23 +35,23 @@ |
| 35 | 35 | android:id="@+id/ivSubject" |
| 36 | 36 | tools:src="@drawable/ic_math" |
| 37 | 37 | android:layout_marginStart="10dp" |
| 38 | - android:layout_width="44dp" | |
| 39 | - android:layout_height="56dp" | |
| 38 | + android:layout_width="50dp" | |
| 39 | + android:layout_height="64dp" | |
| 40 | 40 | android:importantForAccessibility="no" /> |
| 41 | 41 | <LinearLayout |
| 42 | 42 | android:orientation="vertical" |
| 43 | 43 | android:layout_marginStart="14dp" |
| 44 | 44 | android:layout_marginEnd="10dp" |
| 45 | - android:layout_marginVertical="16dp" | |
| 45 | + android:layout_marginVertical="12dp" | |
| 46 | 46 | android:layout_width="match_parent" |
| 47 | 47 | android:layout_height="match_parent"> |
| 48 | 48 | <TextView |
| 49 | 49 | android:id="@+id/tvName" |
| 50 | 50 | tools:text="作业名称作业名称作业名称作业名称作业名称作业名称作业名称" |
| 51 | - android:textSize="13sp" | |
| 51 | + android:textSize="14sp" | |
| 52 | 52 | android:textColor="#333" |
| 53 | 53 | android:singleLine="true" |
| 54 | - android:maxEms="16" | |
| 54 | + android:maxEms="12" | |
| 55 | 55 | android:ellipsize="end" |
| 56 | 56 | android:layout_width="wrap_content" |
| 57 | 57 | android:layout_height="wrap_content"/> |
| ... | ... | @@ -64,7 +64,7 @@ |
| 64 | 64 | <TextView |
| 65 | 65 | android:id="@+id/tvGrade" |
| 66 | 66 | tools:text="七年级-上学期" |
| 67 | - android:textSize="10sp" | |
| 67 | + android:textSize="12sp" | |
| 68 | 68 | android:textColor="#666" |
| 69 | 69 | android:layout_width="wrap_content" |
| 70 | 70 | android:layout_height="wrap_content" /> |
| ... | ... | @@ -72,7 +72,7 @@ |
| 72 | 72 | <androidx.appcompat.widget.AppCompatTextView |
| 73 | 73 | android:id="@+id/btnDelete" |
| 74 | 74 | android:text="删除" |
| 75 | - android:textSize="10sp" | |
| 75 | + android:textSize="12sp" | |
| 76 | 76 | android:textColor="#666" |
| 77 | 77 | android:gravity="center_vertical" |
| 78 | 78 | android:drawableStart="@drawable/svg_delete" |
| ... | ... | @@ -88,7 +88,7 @@ |
| 88 | 88 | <androidx.appcompat.widget.AppCompatTextView |
| 89 | 89 | android:id="@+id/btnDetail" |
| 90 | 90 | android:text="详情" |
| 91 | - android:textSize="10sp" | |
| 91 | + android:textSize="12sp" | |
| 92 | 92 | android:textColor="#666" |
| 93 | 93 | android:gravity="center_vertical" |
| 94 | 94 | android:drawableStart="@drawable/svg_go_detail" |
| ... | ... | @@ -101,7 +101,7 @@ |
| 101 | 101 | <TextView |
| 102 | 102 | android:id="@+id/tvFlag" |
| 103 | 103 | android:text="已反馈" |
| 104 | - android:textSize="9sp" | |
| 104 | + android:textSize="11sp" | |
| 105 | 105 | android:textColor="@color/white" |
| 106 | 106 | android:background="@drawable/bg_homework_feedback_flag" |
| 107 | 107 | android:layout_gravity="end" | ... | ... |