mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-26 21:47:23 +01:00
Reformat XML files
This commit is contained in:
parent
39d4c91bbd
commit
068b97ac85
|
@ -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,8 +13,7 @@
|
|||
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"
|
||||
|
@ -26,8 +24,7 @@
|
|||
android:id="@+id/color_picker_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:tag="landscape"
|
||||
/>
|
||||
android:tag="landscape" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -44,15 +41,13 @@
|
|||
android:layout_marginLeft="6dp"
|
||||
android:layout_marginRight="6dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
/>
|
||||
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"
|
||||
/>
|
||||
android:layout_weight="0.5" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
|
@ -61,16 +56,12 @@
|
|||
android:textSize="20sp"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="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"
|
||||
/>
|
||||
|
||||
android:layout_weight="0.5" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
|
@ -3,23 +3,26 @@
|
|||
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"
|
||||
|
||||
<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"
|
||||
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_width="fill_parent"
|
||||
|
@ -28,6 +31,7 @@
|
|||
android:background="#202020"
|
||||
android:orientation="horizontal"
|
||||
android:tag="title">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/white_clock"
|
||||
style="?android:attr/windowTitleStyle"
|
||||
|
@ -43,6 +47,7 @@
|
|||
android:scrollHorizontally="false"
|
||||
android:singleLine="true"
|
||||
android:tag="title" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_text_summary"
|
||||
style="?android:attr/windowTitleStyle"
|
||||
|
@ -53,6 +58,7 @@
|
|||
android:gravity="center"
|
||||
android:tag="title"
|
||||
android:text="@string/app_name" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/black_clock"
|
||||
style="?android:attr/windowTitleStyle"
|
||||
|
@ -69,6 +75,7 @@
|
|||
android:singleLine="true"
|
||||
android:tag="title" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:text=""
|
||||
android:id="@+id/eb_status"
|
||||
|
@ -78,11 +85,13 @@
|
|||
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"
|
||||
|
@ -90,25 +99,28 @@
|
|||
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>
|
||||
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"
|
||||
|
@ -117,6 +129,7 @@
|
|||
android:gravity="bottom"
|
||||
android:orientation="vertical"
|
||||
android:tag="title">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/white_pieces"
|
||||
style="?android:attr/windowTitleStyle"
|
||||
|
@ -132,6 +145,7 @@
|
|||
android:tag="title"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_text"
|
||||
style="?android:attr/windowTitleStyle"
|
||||
|
@ -141,6 +155,7 @@
|
|||
android:gravity="center|center_vertical"
|
||||
android:tag="title"
|
||||
android:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/black_pieces"
|
||||
style="?android:attr/windowTitleStyle"
|
||||
|
@ -161,5 +176,6 @@
|
|||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/left_drawer" />
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -3,16 +3,19 @@
|
|||
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"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
|
@ -20,54 +23,56 @@
|
|||
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>
|
||||
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:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/custom2Button"
|
||||
android:contentDescription="@string/buttonDesc_custom2"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/custom1Button"
|
||||
android:contentDescription="@string/buttonDesc_custom1"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/modeButton"
|
||||
android:contentDescription="@string/buttonDesc_mode"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/undoButton"
|
||||
android:contentDescription="@string/buttonDesc_back"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/redoButton"
|
||||
android:contentDescription="@string/buttonDesc_forward"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status"
|
||||
android:layout_width="fill_parent"
|
||||
|
@ -76,15 +81,18 @@
|
|||
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"
|
||||
|
@ -93,12 +101,14 @@
|
|||
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"
|
||||
|
@ -112,6 +122,8 @@
|
|||
</view>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/left_drawer" />
|
||||
|
||||
<include layout="@layout/right_drawer" />
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
/>
|
||||
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"
|
||||
/>
|
||||
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">
|
||||
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"
|
||||
/>
|
||||
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"
|
||||
/>
|
||||
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"
|
||||
/>
|
||||
|
||||
android:layout_weight="0.5" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
|
@ -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" />
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
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">
|
||||
</EditText>
|
||||
android:inputType="text" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/header_site">
|
||||
</TextView>
|
||||
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">
|
||||
</EditText>
|
||||
android:inputType="text" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/header_date">
|
||||
</TextView>
|
||||
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">
|
||||
</EditText>
|
||||
android:inputType="text" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/header_round"
|
||||
android:paddingRight="10dp">
|
||||
</TextView>
|
||||
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">
|
||||
</EditText>
|
||||
android:inputType="text" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/white">
|
||||
</TextView>
|
||||
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">
|
||||
</EditText>
|
||||
android:inputType="text" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/black">
|
||||
</TextView>
|
||||
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">
|
||||
</EditText>
|
||||
android:inputType="text" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/header_result">
|
||||
</TextView>
|
||||
android:text="@string/header_result" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/ed_game_result"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
</Spinner>
|
||||
android:layout_height="wrap_content" />
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
</ScrollView>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -3,23 +3,24 @@
|
|||
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"
|
||||
|
||||
<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>
|
||||
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">
|
||||
</view>
|
||||
android:layout_height="fill_parent" />
|
||||
|
||||
<TextView
|
||||
android:text=""
|
||||
android:id="@+id/eb_status"
|
||||
|
@ -28,28 +29,29 @@
|
|||
android:includeFontPadding="true"
|
||||
android:fontFamily="monospace"
|
||||
android:typeface="monospace"
|
||||
android:textSize="12sp">
|
||||
</TextView>
|
||||
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: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">
|
||||
</Button>
|
||||
android:layout_weight="1" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/left_drawer" />
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -3,27 +3,31 @@
|
|||
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>
|
||||
layout="@layout/title" />
|
||||
|
||||
<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"
|
||||
|
@ -33,58 +37,62 @@
|
|||
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>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/custom2Button"
|
||||
android:contentDescription="@string/buttonDesc_custom2"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/custom1Button"
|
||||
android:contentDescription="@string/buttonDesc_custom1"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/modeButton"
|
||||
android:contentDescription="@string/buttonDesc_mode"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/undoButton"
|
||||
android:contentDescription="@string/buttonDesc_back"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/redoButton"
|
||||
android:contentDescription="@string/buttonDesc_forward"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
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"
|
||||
|
@ -93,12 +101,14 @@
|
|||
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"
|
||||
|
@ -111,6 +121,8 @@
|
|||
</view>
|
||||
</view>
|
||||
</LinearLayout>
|
||||
|
||||
<include layout="@layout/left_drawer" />
|
||||
|
||||
<include layout="@layout/right_drawer" />
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
|
|
@ -3,11 +3,13 @@
|
|||
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"
|
||||
|
@ -15,54 +17,56 @@
|
|||
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>
|
||||
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:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/custom2Button"
|
||||
android:contentDescription="@string/buttonDesc_custom2"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/custom1Button"
|
||||
android:contentDescription="@string/buttonDesc_custom1"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/modeButton"
|
||||
android:contentDescription="@string/buttonDesc_mode"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/undoButton"
|
||||
android:contentDescription="@string/buttonDesc_back"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/redoButton"
|
||||
android:contentDescription="@string/buttonDesc_forward"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="32dp">
|
||||
</ImageButton>
|
||||
android:layout_height="32dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/status"
|
||||
android:layout_width="fill_parent"
|
||||
|
@ -71,15 +75,18 @@
|
|||
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"
|
||||
|
@ -88,12 +95,14 @@
|
|||
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"
|
||||
|
@ -106,6 +115,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</LinearLayout>
|
||||
|
||||
<view
|
||||
class="org.petero.droidfish.ChessBoardPlay"
|
||||
android:id="@+id/chessboard"
|
||||
|
@ -113,6 +123,8 @@
|
|||
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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -26,7 +26,5 @@
|
|||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:focusable="false" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</layout>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -18,7 +18,5 @@
|
|||
android:layout_width="100dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="numberDecimal" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</layout>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
android:paddingBottom="4dp"
|
||||
android:orientation="vertical"
|
||||
android:tag="title">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/first_title_line"
|
||||
android:layout_width="fill_parent"
|
||||
|
@ -17,6 +18,7 @@
|
|||
android:layout_marginTop="2dp"
|
||||
android:orientation="horizontal"
|
||||
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"
|
||||
|
@ -69,6 +71,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginBottom="-4dp"
|
||||
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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -5,5 +5,4 @@
|
|||
android:id="@+id/eo_label"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</layout>
|
||||
|
|
|
@ -5,5 +5,4 @@
|
|||
android:id="@+id/eo_value"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</layout>
|
||||
|
|
|
@ -15,7 +15,5 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</layout>
|
||||
|
|
|
@ -16,7 +16,5 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:inputType="numberSigned" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</layout>
|
||||
|
|
|
@ -16,7 +16,5 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:inputType="text" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</layout>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user