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"?>
<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_height="wrap_content"
android:padding="10dp">
<TextView
android:layout_height="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_width="0dp"
android:layout_weight="1"
android:inputType="text">
</EditText>
</LinearLayout>
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/filename">
</TextView>
<EditText
android:id="@+id/create_pgn_filename"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_weight="1"
android:inputType="text">
</EditText>
</LinearLayout>

View File

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

View File

@ -3,96 +3,95 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1"
android:padding="10dp">
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_event">
</TextView>
<EditText
android:id="@+id/ed_header_event"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_site">
</TextView>
<EditText
android:id="@+id/ed_header_site"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_date">
</TextView>
<EditText
android:id="@+id/ed_header_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_round"
android:paddingRight="10dp">
</TextView>
<EditText
android:id="@+id/ed_header_round"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_white">
</TextView>
<EditText
android:id="@+id/ed_header_white"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_black">
</TextView>
<EditText
android:id="@+id/ed_header_black"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
</TableLayout>
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1"
android:padding="10dp">
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_event">
</TextView>
<EditText
android:id="@+id/ed_header_event"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_site">
</TextView>
<EditText
android:id="@+id/ed_header_site"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_date">
</TextView>
<EditText
android:id="@+id/ed_header_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_round"
android:paddingRight="10dp">
</TextView>
<EditText
android:id="@+id/ed_header_round"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_white">
</TextView>
<EditText
android:id="@+id/ed_header_white"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/header_black">
</TextView>
<EditText
android:id="@+id/ed_header_black"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_weight="1"
android:inputType="text">
</EditText>
</TableRow>
</TableLayout>
</ScrollView>

View File

@ -1,46 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
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>
<EditText
android:id="@+id/ed_cnt_halfmove"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:minEms="3"
android:inputType="number">
</EditText>
</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>
<EditText
android:id="@+id/ed_cnt_fullmove"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:minEms="3"
android:inputType="number">
</EditText>
</TableRow>
</TableLayout>
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>
<EditText
android:id="@+id/ed_cnt_halfmove"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:minEms="3"
android:inputType="number">
</EditText>
</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>
<EditText
android:id="@+id/ed_cnt_fullmove"
android:layout_height="wrap_content"
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_height="fill_parent">
<view
class="org.petero.droidfish.activities.ChessBoardEdit"
class="org.petero.droidfish.activities.ChessBoardEdit"
android:id="@+id/eb_chessboard"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
<TextView
android:text=""
android:id="@+id/eb_status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:typeface="monospace"
android:textSize="10dip"/>
<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="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
</Button>
<TextView
android:text=""
android:id="@+id/eb_status"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:typeface="monospace"
android:textSize="10dip"/>
<LinearLayout
android:orientation="horizontal"
android:id="@+id/LinearLayout02"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<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:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
</Button>
</LinearLayout>
</LinearLayout>
</LinearLayout>

View File

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

View File

@ -10,86 +10,86 @@
android:layout_weight="1"
android:layout_width="0dip"
android:layout_height="fill_parent">
<LinearLayout
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"
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/thinking"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android:typeface="monospace"
android:textSize="10dip"/>
</view>
<ScrollView
android:id="@+id/scrollView"
android:layout_above="@+id/scrollViewBot"
<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">
<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>
<view
class="org.petero.droidfish.MyScrollView"
android:id="@+id/scrollViewBot"
android:layout_alignParentBottom="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/thinking"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:includeFontPadding="true"
android: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>
<view
class="org.petero.droidfish.ChessBoard"

View File

@ -1,28 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
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"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:focusable="false">
</ListView>
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_height="fill_parent"
android:focusable="false">
</ListView>
</LinearLayout>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<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">
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>

View File

@ -1,24 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="10dp">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/move_number"
android:paddingRight="10dp">
</TextView>
<EditText
android:id="@+id/selmove_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minEms="3"
android:inputType="number">
</EditText>
</LinearLayout>
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="10dp">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/move_number"
android:paddingRight="10dp">
</TextView>
<EditText
android:id="@+id/selmove_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minEms="3"
android:inputType="number">
</EditText>
</LinearLayout>

View File

@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<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="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/value_percent"
android:paddingRight="10dp">
</TextView>
<EditText
android:id="@+id/selpercentage_number"
android:layout_width="100dip"
android:layout_height="wrap_content"
android:inputType="numberDecimal">
</EditText>
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/value_percent"
android:paddingRight="10dp">
</TextView>
<EditText
android:id="@+id/selpercentage_number"
android:layout_width="100dip"
android:layout_height="wrap_content"
android:inputType="numberDecimal">
</EditText>
</LinearLayout>

View File

@ -1,32 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical">
<TextView
style="?android:attr/windowTitleStyle"
android:id="@+id/white_clock"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical">
<TextView
style="?android:attr/windowTitleStyle"
android:id="@+id/white_clock"
android:layout_weight="1"
android:layout_width="fill_parent"
android:layout_width="fill_parent"
android:gravity="left"
android:layout_height="wrap_content">
</TextView>
<TextView
style="?android:attr/windowTitleStyle"
android:id="@+id/title_text"
android:layout_height="wrap_content">
</TextView>
<TextView
style="?android:attr/windowTitleStyle"
android:id="@+id/title_text"
android:layout_weight="1"
android:text="@string/app_name"
android:layout_width="fill_parent"
android:text="@string/app_name"
android:layout_width="fill_parent"
android:gravity="center"
android:layout_height="wrap_content">
</TextView>
<TextView
style="?android:attr/windowTitleStyle"
android:id="@+id/black_clock"
android:layout_height="wrap_content">
</TextView>
<TextView
style="?android:attr/windowTitleStyle"
android:id="@+id/black_clock"
android:layout_weight="1"
android:layout_width="fill_parent"
android:layout_width="fill_parent"
android:gravity="right"
android:layout_height="wrap_content">
</TextView>
android:layout_height="wrap_content">
</TextView>
</LinearLayout>