2012-04-07 12:43:12 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-12-24 10:48:52 +01:00
|
|
|
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/drawer_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2012-04-07 12:43:12 +02:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
2012-09-21 19:55:30 +02:00
|
|
|
android:layout_marginRight="2dp"
|
2012-04-07 12:43:12 +02:00
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_width="0dip"
|
2012-09-21 19:55:30 +02:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:paddingRight="1dp">
|
2012-09-19 18:23:32 +02:00
|
|
|
<include
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
layout="@layout/title">
|
|
|
|
</include>
|
2012-08-26 20:53:07 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
2012-04-07 12:43:12 +02:00
|
|
|
android:layout_width="fill_parent"
|
2015-12-28 15:02:20 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="6dp">
|
2012-08-26 20:53:07 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/custom3Button"
|
|
|
|
android:contentDescription="@string/buttonDesc_custom3"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp">
|
|
|
|
</ImageButton>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/custom2Button"
|
|
|
|
android:contentDescription="@string/buttonDesc_custom2"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp">
|
|
|
|
</ImageButton>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/custom1Button"
|
|
|
|
android:contentDescription="@string/buttonDesc_custom1"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp">
|
|
|
|
</ImageButton>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/modeButton"
|
|
|
|
android:contentDescription="@string/buttonDesc_mode"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp">
|
|
|
|
</ImageButton>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/undoButton"
|
|
|
|
android:contentDescription="@string/buttonDesc_back"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp">
|
|
|
|
</ImageButton>
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/redoButton"
|
|
|
|
android:contentDescription="@string/buttonDesc_forward"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="32dp">
|
|
|
|
</ImageButton>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/status"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:includeFontPadding="true"
|
2015-12-20 19:16:17 +01:00
|
|
|
android:fontFamily="monospace"
|
2012-08-26 20:53:07 +02:00
|
|
|
android:typeface="monospace"
|
2015-12-20 19:16:17 +01:00
|
|
|
android:textSize="12sp"/>
|
2012-08-26 20:53:07 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:orientation="vertical"
|
2012-04-07 12:43:12 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent">
|
2012-08-26 20:53:07 +02:00
|
|
|
<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"
|
2015-12-20 19:16:17 +01:00
|
|
|
android:fontFamily="monospace"
|
2012-08-26 20:53:07 +02:00
|
|
|
android:typeface="monospace"
|
2015-12-20 19:16:17 +01:00
|
|
|
android:textSize="12sp"/>
|
2012-08-26 20:53:07 +02:00
|
|
|
</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"
|
2015-12-20 19:16:17 +01:00
|
|
|
android:fontFamily="monospace"
|
2012-08-26 20:53:07 +02:00
|
|
|
android:typeface="monospace"
|
2015-12-20 19:16:17 +01:00
|
|
|
android:textSize="12sp"/>
|
2012-08-26 20:53:07 +02:00
|
|
|
</ScrollView>
|
|
|
|
</RelativeLayout>
|
2012-04-07 12:43:12 +02:00
|
|
|
</LinearLayout>
|
|
|
|
<view
|
2012-09-10 23:46:24 +02:00
|
|
|
class="org.petero.droidfish.ChessBoardPlay"
|
2012-04-07 12:43:12 +02:00
|
|
|
android:id="@+id/chessboard"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"/>
|
|
|
|
</LinearLayout>
|
2015-12-24 10:48:52 +01:00
|
|
|
<include layout="@layout/left_drawer"/>
|
|
|
|
<include layout="@layout/right_drawer"/>
|
|
|
|
</android.support.v4.widget.DrawerLayout>
|