Reformat XML files

This commit is contained in:
Peter Osterlund 2019-04-24 23:25:32 +02:00
parent 39d4c91bbd
commit 068b97ac85
35 changed files with 912 additions and 914 deletions

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 Daniel Nilsson
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 Daniel Nilsson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -14,63 +13,55 @@
limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:orientation="horizontal">
<net.margaritov.preference.colorpicker.ColorPickerView
android:id="@+id/color_picker_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:tag="landscape"
/>
<net.margaritov.preference.colorpicker.ColorPickerView
android:id="@+id/color_picker_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:tag="landscape" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginBottom="10dp">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginBottom="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/press_color_to_apply"
android:gravity="center"
android:layout_marginTop="6dp"
android:layout_marginLeft="6dp"
android:layout_marginRight="6dp"
android:layout_marginBottom="5dp"
android:textAppearance="?android:attr/textAppearanceSmall"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/press_color_to_apply"
android:gravity="center"
android:layout_marginTop="6dp"
android:layout_marginLeft="6dp"
android:layout_marginRight="6dp"
android:layout_marginBottom="5dp"
android:textAppearance="?android:attr/textAppearanceSmall" />
<net.margaritov.preference.colorpicker.ColorPickerPanelView
android:id="@+id/old_color_panel"
android:layout_width="fill_parent"
android:layout_height="40dp"
android:layout_weight="0.5"
/>
<net.margaritov.preference.colorpicker.ColorPickerPanelView
android:id="@+id/old_color_panel"
android:layout_width="fill_parent"
android:layout_height="40dp"
android:layout_weight="0.5" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="↓"
android:textSize="20sp"
android:gravity="center"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
/>
<net.margaritov.preference.colorpicker.ColorPickerPanelView
android:id="@+id/new_color_panel"
android:layout_width="fill_parent"
android:layout_height="40dp"
android:layout_weight="0.5"
/>
</LinearLayout>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="↓"
android:textSize="20sp"
android:gravity="center"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp" />
<net.margaritov.preference.colorpicker.ColorPickerPanelView
android:id="@+id/new_color_panel"
android:layout_width="fill_parent"
android:layout_height="40dp"
android:layout_weight="0.5" />
</LinearLayout>
</LinearLayout>

View File

@ -3,163 +3,179 @@
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<view
android:id="@+id/eb_chessboard"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
class="org.petero.droidfish.activities.ChessBoardEdit"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center_vertical"
android:orientation="vertical"
android:paddingLeft="2dp" >
<LinearLayout
android:id="@+id/first_title_line"
android:layout_height="fill_parent">
<view
android:id="@+id/eb_chessboard"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_height="fill_parent"
class="org.petero.droidfish.activities.ChessBoardEdit" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center_vertical"
android:background="#202020"
android:orientation="horizontal"
android:tag="title" >
<TextView
android:id="@+id/white_clock"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="left"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="false"
android:singleLine="true"
android:tag="title" />
<TextView
android:id="@+id/title_text_summary"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:gravity="center"
android:tag="title"
android:text="@string/app_name" />
<TextView
android:id="@+id/black_clock"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="right"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:tag="title" />
</LinearLayout>
<TextView
android:text=""
android:id="@+id/eb_status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp"/>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/LinearLayout03"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/eb_cancel"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/cancel" />
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/LinearLayout02"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:text="@android:string/ok"
android:id="@+id/eb_ok"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1">
</Button>
</LinearLayout>
<LinearLayout
android:id="@+id/footer"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:gravity="bottom"
android:orientation="horizontal" >
android:orientation="vertical"
android:paddingLeft="2dp">
<LinearLayout
android:id="@+id/second_title_line"
android:id="@+id/first_title_line"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:background="#202020"
android:gravity="bottom"
android:orientation="vertical"
android:tag="title" >
android:orientation="horizontal"
android:tag="title">
<TextView
android:id="@+id/white_pieces"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="left|center_vertical"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:tag="title"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold" />
<TextView
android:id="@+id/title_text"
android:id="@+id/white_clock"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center|center_vertical"
android:tag="title"
android:visibility="visible" />
<TextView
android:id="@+id/black_pieces"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="left|center_vertical"
android:gravity="left"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="false"
android:singleLine="true"
android:tag="title" />
<TextView
android:id="@+id/title_text_summary"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:gravity="center"
android:tag="title"
android:text="@string/app_name" />
<TextView
android:id="@+id/black_clock"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_marginTop="2dp"
android:layout_weight="1"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="right"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:tag="title"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold" />
android:tag="title" />
</LinearLayout>
<TextView
android:text=""
android:id="@+id/eb_status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp" />
<LinearLayout
android:orientation="horizontal"
android:id="@+id/LinearLayout03"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/eb_cancel"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/cancel" />
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/LinearLayout02"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:text="@android:string/ok"
android:id="@+id/eb_ok"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
<LinearLayout
android:id="@+id/footer"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:gravity="bottom"
android:orientation="horizontal">
<LinearLayout
android:id="@+id/second_title_line"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#202020"
android:gravity="bottom"
android:orientation="vertical"
android:tag="title">
<TextView
android:id="@+id/white_pieces"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="left|center_vertical"
android:marqueeRepeatLimit="marquee_forever"
android:singleLine="true"
android:tag="title"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold" />
<TextView
android:id="@+id/title_text"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center|center_vertical"
android:tag="title"
android:visibility="visible" />
<TextView
android:id="@+id/black_pieces"
style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="left|center_vertical"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
android:singleLine="true"
android:tag="title"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<include layout="@layout/left_drawer"/>
<include layout="@layout/left_drawer" />
</androidx.drawerlayout.widget.DrawerLayout>

