Commit f97c55b37f21c88a4359178b246ae2930c2c91df
1 parent
58c15e2b27
Exists in
master
教师评语长度限制
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
app/src/main/java/com/hjx/parent/HomeworkFeedbackActivity.java
app/src/main/res/layout/activity_homework_feedback.xml
... | ... | @@ -227,7 +227,8 @@ |
227 | 227 | android:layout_height="40dp"/> |
228 | 228 | <EditText |
229 | 229 | android:id="@+id/etComment" |
230 | - android:hint="非必填" | |
230 | + android:hint="非必填, 不超过300字" | |
231 | + android:maxLength="300" | |
231 | 232 | android:textSize="13sp" |
232 | 233 | android:textColor="#333" |
233 | 234 | android:textColorHint="#999" | ... | ... |