diff options
Diffstat (limited to 'Android/res')
-rw-r--r-- | Android/res/layout/main.xml | 114 | ||||
-rw-r--r-- | Android/res/values/strings.xml | 14 |
2 files changed, 64 insertions, 64 deletions
diff --git a/Android/res/layout/main.xml b/Android/res/layout/main.xml index 1895e2752..4ff238d80 100644 --- a/Android/res/layout/main.xml +++ b/Android/res/layout/main.xml @@ -1,61 +1,61 @@ -<?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:gravity="center_horizontal"
- android:orientation="vertical" >
+<?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:gravity="center_horizontal" + android:orientation="vertical" > + + <TextView + android:id="@+id/textView2" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/app_name" + android:textAppearance="?android:attr/textAppearanceLarge" /> - <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/app_name"
- android:textAppearance="?android:attr/textAppearanceLarge" />
+ <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" > - <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
-
- <Button
- android:id="@+id/stop_server"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:enabled="true"
- android:text="@string/stop" />
+ <Button + android:id="@+id/stop_server" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:enabled="true" + android:text="@string/stop" /> +
+ <Button + android:id="@+id/start_server" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/start" /> - <Button
- android:id="@+id/start_server"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/start" />
-
- <Button
- android:id="@+id/configure_server"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/configure" />
-
- </LinearLayout>
-
- <TextView
- android:id="@+id/server_status_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/mcserver_is_not_running"
- android:textAppearance="?android:attr/textAppearanceMedium" />
-
- <TextView
- android:id="@+id/ip_address"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/your_ip" />
- <ListView
- android:id="@+id/listView1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- </ListView>
-
+ <Button + android:id="@+id/configure_server" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/configure" /> + + </LinearLayout> + + <TextView + android:id="@+id/server_status_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/mcserver_is_not_running" + android:textAppearance="?android:attr/textAppearanceMedium" /> + + <TextView + android:id="@+id/ip_address" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/your_ip" /> + <ListView + android:id="@+id/listView1" + android:layout_width="match_parent" + android:layout_height="wrap_content" > + </ListView> + </LinearLayout>
\ No newline at end of file diff --git a/Android/res/values/strings.xml b/Android/res/values/strings.xml index aa5978dc0..9eb81d653 100644 --- a/Android/res/values/strings.xml +++ b/Android/res/values/strings.xml @@ -1,13 +1,13 @@ -<?xml version="1.0" encoding="utf-8"?>
-<resources>
-
- <string name="hello">Hello World, MCServerActivity!</string>
+<?xml version="1.0" encoding="utf-8"?> +<resources> + + <string name="hello">Hello World, MCServerActivity!</string> <string name="app_name">MCServer</string> <string name="start">Start</string> <string name="stop">Stop</string> <string name="mcserver_is_running">MCServer is running</string> <string name="mcserver_is_not_running">MCServer is not running</string> - <string name="your_ip">Your IP …</string>
- <string name="configure">Configure</string>
-
+ <string name="your_ip">Your IP …</string> + <string name="configure">Configure</string> + </resources>
\ No newline at end of file |