View File

@ -17,7 +17,6 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
</ScrollView>
<LinearLayout
@ -45,9 +44,6 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@android:string/ok" />
</LinearLayout>
</LinearLayout>
</layout>

View File

@ -31,7 +31,6 @@
android:id="@+id/loadfen_chessboard"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout
@ -53,11 +52,7 @@
android:layout_height="fill_parent"
android:layout_weight="1"
android:text="@android:string/ok" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</layout>

View File

@ -3,115 +3,127 @@
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<view
class="org.petero.droidfish.ChessBoardPlay"
android:id="@+id/chessboard"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="2dp"
android:layout_marginTop="0dp"
android:orientation="vertical"
android:paddingLeft="1dp">
<include
android:layout_width="fill_parent"
android:layout_height="wrap_content"
layout="@layout/title">
</include>
<LinearLayout
android:id="@+id/buttons"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginRight="6dp">
<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"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp"/>
android:layout_height="fill_parent">
<view
class="org.petero.droidfish.view.MyRelativeLayout"
android:orientation="vertical"
class="org.petero.droidfish.ChessBoardPlay"
android:id="@+id/chessboard"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:id="@+id/scrollView"
android:layout_height="fill_parent" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="2dp"
android:layout_marginTop="0dp"
android:orientation="vertical"
android:paddingLeft="1dp">
<include
android:layout_width="fill_parent"
android:layout_height="wrap_content"
layout="@layout/title" />
<LinearLayout
android:id="@+id/buttons"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginRight="6dp">
<ImageButton
android:id="@+id/custom3Button"
android:contentDescription="@string/buttonDesc_custom3"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/custom2Button"
android:contentDescription="@string/buttonDesc_custom2"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/custom1Button"
android:contentDescription="@string/buttonDesc_custom1"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/modeButton"
android:contentDescription="@string/buttonDesc_mode"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/undoButton"
android:contentDescription="@string/buttonDesc_back"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/redoButton"
android:contentDescription="@string/buttonDesc_forward"
android:layout_width="36dp"
android:layout_height="32dp" />
</LinearLayout>
<TextView
android:id="@+id/status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp" />
<view
class="org.petero.droidfish.view.MyRelativeLayout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:id="@+id/scrollView"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<view
class="org.petero.droidfish.view.MoveListView"
android:id="@+id/moveList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:padding="0dp" />
</ScrollView>
<view
class="org.petero.droidfish.view.MoveListView"
android:id="@+id/moveList"
class="org.petero.droidfish.view.MyScrollView"
android:id="@+id/scrollViewBot"
android:layout_alignParentBottom="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:padding="0dp"/>
</ScrollView>
<view
class="org.petero.droidfish.view.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:tag="thinking"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp"/>
android:layout_height="wrap_content">
<TextView
android:id="@+id/thinking"
android:tag="thinking"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp" />
</view>
</view>
</view>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<include layout="@layout/left_drawer"/>
<include layout="@layout/right_drawer"/>
<include layout="@layout/left_drawer" />
<include layout="@layout/right_drawer" />
</androidx.drawerlayout.widget.DrawerLayout>

