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,76 +1,67 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 Daniel Nilsson
<!-- Copyright (C) 2010 Daniel Nilsson
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License. You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and
See the License for the specific language governing permissions and limitations under the License.
limitations under the License. -->
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout android:layout_width="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:paddingLeft="5dp"
android:layout_height="wrap_content" android:paddingRight="5dp"
android:paddingLeft="5dp" android:orientation="horizontal">
android:paddingRight="5dp"
android:orientation="horizontal"> <net.margaritov.preference.colorpicker.ColorPickerView
android:id="@+id/color_picker_view"
<net.margaritov.preference.colorpicker.ColorPickerView android:layout_width="wrap_content"
android:id="@+id/color_picker_view" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:tag="landscape" />
android:layout_height="wrap_content"
android:tag="landscape" <LinearLayout
/> android:layout_width="wrap_content"
android:layout_height="wrap_content"
<LinearLayout android:orientation="vertical"
android:layout_width="wrap_content" android:layout_marginBottom="10dp">
android:layout_height="wrap_content"
android:orientation="vertical" <TextView
android:layout_marginBottom="10dp"> android:layout_width="wrap_content"
android:layout_height="wrap_content"
<TextView android:text="@string/press_color_to_apply"
android:layout_width="wrap_content" android:gravity="center"
android:layout_height="wrap_content" android:layout_marginTop="6dp"
android:text="@string/press_color_to_apply" android:layout_marginLeft="6dp"
android:gravity="center" android:layout_marginRight="6dp"
android:layout_marginTop="6dp" android:layout_marginBottom="5dp"
android:layout_marginLeft="6dp" android:textAppearance="?android:attr/textAppearanceSmall" />
android:layout_marginRight="6dp"
android:layout_marginBottom="5dp" <net.margaritov.preference.colorpicker.ColorPickerPanelView
android:textAppearance="?android:attr/textAppearanceSmall" android:id="@+id/old_color_panel"
/> android:layout_width="fill_parent"
android:layout_height="40dp"
<net.margaritov.preference.colorpicker.ColorPickerPanelView android:layout_weight="0.5" />
android:id="@+id/old_color_panel"
android:layout_width="fill_parent" <TextView
android:layout_height="40dp" android:layout_width="fill_parent"
android:layout_weight="0.5" android:layout_height="wrap_content"
/> android:text="↓"
android:textSize="20sp"
<TextView android:gravity="center"
android:layout_width="fill_parent" android:layout_marginTop="10dp"
android:layout_height="wrap_content" android:layout_marginBottom="10dp" />
android:text="↓"
android:textSize="20sp" <net.margaritov.preference.colorpicker.ColorPickerPanelView
android:gravity="center" android:id="@+id/new_color_panel"
android:layout_marginTop="10dp" android:layout_width="fill_parent"
android:layout_marginBottom="10dp" android:layout_height="40dp"
/> android:layout_weight="0.5" />
</LinearLayout>
<net.margaritov.preference.colorpicker.ColorPickerPanelView </LinearLayout>
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:id="@+id/drawer_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main" android:id="@+id/main"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<view
android:id="@+id/eb_chessboard"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent">
class="org.petero.droidfish.activities.ChessBoardEdit"/>
<LinearLayout <view
android:layout_width="fill_parent" android:id="@+id/eb_chessboard"
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_width="fill_parent" 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:layout_gravity="center_vertical"
android:background="#202020" android:orientation="vertical"
android:orientation="horizontal" android:paddingLeft="2dp">
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" >
<LinearLayout <LinearLayout
android:id="@+id/second_title_line" android:id="@+id/first_title_line"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:background="#202020" android:background="#202020"
android:gravity="bottom" android:orientation="horizontal"
android:orientation="vertical" android:tag="title">
android:tag="title" >
<TextView <TextView
android:id="@+id/white_pieces" android:id="@+id/white_clock"
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" style="?android:attr/windowTitleStyle"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_marginTop="2dp"
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:layout_weight="1"
android:ellipsize="marquee" android:ellipsize="marquee"
android:focusable="true" android:focusable="true"
android:focusableInTouchMode="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:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true" android:scrollHorizontally="true"
android:singleLine="true" android:singleLine="true"
android:tag="title" android:tag="title" />
android:textAppearance="?android:attr/textAppearanceMedium" </LinearLayout>
android:textStyle="bold" />
<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>
</LinearLayout> </LinearLayout>
</LinearLayout>
<include layout="@layout/left_drawer"/> <include layout="@layout/left_drawer" />
</androidx.drawerlayout.widget.DrawerLayout> </androidx.drawerlayout.widget.DrawerLayout>

