mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
f74a82ee07
enabled/disabled when in fact they are. Apparently now that the theme's changed they don't look right without it, perhaps because the old theme gave their layout a background other than white.
88 lines
3.5 KiB
XML
88 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/board_root"
|
|
android:orientation="vertical"
|
|
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"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:focusable="true"
|
|
android:clickable="true"
|
|
android:longClickable="true"
|
|
android:drawSelectorOnTop="false"
|
|
android:layout_gravity="center_vertical|center_horizontal"
|
|
/>
|
|
|
|
<LinearLayout android:id="@+id/exchange_buttons"
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FF000000"
|
|
>
|
|
<Button android:id="@+id/exchange_commit"
|
|
android:text="@string/button_trade_commit"
|
|
style="@style/spaced_buttons"
|
|
/>
|
|
<Button android:id="@+id/exchange_cancel"
|
|
android:text="@string/button_trade_cancel"
|
|
style="@style/spaced_buttons"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<HorizontalScrollView android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
>
|
|
<LinearLayout android:id="@+id/toolbar_horizontal"
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="48dp"
|
|
>
|
|
|
|
<ImageButton android:id="@+id/prevhint_button_horizontal"
|
|
style="@style/toolbar_button"
|
|
android:src="@drawable/prev_hint"
|
|
/>
|
|
<ImageButton android:id="@+id/nexthint_button_horizontal"
|
|
style="@style/toolbar_button"
|
|
android:src="@drawable/next_hint"
|
|
/>
|
|
<ImageButton android:id="@+id/shuffle_button_horizontal"
|
|
style="@style/toolbar_button"
|
|
android:src="@drawable/shuffle"
|
|
/>
|
|
<ImageButton android:id="@+id/undo_button_horizontal"
|
|
style="@style/toolbar_button"
|
|
android:src="@drawable/undo"
|
|
/>
|
|
<ImageButton android:id="@+id/dictlist_button_horizontal"
|
|
style="@style/toolbar_button"
|
|
android:src="@drawable/dicticon"
|
|
/>
|
|
<ImageButton android:id="@+id/chat_button_horizontal"
|
|
style="@style/toolbar_button"
|
|
android:src="@drawable/stat_notify_chat"
|
|
/>
|
|
<ImageButton android:id="@+id/values_button_horizontal"
|
|
style="@style/toolbar_button"
|
|
android:src="@drawable/values"
|
|
/>
|
|
<ImageButton android:id="@+id/flip_button_horizontal"
|
|
style="@style/toolbar_button"
|
|
android:src="@drawable/flip"
|
|
/>
|
|
<ImageButton android:id="@+id/zoom_button_horizontal"
|
|
style="@style/toolbar_button"
|
|
android:src="@drawable/zoom"
|
|
/>
|
|
</LinearLayout>
|
|
</HorizontalScrollView>
|
|
</LinearLayout>
|