DroidFish: Don't use tab characters in xml files.

This commit is contained in:
Peter Osterlund
2012-08-26 18:53:07 +00:00
parent 157f0b6359
commit 7103e831ff
12 changed files with 434 additions and 447 deletions

View File

@@ -1,21 +1,21 @@
<?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: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/filename"> android:text="@string/filename">
</TextView> </TextView>
<EditText <EditText
android:id="@+id/create_pgn_filename" android:id="@+id/create_pgn_filename"
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> </EditText>
</LinearLayout> </LinearLayout>

View File

@@ -3,77 +3,74 @@
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>
<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>
</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:minLines="2" android:inputType="textMultiLine">
android:inputType="textMultiLine"> </EditText>
</EditText> </TableRow>
</TableRow> <TableRow>
<TextView
<TableRow> android:layout_width="wrap_content"
<TextView android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_gravity="center_vertical"
android:layout_height="wrap_content" android:text="@string/comment_move">
android:layout_gravity="center_vertical" </TextView>
android:text="@string/comment_move"> <LinearLayout
</TextView> android:orientation="horizontal"
<LinearLayout android:layout_width="fill_parent"
android:orientation="horizontal" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_weight="1">
android:layout_height="wrap_content" <EditText
android:layout_weight="1"> android:id="@+id/ed_comments_move"
<EditText android:layout_width="wrap_content"
android:id="@+id/ed_comments_move" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:lines="1"
android:layout_height="wrap_content" android:minEms="3"
android:lines="1" android:inputType="text"
android:minEms="3" android:enabled="false">
android:inputType="text" </EditText>
android:enabled="false"> <EditText
</EditText> android:id="@+id/ed_comments_nag"
<EditText android:layout_width="wrap_content"
android:id="@+id/ed_comments_nag" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:lines="1"
android:layout_height="wrap_content" android:minEms="3"
android:lines="1" android:inputType="text">
android:minEms="3" </EditText>
android:inputType="text"> </LinearLayout>
</EditText> </TableRow>
</LinearLayout> <TableRow>
</TableRow> <TextView
android:layout_width="wrap_content"
<TableRow> android:layout_height="wrap_content"
<TextView android:layout_gravity="center_vertical"
android:layout_width="wrap_content" android:text="@string/comment_after">
android:layout_height="wrap_content" </TextView>
android:layout_gravity="center_vertical" <EditText
android:text="@string/comment_after"> android:id="@+id/ed_comments_post"
</TextView> android:layout_width="wrap_content"
<EditText android:layout_height="wrap_content"
android:id="@+id/ed_comments_post" android:layout_weight="1"
android:layout_width="wrap_content" android:minLines="5"
android:layout_height="wrap_content" android:inputType="textMultiLine">
android:layout_weight="1" </EditText>
android:minLines="5" </TableRow>
android:inputType="textMultiLine"> </TableLayout>
</EditText> </ScrollView>
</TableRow>
</TableLayout>
</ScrollView>

View File