View File

@ -1,21 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="10dp">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="10dp"
android:text="@string/engine_name">
</TextView>
android:text="@string/engine_name" />
<EditText
android:id="@+id/create_network_engine"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
android:inputType="text" />
</LinearLayout>

View File

@ -1,21 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="10dp">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="10dp"
android:text="@string/filename">
</TextView>
android:text="@string/filename" />
<EditText
android:id="@+id/create_pgn_filename"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
android:inputType="text" />
</LinearLayout>

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 Daniel Nilsson
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 Daniel Nilsson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -14,64 +13,56 @@
limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:orientation="vertical">
android:paddingRight="5dp">
<net.margaritov.preference.colorpicker.ColorPickerView
android:id="@+id/color_picker_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:tag="portrait"
/>
<net.margaritov.preference.colorpicker.ColorPickerView
android:id="@+id/color_picker_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:tag="portrait" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/press_color_to_apply"
android:gravity="left"
android:layout_marginLeft="6dp"
android:layout_marginRight="6dp"
android:layout_marginBottom="5dp"
android:textAppearance="?android:attr/textAppearanceSmall"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="6dp"
android:layout_marginRight="6dp"
android:layout_marginBottom="5dp"
android:gravity="left"
android:text="@string/press_color_to_apply"
android:textAppearance="?android:attr/textAppearanceSmall" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="40dp"
android:orientation="horizontal"
android:layout_below="@id/color_picker_view"
android:layout_marginBottom="10dp">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="40dp"
android:layout_below="@id/color_picker_view"
android:layout_marginBottom="10dp"
android:orientation="horizontal">
<net.margaritov.preference.colorpicker.ColorPickerPanelView
android:id="@+id/old_color_panel"
android:layout_width="0px"
android:layout_height="fill_parent"
android:layout_weight="0.5"
/>
<net.margaritov.preference.colorpicker.ColorPickerPanelView
android:id="@+id/old_color_panel"
android:layout_width="0px"
android:layout_height="fill_parent"
android:layout_weight="0.5" />
<TextView
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:text="→"
android:textSize="20sp"
android:gravity="center"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
/>
<net.margaritov.preference.colorpicker.ColorPickerPanelView
android:id="@+id/new_color_panel"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="0.5"
/>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:gravity="center"
android:text="→"
android:textSize="20sp" />
<net.margaritov.preference.colorpicker.ColorPickerPanelView
android:id="@+id/new_color_panel"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_weight="0.5" />
</LinearLayout>
</LinearLayout>

View File

@ -1,9 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="12dp"
android:textColor="#FFBEBEBE"
android:textSize="20sp">
</TextView>
android:textSize="20sp" />

View File

@ -1,76 +1,80 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1"
android:padding="10dp">
android:padding="10dp"
android:stretchColumns="1">
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:paddingRight="10dp"
android:text="@string/comment_before">
</TextView>
android:text="@string/comment_before" />
<EditText
android:id="@+id/ed_comments_pre"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:minLines="2"
android:inputType="textMultiLine">
</EditText>
android:inputType="textMultiLine"
android:minLines="2" />
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/comment_move">
</TextView>
android:text="@string/comment_move" />
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
android:layout_weight="1"
android:orientation="horizontal">
<EditText
android:id="@+id/ed_comments_move"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:lines="1"
android:minEms="3"
android:enabled="false"
android:inputType="text"
android:enabled="false">
</EditText>
android:lines="1"
android:minEms="3" />
<EditText
android:id="@+id/ed_comments_nag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:inputType="text"
android:lines="1"
android:minEms="3"
android:inputType="text">
</EditText>
android:minEms="3" />
</LinearLayout>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/comment_after">
</TextView>
android:text="@string/comment_after" />
<EditText
android:id="@+id/ed_comments_post"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:minLines="5"
android:inputType="textMultiLine">
</EditText>
android:inputType="textMultiLine"
android:minLines="5" />
</TableRow>
</TableLayout>
</ScrollView>

