move game name field to top of dialog

This commit is contained in:
Eric House 2021-02-25 17:18:52 -08:00
parent f7ba081e01
commit d0323b5ce1
2 changed files with 22 additions and 22 deletions

View file

@ -84,7 +84,7 @@
/> />
<!-- this layout is vertical, holds everything but the status <!-- this layout is vertical, holds everything but the status
icon[s] (plural later) --> icon[s] (plural later) and thumbnail -->
<LinearLayout android:id="@+id/right_side" <LinearLayout android:id="@+id/right_side"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"

View file

@ -8,6 +8,27 @@
android:padding="8dp" android:padding="8dp"
> >
<LinearLayout android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/game_name_label"
android:layout_gravity="center_vertical"
/>
<org.eehouse.android.xw4.EditWClear
android:id="@+id/name_edit"
style="@style/edit_w_clear"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:scrollHorizontally="true"
android:maxLines="1"
android:maxLength="32"
android:selectAllOnFocus="true"
android:focusable="false"
/>
</LinearLayout>
<RadioGroup android:id="@+id/group" <RadioGroup android:id="@+id/group"
android:orientation="vertical" android:orientation="vertical"
@ -60,25 +81,4 @@
/> />
</RadioGroup> </RadioGroup>
<LinearLayout android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/game_name_label"
android:layout_gravity="center_vertical"
/>
<org.eehouse.android.xw4.EditWClear
android:id="@+id/name_edit"
style="@style/edit_w_clear"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:scrollHorizontally="true"
android:maxLines="1"
android:maxLength="32"
android:selectAllOnFocus="true"
android:focusable="false"
/>
</LinearLayout>
</org.eehouse.android.xw4.NewWithKnowns> </org.eehouse.android.xw4.NewWithKnowns>