2012-04-07 12:43:12 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_height="fill_parent">
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2012-05-12 19:42:56 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/customButton"
|
|
|
|
android:contentDescription="@string/buttonDesc_custom"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
android:src="@drawable/custom">
|
|
|
|
</ImageButton>
|
2012-04-07 23:05:05 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/flipButton"
|
|
|
|
android:contentDescription="@string/buttonDesc_flip"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
android:src="@drawable/flip">
|
|
|
|
</ImageButton>
|
2012-04-07 12:43:12 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/modeButton"
|
2012-04-07 13:02:01 +02:00
|
|
|
android:contentDescription="@string/buttonDesc_mode"
|
2012-04-07 12:43:12 +02:00
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
android:src="@drawable/mode">
|
|
|
|
</ImageButton>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/undoButton"
|
2012-04-07 13:02:01 +02:00
|
|
|
android:contentDescription="@string/buttonDesc_back"
|
2012-04-07 12:43:12 +02:00
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
android:src="@drawable/left">
|
|
|
|
</ImageButton>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/redoButton"
|
2012-04-07 13:02:01 +02:00
|
|
|
android:contentDescription="@string/buttonDesc_forward"
|
2012-04-07 12:43:12 +02:00
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
android:src="@drawable/right">
|
|
|
|
</ImageButton>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/status"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:includeFontPadding="true"
|
|
|
|
android:typeface="monospace"
|
|
|
|
android:textSize="10dip"/>
|
|
|
|
<RelativeLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
|
|
|
<view
|
|
|
|
class="org.petero.droidfish.MyScrollView"
|
|
|
|
android:id="@+id/scrollViewBot"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/thinking"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:includeFontPadding="true"
|
|
|
|
android:typeface="monospace"
|
|
|
|
android:textSize="10dip"/>
|
|
|
|
</view>
|
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/scrollView"
|
|
|
|
android:layout_above="@+id/scrollViewBot"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/moveList"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:includeFontPadding="true"
|
|
|
|
android:typeface="monospace"
|
|
|
|
android:textSize="10dip"/>
|
|
|
|
</ScrollView>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<view
|
|
|
|
class="org.petero.droidfish.ChessBoard"
|
|
|
|
android:id="@+id/chessboard"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"/>
|
|
|
|
</LinearLayout>
|