View File

@ -1,109 +1,116 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1"
android:padding="10dp">
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_event">
</TextView>
<EditText
android:id="@+id/ed_header_event"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_site">
</TextView>
<EditText
android:id="@+id/ed_header_site"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_date">
</TextView>
<EditText
android:id="@+id/ed_header_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_round"
android:paddingRight="10dp">
</TextView>
<EditText
android:id="@+id/ed_header_round"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/white">
</TextView>
<EditText
android:id="@+id/ed_header_white"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/black">
</TextView>
<EditText
android:id="@+id/ed_header_black"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_result">
</TextView>
<Spinner
android:id="@+id/ed_game_result"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</Spinner>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_event" />
<EditText
android:id="@+id/ed_header_event"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text" />
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_site" />
<EditText
android:id="@+id/ed_header_site"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text" />
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_date" />
<EditText
android:id="@+id/ed_header_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text" />
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_round"
android:paddingRight="10dp" />
<EditText
android:id="@+id/ed_header_round"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text" />
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/white" />
<EditText
android:id="@+id/ed_header_white"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text" />
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/black" />
<EditText
android:id="@+id/ed_header_black"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_weight="1"
android:inputType="text" />
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_result" />
<Spinner
android:id="@+id/ed_game_result"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</TableRow>
</TableLayout>
</ScrollView>

View File

@ -3,38 +3,40 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp">
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="10dp"
android:text="@string/halfmove">
</TextView>
android:text="@string/halfmove" />
<EditText
android:id="@+id/ed_cnt_halfmove"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:minEms="3"
android:inputType="number">
</EditText>
android:inputType="number" />
</TableRow>
<TableRow
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="10dp"
android:text="@string/fullmove">
</TextView>
android:text="@string/fullmove" />
<EditText
android:id="@+id/ed_cnt_fullmove"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:minEms="3"
android:inputType="number">
</EditText>
android:inputType="number" />
</TableRow>
</TableLayout>

View File

@ -3,53 +3,55 @@
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
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.activities.ChessBoardEdit"
android:id="@+id/eb_chessboard"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</view>
<TextView
android:text=""
android:id="@+id/eb_status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp">
</TextView>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/LinearLayout02"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:text="@string/cancel"
android:id="@+id/eb_cancel"
<include
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
</Button>
<Button
android:text="@android:string/ok"
android:id="@+id/eb_ok"
layout="@layout/title" />
<view
class="org.petero.droidfish.activities.ChessBoardEdit"
android:id="@+id/eb_chessboard"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<TextView
android:text=""
android:id="@+id/eb_status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
</Button>
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp" />
<LinearLayout
android:orientation="horizontal"
android:id="@+id/LinearLayout02"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:text="@string/cancel"
android:id="@+id/eb_cancel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
<Button
android:text="@android:string/ok"
android:id="@+id/eb_ok"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<include layout="@layout/left_drawer"/>
<include layout="@layout/left_drawer" />
</androidx.drawerlayout.widget.DrawerLayout>

View File

@ -16,7 +16,6 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
</ScrollView>
<LinearLayout
@ -44,9 +43,6 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@android:string/ok" />
</LinearLayout>
</LinearLayout>
</layout>

View File

@ -22,7 +22,6 @@
android:id="@+id/loadfen_chessboard"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout
@ -42,9 +41,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@android:string/ok" />
</LinearLayout>
</LinearLayout>
<ListView
@ -52,7 +49,5 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:focusable="false" />
</LinearLayout>
</layout>

View File