View File

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

View File

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

View File

@ -3,115 +3,127 @@
android:id="@+id/drawer_layout" android:id="@+id/drawer_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:id="@+id/main"
android:layout_width="fill_parent" android:orientation="horizontal"
android:layout_height="fill_parent">
<view
class="org.petero.droidfish.ChessBoardPlay"
android:id="@+id/chessboard"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="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"/>
<view <view
class="org.petero.droidfish.view.MyRelativeLayout" class="org.petero.droidfish.ChessBoardPlay"
android:orientation="vertical" android:id="@+id/chessboard"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent" />
<ScrollView
android:id="@+id/scrollView" <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_width="fill_parent"
android:layout_height="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 <view
class="org.petero.droidfish.view.MoveListView" class="org.petero.droidfish.view.MyScrollView"
android:id="@+id/moveList" android:id="@+id/scrollViewBot"
android:layout_width="fill_parent" android:layout_alignParentBottom="true"
android:layout_height="wrap_content" android:layout_width="fill_parent"
android:includeFontPadding="true" android:layout_height="wrap_content">
android:padding="0dp"/>
</ScrollView> <TextView
<view android:id="@+id/thinking"
class="org.petero.droidfish.view.MyScrollView" android:tag="thinking"
android:id="@+id/scrollViewBot" android:layout_width="fill_parent"
android:layout_alignParentBottom="true" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:includeFontPadding="true"
android:layout_height="wrap_content"> android:fontFamily="monospace"
<TextView android:typeface="monospace"
android:id="@+id/thinking" android:textSize="12sp" />
android:tag="thinking" </view>
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>
</LinearLayout>
<include layout="@layout/left_drawer"/> <include layout="@layout/left_drawer" />
<include layout="@layout/right_drawer"/>
<include layout="@layout/right_drawer" />
</androidx.drawerlayout.widget.DrawerLayout> </androidx.drawerlayout.widget.DrawerLayout>

View File

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

View File

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

View File