@@ -3,96 +3,95 @@
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>
<TableRow> <TextView
<TextView android:layout_width="wrap_content"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:text="@string/header_event">
android:text="@string/header_event"> </TextView>
</TextView> <EditText
<EditText android:id="@+id/ed_header_event"
android:id="@+id/ed_header_event" 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:inputType="text">
android:inputType="text"> </EditText>
</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:text="@string/header_site">
android:text="@string/header_site"> </TextView>
</TextView> <EditText
<EditText android:id="@+id/ed_header_site"
android:id="@+id/ed_header_site" 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:inputType="text">
android:inputType="text"> </EditText>
</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:text="@string/header_date">
android:text="@string/header_date"> </TextView>
</TextView> <EditText
<EditText android:id="@+id/ed_header_date"
android:id="@+id/ed_header_date" 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:inputType="text">
android:inputType="text"> </EditText>
</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:text="@string/header_round"
android:text="@string/header_round" android:paddingRight="10dp">
android:paddingRight="10dp"> </TextView>
</TextView> <EditText
<EditText android:id="@+id/ed_header_round"
android:id="@+id/ed_header_round" 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:inputType="text">
android:inputType="text"> </EditText>
</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:text="@string/header_white">
android:text="@string/header_white"> </TextView>
</TextView> <EditText
<EditText android:id="@+id/ed_header_white"
android:id="@+id/ed_header_white" 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:inputType="text">
android:inputType="text"> </EditText>
</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:text="@string/header_black">
android:text="@string/header_black"> </TextView>
</TextView> <EditText
<EditText android:id="@+id/ed_header_black"
android:id="@+id/ed_header_black" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:layout_width="wrap_content" android:layout_weight="1"
android:layout_weight="1" android:inputType="text">
android:inputType="text"> </EditText>
</EditText> </TableRow>
</TableRow> </TableLayout>
</TableLayout>
</ScrollView> </ScrollView>

View File

@@ -1,46 +1,40 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
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
android:layout_width="wrap_content"
<TextView android:layout_height="wrap_content"
android:layout_width="wrap_content" android:paddingRight="10dp"
android:layout_height="wrap_content" android:text="@string/halfmove">
android:paddingRight="10dp" </TextView>
android:text="@string/halfmove"> <EditText
</TextView> android:id="@+id/ed_cnt_halfmove"
android:layout_height="wrap_content"
<EditText android:layout_width="wrap_content"
android:id="@+id/ed_cnt_halfmove" android:minEms="3"
android:layout_height="wrap_content" android:inputType="number">
android:layout_width="wrap_content" </EditText>
android:minEms="3" </TableRow>
android:inputType="number"> <TableRow
</EditText> android:layout_width="fill_parent"
</TableRow> android:layout_height="wrap_content">
<TextView
<TableRow android:layout_width="wrap_content"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_height="wrap_content"> android:paddingRight="10dp"
android:text="@string/fullmove">
<TextView </TextView>
android:layout_width="wrap_content" <EditText
android:layout_height="wrap_content" android:id="@+id/ed_cnt_fullmove"
android:paddingRight="10dp" android:layout_height="wrap_content"
android:text="@string/fullmove"> android:layout_width="wrap_content"
</TextView> android:minEms="3"
android:inputType="number">
<EditText </EditText>
android:id="@+id/ed_cnt_fullmove" </TableRow>
android:layout_height="wrap_content" </TableLayout>
android:layout_width="wrap_content"
android:minEms="3"
android:inputType="number">
</EditText>
</TableRow>
</TableLayout>

View File