@ -3,114 +3,126 @@
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
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:layout_marginRight="6dp"
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"/>
<LinearLayout
android:id="@+id/buttons"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<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>
</LinearLayout>
<view
class="org.petero.droidfish.view.MyRelativeLayout"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:id="@+id/scrollView"
<include
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<view
class="org.petero.droidfish.view.MoveListView"
android:id="@+id/moveList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:padding="0dp"/>
</ScrollView>
android:layout_height="wrap_content"
layout="@layout/title" />
<view
class="org.petero.droidfish.view.MyScrollView"
android:id="@+id/scrollViewBot"
android:layout_alignParentBottom="true"
class="org.petero.droidfish.ChessBoardPlay"
android:id="@+id/chessboard"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
android:layout_height="fill_parent" />
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginRight="6dp"
android:paddingTop="1dp">
<TextView
android:id="@+id/thinking"
android:tag="thinking"
android:layout_width="fill_parent"
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"/>
android:textSize="12sp" />
<LinearLayout
android:id="@+id/buttons"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageButton
android:id="@+id/custom3Button"
android:contentDescription="@string/buttonDesc_custom3"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/custom2Button"
android:contentDescription="@string/buttonDesc_custom2"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/custom1Button"
android:contentDescription="@string/buttonDesc_custom1"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/modeButton"
android:contentDescription="@string/buttonDesc_mode"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/undoButton"
android:contentDescription="@string/buttonDesc_back"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/redoButton"
android:contentDescription="@string/buttonDesc_forward"
android:layout_width="36dp"
android:layout_height="32dp" />
</LinearLayout>
</LinearLayout>
<view
class="org.petero.droidfish.view.MyRelativeLayout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:id="@+id/scrollView"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<view
class="org.petero.droidfish.view.MoveListView"
android:id="@+id/moveList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:padding="0dp" />
</ScrollView>
<view
class="org.petero.droidfish.view.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:tag="thinking"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp" />
</view>
</view>
</view>
</LinearLayout>
<include layout="@layout/left_drawer"/>
<include layout="@layout/right_drawer"/>
</LinearLayout>
<include layout="@layout/left_drawer" />
<include layout="@layout/right_drawer" />
</androidx.drawerlayout.widget.DrawerLayout>

View File

@ -3,116 +3,128 @@
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_marginRight="2dp"
android:layout_weight="1"
android:layout_width="0dip"
android:layout_height="fill_parent"
android:paddingRight="1dp">
<include
android:layout_width="fill_parent"
android:layout_height="wrap_content"
layout="@layout/title">
</include>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:id="@+id/buttons"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="6dp">
<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"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp"/>
<view
class="org.petero.droidfish.view.MyRelativeLayout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:id="@+id/scrollView"
android:layout_marginRight="2dp"
android:layout_weight="1"
android:layout_width="0dip"
android:layout_height="fill_parent"
android:paddingRight="1dp">
<include
android:layout_width="fill_parent"
android:layout_height="wrap_content"
layout="@layout/title" />
<LinearLayout
android:id="@+id/buttons"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="6dp">
<ImageButton
android:id="@+id/custom3Button"
android:contentDescription="@string/buttonDesc_custom3"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/custom2Button"
android:contentDescription="@string/buttonDesc_custom2"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/custom1Button"
android:contentDescription="@string/buttonDesc_custom1"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/modeButton"
android:contentDescription="@string/buttonDesc_mode"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/undoButton"
android:contentDescription="@string/buttonDesc_back"
android:layout_width="36dp"
android:layout_height="32dp" />
<ImageButton
android:id="@+id/redoButton"
android:contentDescription="@string/buttonDesc_forward"
android:layout_width="36dp"
android:layout_height="32dp" />
</LinearLayout>
<TextView
android:id="@+id/status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp" />
<view
class="org.petero.droidfish.view.MyRelativeLayout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:id="@+id/scrollView"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<view
class="org.petero.droidfish.view.MoveListView"
android:id="@+id/moveList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:padding="0dp" />
</ScrollView>
<view
class="org.petero.droidfish.view.MoveListView"
android:id="@+id/moveList"
class="org.petero.droidfish.view.MyScrollView"
android:id="@+id/scrollViewBot"
android:layout_alignParentBottom="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:padding="0dp"/>
</ScrollView>
<view
class="org.petero.droidfish.view.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:tag="thinking"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp"/>
android:layout_height="wrap_content">
<TextView
android:id="@+id/thinking"
android:tag="thinking"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:fontFamily="monospace"
android:typeface="monospace"
android:textSize="12sp" />
</view>
</view>
</view>
</LinearLayout>
<view
class="org.petero.droidfish.ChessBoardPlay"
android:id="@+id/chessboard"
android:layout_weight="0"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
<view
class="org.petero.droidfish.ChessBoardPlay"
android:id="@+id/chessboard"
android:layout_weight="0"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
</LinearLayout>
<include layout="@layout/left_drawer"/>
<include layout="@layout/right_drawer"/>
<include layout="@layout/left_drawer" />
<include layout="@layout/right_drawer" />
</androidx.drawerlayout.widget.DrawerLayout>

