fix board toolbar to be centered AND fully available

This commit is contained in:
Eric House 2014-07-21 20:00:17 -07:00
parent f305e6dc8d
commit 38afc4494a

View file

@ -6,7 +6,6 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:gravity="center_vertical|center_horizontal"
>
<org.eehouse.android.xw4.BoardView
android:id="@+id/board_view"
@ -17,7 +16,7 @@
android:clickable="true"
android:longClickable="true"
android:drawSelectorOnTop="false"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_gravity="center_horizontal"
android:background="@android:color/transparent"
/>
@ -37,14 +36,14 @@
</LinearLayout>
<HorizontalScrollView android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
>
<LinearLayout android:id="@+id/toolbar_horizontal"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:minHeight="48dp"
>