Use same layout and behaviour for creating groups and forums.

This commit is contained in:
akwizgran
2017-06-30 17:23:19 +01:00
parent 613a7fe376
commit 9146488c7d
5 changed files with 97 additions and 66 deletions

View File

@@ -3,22 +3,27 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="@dimen/margin_medium">
android:layout_margin="@dimen/margin_large">
<EditText
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="bottom"
android:layout_height="wrap_content"
android:maxLines="1"
android:inputType="text|textCapSentences"
android:hint="@string/groups_create_group_hint"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/feedback"
android:gravity="center" />
<Button
android:id="@+id/button"
style="@style/BriarButton"
android:id="@+id/button"
android:enabled="false"
android:text="@string/groups_create_group_button"/>