set max len for roomname field (with comment that it should be kept in

sync with the C constant)
This commit is contained in:
Andy2 2010-11-03 18:38:13 -07:00
parent c7febf0d10
commit e2ee0755cb

View file

@ -95,6 +95,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
> >
<!-- maxLength derives from MAX_INVITE_LEN in xwrelay.h -->
<EditText android:id="@+id/room_edit" <EditText android:id="@+id/room_edit"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="fill_parent"
@ -103,6 +105,7 @@
android:capitalize="none" android:capitalize="none"
android:singleLine="true" android:singleLine="true"
android:selectAllOnFocus="true" android:selectAllOnFocus="true"
android:maxLength="31"
android:hint="@string/new_room_hint" android:hint="@string/new_room_hint"
/> />
<CheckBox android:id="@+id/advertise_new_room_check" <CheckBox android:id="@+id/advertise_new_room_check"