@@ -5,36 +5,36 @@
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent">
<view <view
class="org.petero.droidfish.activities.ChessBoardEdit" class="org.petero.droidfish.activities.ChessBoardEdit"
android:id="@+id/eb_chessboard" 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"/>
<TextView <TextView
android:text="" android:text=""
android:id="@+id/eb_status" 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:includeFontPadding="true" android:includeFontPadding="true"
android:typeface="monospace" android:typeface="monospace"
android:textSize="10dip"/> android:textSize="10dip"/>
<LinearLayout <LinearLayout
android:orientation="horizontal" android:orientation="horizontal"
android:id="@+id/LinearLayout02" android:id="@+id/LinearLayout02"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<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>
<Button <Button
android:text="@string/cancel" 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>
<Button
android:text="@string/cancel"
android:id="@+id/eb_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"> android:layout_weight="1">
</Button> </Button>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@@ -3,24 +3,24 @@
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">
<view <view
class="org.petero.droidfish.ChessBoard" class="org.petero.droidfish.ChessBoard"
android:id="@+id/chessboard" 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 <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:paddingTop="1dp"> android:paddingTop="1dp">
<TextView <TextView
android:id="@+id/status" android:id="@+id/status"
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"
android:includeFontPadding="true" android:includeFontPadding="true"
android:typeface="monospace" android:typeface="monospace"
android:textSize="10dip"/> android:textSize="10dip"/>
<ImageButton <ImageButton
android:id="@+id/custom3Button" android:id="@+id/custom3Button"
android:contentDescription="@string/buttonDesc_custom3" android:contentDescription="@string/buttonDesc_custom3"
@@ -33,7 +33,7 @@
android:layout_width="36dp" android:layout_width="36dp"
android:layout_height="32dp"> android:layout_height="32dp">
</ImageButton> </ImageButton>
<ImageButton <ImageButton
android:id="@+id/custom1Button" android:id="@+id/custom1Button"
android:contentDescription="@string/buttonDesc_custom1" android:contentDescription="@string/buttonDesc_custom1"
android:layout_width="36dp" android:layout_width="36dp"
@@ -45,19 +45,19 @@
android:layout_width="36dp" android:layout_width="36dp"
android:layout_height="32dp"> android:layout_height="32dp">
</ImageButton> </ImageButton>
<ImageButton <ImageButton
android:id="@+id/undoButton" android:id="@+id/undoButton"
android:contentDescription="@string/buttonDesc_back" android:contentDescription="@string/buttonDesc_back"
android:layout_width="36dp" android:layout_width="36dp"
android:layout_height="32dp"> android:layout_height="32dp">
</ImageButton> </ImageButton>
<ImageButton <ImageButton
android:id="@+id/redoButton" android:id="@+id/redoButton"
android:contentDescription="@string/buttonDesc_forward" android:contentDescription="@string/buttonDesc_forward"
android:layout_width="36dp" android:layout_width="36dp"
android:layout_height="32dp"> android:layout_height="32dp">
</ImageButton> </ImageButton>
</LinearLayout> </LinearLayout>
<RelativeLayout <RelativeLayout
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"
@@ -76,18 +76,18 @@
android:typeface="monospace" android:typeface="monospace"
android:textSize="10dip"/> android:textSize="10dip"/>
</view> </view>
<ScrollView <ScrollView
android:id="@+id/scrollView" android:id="@+id/scrollView"
android:layout_above="@+id/scrollViewBot" android:layout_above="@+id/scrollViewBot"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent">
<TextView <TextView
android:id="@+id/moveList" android:id="@+id/moveList"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:includeFontPadding="true" android:includeFontPadding="true"
android:typeface="monospace" android:typeface="monospace"
android:textSize="10dip"/> android:textSize="10dip"/>
</ScrollView> </ScrollView>
</RelativeLayout> </RelativeLayout>
</LinearLayout> </LinearLayout>

View File

@@ -10,86 +10,86 @@
android:layout_weight="1" android:layout_weight="1"
android:layout_width="0dip" android:layout_width="0dip"
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_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>
<TextView
android:id="@+id/status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:typeface="monospace"
android:textSize="10dip"/>
<RelativeLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<view
class="org.petero.droidfish.MyScrollView"
android:id="@+id/scrollViewBot"
android:layout_alignParentBottom="true"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView <ImageButton
android:id="@+id/thinking" android:id="@+id/custom3Button"
android:layout_width="fill_parent" android:contentDescription="@string/buttonDesc_custom3"
android:layout_height="wrap_content" android:layout_width="36dp"
android:includeFontPadding="true" android:layout_height="32dp">
android:typeface="monospace" </ImageButton>
android:textSize="10dip"/> <ImageButton
</view> android:id="@+id/custom2Button"
<ScrollView android:contentDescription="@string/buttonDesc_custom2"
android:id="@+id/scrollView" android:layout_width="36dp"
android:layout_above="@+id/scrollViewBot" 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:typeface="monospace"
android:textSize="10dip"/>
<RelativeLayout
android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent"> android:layout_height="fill_parent">
<TextView <view
android:id="@+id/moveList" class="org.petero.droidfish.MyScrollView"
android:layout_width="fill_parent" android:id="@+id/scrollViewBot"
android:layout_height="wrap_content" android:layout_alignParentBottom="true"
android:includeFontPadding="true" android:layout_width="fill_parent"
android:typeface="monospace" android:layout_height="wrap_content">
android:textSize="10dip"/> <TextView
</ScrollView> android:id="@+id/thinking"
</RelativeLayout> android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:typeface="monospace"
android:textSize="10dip"/>
</view>
<ScrollView
android:id="@+id/scrollView"
android:layout_above="@+id/scrollViewBot"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:id="@+id/moveList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:typeface="monospace"
android:textSize="10dip"/>
</ScrollView>
</RelativeLayout>
</LinearLayout> </LinearLayout>
<view <view
class="org.petero.droidfish.ChessBoard" class="org.petero.droidfish.ChessBoard"

