mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
fix board toolbar to be centered AND fully available
This commit is contained in:
parent
f305e6dc8d
commit
38afc4494a
1 changed files with 3 additions and 4 deletions
|
@ -6,7 +6,6 @@
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center_vertical|center_horizontal"
|
|
||||||
>
|
>
|
||||||
<org.eehouse.android.xw4.BoardView
|
<org.eehouse.android.xw4.BoardView
|
||||||
android:id="@+id/board_view"
|
android:id="@+id/board_view"
|
||||||
|
@ -17,7 +16,7 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:longClickable="true"
|
android:longClickable="true"
|
||||||
android:drawSelectorOnTop="false"
|
android:drawSelectorOnTop="false"
|
||||||
android:layout_gravity="center_vertical|center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:background="@android:color/transparent"
|
android:background="@android:color/transparent"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -37,14 +36,14 @@
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<HorizontalScrollView android:orientation="horizontal"
|
<HorizontalScrollView android:orientation="horizontal"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
>
|
>
|
||||||
<LinearLayout android:id="@+id/toolbar_horizontal"
|
<LinearLayout android:id="@+id/toolbar_horizontal"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
|
||||||
android:minHeight="48dp"
|
android:minHeight="48dp"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue