mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-12-05 01:35:50 +01:00
2b8fb24a79
the minimum API level to 16 (4.1).
102 lines
3.8 KiB
XML
102 lines
3.8 KiB
XML
<?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">
|
|
<include
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
layout="@layout/title">
|
|
</include>
|
|
<view
|
|
class="org.petero.droidfish.ChessBoardPlay"
|
|
android:id="@+id/chessboard"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"/>
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
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:fontFamily="monospace"
|
|
android:typeface="monospace"
|
|
android:textSize="12sp"/>
|
|
<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>
|
|
<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:fontFamily="monospace"
|
|
android:typeface="monospace"
|
|
android:textSize="12sp"/>
|
|
</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:fontFamily="monospace"
|
|
android:typeface="monospace"
|
|
android:textSize="12sp"/>
|
|
</ScrollView>
|
|
</RelativeLayout>
|
|
</LinearLayout>
|