Commit 5a16e81af6644cdd0fdfc8616aeaeb25b8a739a0
1 parent
0aa2b2aeb6
Exists in
master
布局调整
Showing
2 changed files
with
5 additions
and
0 deletions
Show diff stats
app/src/main/java/com/hjx/parent/StuHomeworkActivity.java
... | ... | @@ -535,6 +535,9 @@ public class StuHomeworkActivity extends BaseRxActivity<ActivityStudentHomeworkB |
535 | 535 | btnDetail.setOnClickListener(v -> { |
536 | 536 | if (detailCall != null) detailCall.invoke(data); |
537 | 537 | }); |
538 | + holder.itemView.setOnClickListener(v -> { | |
539 | + if (detailCall != null) detailCall.invoke(data); | |
540 | + }); | |
538 | 541 | } |
539 | 542 | |
540 | 543 | private SimpleDateFormat getFormatWithGmt8(String pattern) { | ... | ... |
app/src/main/res/layout/activity_student_homework.xml
... | ... | @@ -96,6 +96,7 @@ |
96 | 96 | android:textStyle="bold" |
97 | 97 | android:background="@drawable/btn_general_huyou" |
98 | 98 | android:layout_marginTop="16dp" |
99 | + android:layout_marginBottom="8dp" | |
99 | 100 | android:layout_marginHorizontal="30dp" |
100 | 101 | android:layout_width="match_parent" |
101 | 102 | android:layout_height="35dp" |
... | ... | @@ -116,6 +117,7 @@ |
116 | 117 | android:textStyle="bold" |
117 | 118 | android:background="@drawable/btn_general_huyou" |
118 | 119 | android:layout_marginTop="16dp" |
120 | + android:layout_marginBottom="8dp" | |
119 | 121 | android:layout_marginHorizontal="30dp" |
120 | 122 | android:layout_width="match_parent" |
121 | 123 | android:layout_height="35dp" | ... | ... |