View File

@@ -1,28 +1,28 @@
<?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_height="fill_parent"
android:orientation="vertical">
<TextView
android:id="@+id/select_game_hint"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true">
</TextView>
<EditText
android:id="@+id/select_game_filter"
android:hint="@string/filter_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:maxLines="1"
android:inputType="text"
android:layout_margin="10dp">
</EditText>
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:focusable="false"> android:orientation="vertical">
</ListView> <TextView
android:id="@+id/select_game_hint"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true">
</TextView>
<EditText
android:id="@+id/select_game_filter"
android:hint="@string/filter_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:maxLines="1"
android:inputType="text"
android:layout_margin="10dp">
</EditText>
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:focusable="false">
</ListView>
</LinearLayout> </LinearLayout>

View File

@@ -1,8 +1,8 @@
<?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

@@ -1,24 +1,21 @@
<?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="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal" android:orientation="horizontal"
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:text="@string/move_number"
android:text="@string/move_number" android:paddingRight="10dp">
android:paddingRight="10dp"> </TextView>
</TextView> <EditText
android:id="@+id/selmove_number"
<EditText android:layout_width="wrap_content"
android:id="@+id/selmove_number" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:minEms="3"
android:layout_height="wrap_content" android:inputType="number">
android:minEms="3" </EditText>
android:inputType="number"> </LinearLayout>
</EditText>
</LinearLayout>

View File

@@ -1,20 +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:orientation="horizontal"
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">
<TextView <TextView
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:text="@string/value_percent" android:text="@string/value_percent"
android:paddingRight="10dp"> android:paddingRight="10dp">
</TextView> </TextView>
<EditText <EditText
android:id="@+id/selpercentage_number" android:id="@+id/selpercentage_number"
android:layout_width="100dip" android:layout_width="100dip"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="numberDecimal"> android:inputType="numberDecimal">
</EditText> </EditText>
</LinearLayout> </LinearLayout>

View File

@@ -1,32 +1,32 @@
<?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="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"> android:layout_gravity="center_vertical">
<TextView <TextView
style="?android:attr/windowTitleStyle" style="?android:attr/windowTitleStyle"
android:id="@+id/white_clock" android:id="@+id/white_clock"
android:layout_weight="1" android:layout_weight="1"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:gravity="left" android:gravity="left"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
</TextView> </TextView>
<TextView <TextView
style="?android:attr/windowTitleStyle" style="?android:attr/windowTitleStyle"
android:id="@+id/title_text" android:id="@+id/title_text"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/app_name" android:text="@string/app_name"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:gravity="center" android:gravity="center"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
</TextView> </TextView>
<TextView <TextView
style="?android:attr/windowTitleStyle" style="?android:attr/windowTitleStyle"
android:id="@+id/black_clock" android:id="@+id/black_clock"
android:layout_weight="1" android:layout_weight="1"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:gravity="right" android:gravity="right"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
</TextView> </TextView>
</LinearLayout> </LinearLayout>