@ -1,77 +1,68 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 Daniel Nilsson
<!-- Copyright (C) 2010 Daniel Nilsson
Licensed under the Apache License, Version 2.0 (the "License");
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
you may not use this file except in compliance with the License. You may obtain a copy of the License at
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and
See the License for the specific language governing permissions and limitations under the License.
limitations under the License. -->
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout android:layout_width="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:orientation="vertical"
android:layout_height="wrap_content" android:paddingLeft="5dp"
android:paddingLeft="5dp" android:paddingRight="5dp">
android:paddingRight="5dp"
android:orientation="vertical"> <net.margaritov.preference.colorpicker.ColorPickerView
android:id="@+id/color_picker_view"
<net.margaritov.preference.colorpicker.ColorPickerView android:layout_width="wrap_content"
android:id="@+id/color_picker_view" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_centerHorizontal="true"
android:layout_height="wrap_content" android:tag="portrait" />
android:layout_centerHorizontal="true"
android:tag="portrait" <TextView
/> android:layout_width="wrap_content"
android:layout_height="wrap_content"
<TextView android:layout_marginLeft="6dp"
android:layout_width="wrap_content" android:layout_marginRight="6dp"
android:layout_height="wrap_content" android:layout_marginBottom="5dp"
android:text="@string/press_color_to_apply" android:gravity="left"
android:gravity="left" android:text="@string/press_color_to_apply"
android:layout_marginLeft="6dp" android:textAppearance="?android:attr/textAppearanceSmall" />
android:layout_marginRight="6dp"
android:layout_marginBottom="5dp" <LinearLayout
android:textAppearance="?android:attr/textAppearanceSmall" android:layout_width="wrap_content"
/> android:layout_height="40dp"
android:layout_below="@id/color_picker_view"
<LinearLayout android:layout_marginBottom="10dp"
android:layout_width="wrap_content" android:orientation="horizontal">
android:layout_height="40dp"
android:orientation="horizontal" <net.margaritov.preference.colorpicker.ColorPickerPanelView
android:layout_below="@id/color_picker_view" android:id="@+id/old_color_panel"
android:layout_marginBottom="10dp"> android:layout_width="0px"
android:layout_height="fill_parent"
<net.margaritov.preference.colorpicker.ColorPickerPanelView android:layout_weight="0.5" />
android:id="@+id/old_color_panel"
android:layout_width="0px" <TextView
android:layout_height="fill_parent" android:layout_width="wrap_content"
android:layout_weight="0.5" android:layout_height="fill_parent"
/> android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
<TextView android:gravity="center"
android:layout_width="wrap_content" android:text="→"
android:layout_height="fill_parent" android:textSize="20sp" />
android:text="→"
android:textSize="20sp" <net.margaritov.preference.colorpicker.ColorPickerPanelView
android:gravity="center" android:id="@+id/new_color_panel"
android:layout_marginLeft="10dp" android:layout_width="0px"
android:layout_marginRight="10dp" android:layout_height="wrap_content"
/> android:layout_weight="0.5" />
</LinearLayout>
<net.margaritov.preference.colorpicker.ColorPickerPanelView </LinearLayout>
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"?> <?xml version="1.0" encoding="utf-8"?>
<TextView <TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:padding="12dp" android:padding="12dp"
android:textColor="#FFBEBEBE" android:textColor="#FFBEBEBE"
android:textSize="20sp"> android:textSize="20sp" />
</TextView>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,114 +3,126 @@
android:id="@+id/drawer_layout" android:id="@+id/drawer_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:id="@+id/main"
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"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent">
<ScrollView
android:id="@+id/scrollView" <include
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="wrap_content"
<view layout="@layout/title" />
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 <view
class="org.petero.droidfish.view.MyScrollView" class="org.petero.droidfish.ChessBoardPlay"
android:id="@+id/scrollViewBot" android:id="@+id/chessboard"
android:layout_alignParentBottom="true"
android:layout_width="fill_parent" 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 <TextView
android:id="@+id/thinking" android:id="@+id/status"
android:tag="thinking" android:layout_width="0dp"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:layout_weight="1"
android:includeFontPadding="true" android:includeFontPadding="true"
android:fontFamily="monospace" android:fontFamily="monospace"
android:typeface="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>
</view> </LinearLayout>
</LinearLayout>
<include layout="@layout/left_drawer"/> <include layout="@layout/left_drawer" />
<include layout="@layout/right_drawer"/>
<include layout="@layout/right_drawer" />
</androidx.drawerlayout.widget.DrawerLayout> </androidx.drawerlayout.widget.DrawerLayout>

View File

@ -3,116 +3,128 @@
android:id="@+id/drawer_layout" android:id="@+id/drawer_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:id="@+id/main"
android:layout_width="fill_parent" android:orientation="horizontal"
android:layout_height="fill_parent"> android:layout_width="fill_parent"
<LinearLayout android:layout_height="fill_parent">
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 <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:orientation="vertical"
android:layout_width="fill_parent" android:layout_marginRight="2dp"
android:layout_height="fill_parent"> android:layout_weight="1"
<ScrollView android:layout_width="0dip"
android:id="@+id/scrollView" 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_width="fill_parent"
android:layout_height="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 <view
class="org.petero.droidfish.view.MoveListView" class="org.petero.droidfish.view.MyScrollView"
android:id="@+id/moveList" android:id="@+id/scrollViewBot"
android:layout_width="fill_parent" android:layout_alignParentBottom="true"
android:layout_height="wrap_content" android:layout_width="fill_parent"
android:includeFontPadding="true" android:layout_height="wrap_content">
android:padding="0dp"/>
</ScrollView> <TextView
<view android:id="@+id/thinking"
class="org.petero.droidfish.view.MyScrollView" android:tag="thinking"
android:id="@+id/scrollViewBot" android:layout_width="fill_parent"
android:layout_alignParentBottom="true" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:includeFontPadding="true"
android:layout_height="wrap_content"> android:fontFamily="monospace"
<TextView android:typeface="monospace"
android:id="@+id/thinking" android:textSize="12sp" />
android:tag="thinking" </view>
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> </LinearLayout>
<view
class="org.petero.droidfish.ChessBoardPlay" <include layout="@layout/left_drawer" />
android:id="@+id/chessboard"
android:layout_weight="0" <include layout="@layout/right_drawer" />
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
</LinearLayout>
<include layout="@layout/left_drawer"/>
<include layout="@layout/right_drawer"/>
</androidx.drawerlayout.widget.DrawerLayout> </androidx.drawerlayout.widget.DrawerLayout>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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