View File

@ -3,42 +3,44 @@
android:orientation="vertical"
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:padding="10dp">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:paddingRight="10dp"
android:text="@string/host_name">
</TextView>
android:text="@string/host_name" />
<EditText
android:id="@+id/network_engine_host"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_weight="1"
android:inputType="text">
</EditText>
android:inputType="text" />
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="10dp">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:paddingRight="10dp"
android:text="@string/network_port">
</TextView>
android:text="@string/network_port" />
<EditText
android:id="@+id/network_engine_port"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_weight="1"
android:inputType="number">
</EditText>
android:inputType="number" />
</LinearLayout>
</LinearLayout>

View File

@ -1,18 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<EditText
android:id="@+id/numvar_edittext"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="number">
</EditText>
android:inputType="number" />
<SeekBar
android:id="@+id/numvar_seekbar"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</SeekBar>
android:layout_height="wrap_content" />
</LinearLayout>

View File

@ -37,9 +37,7 @@
android:textSize="12dp"
android:textStyle="italic"
android:typeface="monospace" />
</LinearLayout>
</LinearLayout>
<SeekBar
@ -52,7 +50,5 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" />
</LinearLayout>
</layout>

View File

@ -26,7 +26,5 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:focusable="false" />
</LinearLayout>
</layout>

View File

@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp"
android:textSize="14sp">
</TextView>
android:textSize="14sp"></TextView>

View File

@ -18,7 +18,5 @@
android:layout_width="100dip"
android:layout_height="wrap_content"
android:inputType="numberDecimal" />
</LinearLayout>
</layout>

View File

@ -8,7 +8,8 @@
android:paddingRight="2dp"
android:paddingBottom="4dp"
android:orientation="vertical"
android:tag="title" >
android:tag="title">
<LinearLayout
android:id="@+id/first_title_line"
android:layout_width="fill_parent"
@ -16,7 +17,8 @@
android:layout_gravity="center_vertical"
android:layout_marginTop="2dp"
android:orientation="horizontal"
android:tag="title" >
android:tag="title">
<TextView
android:id="@+id/white_clock"
style="?android:attr/windowTitleStyle"
@ -31,8 +33,8 @@
android:scrollHorizontally="false"
android:singleLine="true"
android:textSize="14sp"
android:tag="title" >
</TextView>
android:tag="title" />
<TextView
android:id="@+id/title_text"
style="?android:attr/windowTitleStyle"
@ -42,8 +44,8 @@
android:gravity="center"
android:textSize="14sp"
android:tag="title"
android:text="@string/app_name">
</TextView>
android:text="@string/app_name" />
<TextView
android:id="@+id/black_clock"
style="?android:attr/windowTitleStyle"
@ -58,9 +60,9 @@
android:scrollHorizontally="true"
android:singleLine="true"
android:textSize="14sp"
android:tag="title" >
</TextView>
android:tag="title" />
</LinearLayout>
<LinearLayout
android:id="@+id/second_title_line"
android:orientation="horizontal"
@ -68,7 +70,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginBottom="-4dp"
android:tag="title" >
android:tag="title">
<TextView
android:id="@+id/white_pieces"
style="?android:attr/windowTitleStyle"
@ -84,8 +87,8 @@
android:tag="title"
android:textSize="14sp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold">
</TextView>
android:textStyle="bold" />
<TextView
android:id="@+id/title_text_summary"
style="?android:attr/windowTitleStyle"
@ -95,8 +98,8 @@
android:gravity="center|center_vertical"
android:tag="title"
android:textSize="14sp"
android:text="">
</TextView>
android:text="" />
<TextView
android:id="@+id/black_pieces"
style="?android:attr/windowTitleStyle"
@ -113,7 +116,6 @@
android:tag="title"
android:textSize="14sp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold">
</TextView>
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>

View File

@ -6,11 +6,6 @@
android:layout_height="match_parent"
android:orientation="vertical">
<!--<View-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="5dp"-->
<!--android:background="@drawable/shadow_upward" />-->
<LinearLayout
android:id="@+id/toolTip_container"
android:layout_width="match_parent"
@ -37,9 +32,6 @@
android:gravity="center"
android:text="Default Description"
android:textColor="@color/White" />
</LinearLayout>
</LinearLayout>
</layout>

