feat:调整房间标题长度输入限制(改为25)
This commit is contained in:
@@ -109,7 +109,7 @@ public class EditRoomTitleDialog extends AppCompatDialog {
|
|||||||
tvTitle.setText(ResUtil.getString(R.string.avroom_widget_editroomtitledialog_03));
|
tvTitle.setText(ResUtil.getString(R.string.avroom_widget_editroomtitledialog_03));
|
||||||
tvLimit.setVisibility(View.VISIBLE);
|
tvLimit.setVisibility(View.VISIBLE);
|
||||||
etContent.setHint(ResUtil.getString(R.string.avroom_widget_editroomtitledialog_04));
|
etContent.setHint(ResUtil.getString(R.string.avroom_widget_editroomtitledialog_04));
|
||||||
maxLength = 15;
|
maxLength = 25;
|
||||||
etContent.setFilters(new InputFilter[]{new InputFilter.LengthFilter(maxLength)});
|
etContent.setFilters(new InputFilter[]{new InputFilter.LengthFilter(maxLength)});
|
||||||
setLimtText();
|
setLimtText();
|
||||||
} else if (dialogType == TYPE_EDIT_DESC) {
|
} else if (dialogType == TYPE_EDIT_DESC) {
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
android:layout_marginStart="19dp"
|
android:layout_marginStart="19dp"
|
||||||
android:layout_marginEnd="19dp"
|
android:layout_marginEnd="19dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
|
android:gravity="start|center_vertical"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:background="@drawable/shape_f5f5f5_corner"
|
android:background="@drawable/shape_f5f5f5_corner"
|
||||||
android:textColorHint="@color/color_999999"
|
android:textColorHint="@color/color_999999"
|
||||||
|
Reference in New Issue
Block a user