2011-11-12 20:44:06 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
2012-08-26 20:53:07 +02:00
|
|
|
<view
|
2012-09-10 23:46:24 +02:00
|
|
|
class="org.petero.droidfish.ChessBoardPlay"
|
2012-08-26 20:53:07 +02:00
|
|
|
android:id="@+id/chessboard"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"/>
|
2011-11-12 20:44:06 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
2012-08-26 20:53:07 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="1dp">
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/status"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:includeFontPadding="true"
|
|
|
|
android:typeface="monospace"
|
|
|
|
android:textSize="10dip"/>
|
2012-06-10 10:28:34 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/custom3Button"
|
|
|
|
android:contentDescription="@string/buttonDesc_custom3"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp">
|
|
|
|
</ImageButton>
|
2012-04-07 23:05:05 +02:00
|
|
|
<ImageButton
|
2012-05-13 02:26:56 +02:00
|
|
|
android:id="@+id/custom2Button"
|
|
|
|
android:contentDescription="@string/buttonDesc_custom2"
|
2012-05-12 19:42:56 +02:00
|
|
|
android:layout_width="36dp"
|
2012-06-09 22:04:22 +02:00
|
|
|
android:layout_height="32dp">
|
2012-05-12 19:42:56 +02:00
|
|
|
</ImageButton>
|
2012-08-26 20:53:07 +02:00
|
|
|
<ImageButton
|
2012-05-13 02:26:56 +02:00
|
|
|
android:id="@+id/custom1Button"
|
|
|
|
android:contentDescription="@string/buttonDesc_custom1"
|
2012-04-07 23:05:05 +02:00
|
|
|
android:layout_width="36dp"
|
2012-06-09 22:04:22 +02:00
|
|
|
android:layout_height="32dp">
|
2012-04-07 23:05:05 +02:00
|
|
|
</ImageButton>
|
|
|
|
<ImageButton
|
2011-11-12 20:44:06 +01:00
|
|
|
android:id="@+id/modeButton"
|
2012-04-07 13:02:01 +02:00
|
|
|
android:contentDescription="@string/buttonDesc_mode"
|
2011-11-12 20:44:06 +01:00
|
|
|
android:layout_width="36dp"
|
2012-06-09 22:04:22 +02:00
|
|
|
android:layout_height="32dp">
|
2011-11-12 20:44:06 +01:00
|
|
|
</ImageButton>
|
2012-08-26 20:53:07 +02:00
|
|
|
<ImageButton
|
2011-11-12 20:44:06 +01:00
|
|
|
android:id="@+id/undoButton"
|
2012-04-07 13:02:01 +02:00
|
|
|
android:contentDescription="@string/buttonDesc_back"
|
2011-11-12 20:44:06 +01:00
|
|
|
android:layout_width="36dp"
|
2012-06-09 22:04:22 +02:00
|
|
|
android:layout_height="32dp">
|
2011-11-12 20:44:06 +01:00
|
|
|
</ImageButton>
|
2012-08-26 20:53:07 +02:00
|
|
|
<ImageButton
|
2011-11-12 20:44:06 +01:00
|
|
|
android:id="@+id/redoButton"
|
2012-04-07 13:02:01 +02:00
|
|
|
android:contentDescription="@string/buttonDesc_forward"
|
2011-11-12 20:44:06 +01:00
|
|
|
android:layout_width="36dp"
|
2012-06-09 22:04:22 +02:00
|
|
|
android:layout_height="32dp">
|
2011-11-12 20:44:06 +01:00
|
|
|
</ImageButton>
|
2012-08-26 20:53:07 +02:00
|
|
|
</LinearLayout>
|
2011-11-12 20:44:06 +01:00
|
|
|
<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>
|
2012-08-26 20:53:07 +02:00
|
|
|
<ScrollView
|
2011-11-12 20:44:06 +01:00
|
|
|
android:id="@+id/scrollView"
|
|
|
|
android:layout_above="@+id/scrollViewBot"
|
2012-08-26 20:53:07 +02:00
|
|
|
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>
|
2011-11-12 20:44:06 +01:00
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|