View File

@ -5,5 +5,4 @@
android:id="@+id/eo_label"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</layout>

View File

@ -5,5 +5,4 @@
android:id="@+id/eo_value"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</layout>

View File

@ -15,7 +15,5 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout>
</layout>

View File

@ -16,7 +16,5 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="numberSigned" />
</LinearLayout>
</layout>

View File

@ -16,7 +16,5 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text" />
</LinearLayout>
</layout>

View File

@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android">
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/item_delete_file"
android:title="@string/delete_file">
</item>
android:title="@string/delete_file" />
</menu>

View File

@ -1,39 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="FloatingActionButton">
<attr name="fab_colorPressed" format="color"/>
<attr name="fab_colorDisabled" format="color"/>
<attr name="fab_colorNormal" format="color"/>
<attr name="fab_icon" format="reference"/>
<attr name="fab_colorPressed" format="color" />
<attr name="fab_colorDisabled" format="color" />
<attr name="fab_colorNormal" format="color" />
<attr name="fab_icon" format="reference" />
<attr name="fab_size" format="enum">
<enum name="normal" value="0"/>
<enum name="mini" value="1"/>
<enum name="normal" value="0" />
<enum name="mini" value="1" />
</attr>
<attr name="fab_title" format="string"/>
<attr name="fab_stroke_visible" format="boolean"/>
<attr name="fab_title" format="string" />
<attr name="fab_stroke_visible" format="boolean" />
</declare-styleable>
<declare-styleable name="AddFloatingActionButton">
<attr name="fab_plusIconColor" format="color"/>
<attr name="fab_plusIconColor" format="color" />
</declare-styleable>
<declare-styleable name="FloatingActionsMenu">
<attr name="fab_addButtonColorPressed" format="color"/>
<attr name="fab_addButtonColorNormal" format="color"/>
<attr name="fab_addButtonColorPressed" format="color" />
<attr name="fab_addButtonColorNormal" format="color" />
<attr name="fab_addButtonSize" format="enum">
<enum name="normal" value="0"/>
<enum name="mini" value="1"/>
<enum name="normal" value="0" />
<enum name="mini" value="1" />
</attr>
<attr name="fab_addButtonPlusIconColor" format="color"/>
<attr name="fab_addButtonStrokeVisible" format="boolean"/>
<attr name="fab_labelStyle" format="reference"/>
<attr name="fab_addButtonPlusIconColor" format="color" />
<attr name="fab_addButtonStrokeVisible" format="boolean" />
<attr name="fab_labelStyle" format="reference" />
<attr name="fab_labelsPosition" format="enum">
<enum name="left" value="0"/>
<enum name="right" value="1"/>
<enum name="left" value="0" />
<enum name="right" value="1" />
</attr>
<attr name="fab_expandDirection" format="enum">
<enum name="up" value="0"/>
<enum name="down" value="1"/>
<enum name="left" value="2"/>
<enum name="right" value="3"/>
<enum name="up" value="0" />
<enum name="down" value="1" />
<enum name="left" value="2" />
<enum name="right" value="3" />
</attr>
</declare-styleable>
</resources>

View File

@ -1,17 +1,12 @@
<resources>
<dimen name="fab_size_normal">56dp</dimen>
<dimen name="fab_size_mini">40dp</dimen>
<dimen name="fab_icon_size">24dp</dimen>
<dimen name="fab_plus_icon_size">14dp</dimen>
<dimen name="fab_plus_icon_stroke">2dp</dimen>
<dimen name="fab_shadow_offset">3dp</dimen>
<dimen name="fab_shadow_radius">9dp</dimen>
<dimen name="fab_stroke_width">1dp</dimen>
<dimen name="fab_actions_spacing">16dp</dimen>
<dimen name="fab_labels_margin">8dp</dimen>
</resources>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="fab_expand_menu_button" type="id"/>
<item name="fab_label" type="id"/>
<item name="fab_expand_menu_button" type="id" />
<item name="fab_label" type="id" />
</resources>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="Theme.AppCompat">
<item name="colorPrimary">#000000</item>
<item name="colorPrimaryDark">#000000</item>