summaryrefslogtreecommitdiffstats
path: root/res/layout/main.xml
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-18 23:00:51 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-18 23:00:51 +0200
commitb6138129e668681d2c16146dea3d66b0ea2f0381 (patch)
tree0888a6d4f115fd02ba1ea65c944a4daca1eda85e /res/layout/main.xml
parentChat packet handled in the new way; fixed missing packet sending for inventory slot. (diff)
downloadcuberite-b6138129e668681d2c16146dea3d66b0ea2f0381.tar
cuberite-b6138129e668681d2c16146dea3d66b0ea2f0381.tar.gz
cuberite-b6138129e668681d2c16146dea3d66b0ea2f0381.tar.bz2
cuberite-b6138129e668681d2c16146dea3d66b0ea2f0381.tar.lz
cuberite-b6138129e668681d2c16146dea3d66b0ea2f0381.tar.xz
cuberite-b6138129e668681d2c16146dea3d66b0ea2f0381.tar.zst
cuberite-b6138129e668681d2c16146dea3d66b0ea2f0381.zip
Diffstat (limited to 'res/layout/main.xml')
-rw-r--r--res/layout/main.xml36
1 files changed, 35 insertions, 1 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml
index e24cd5f23..b270bca03 100644
--- a/res/layout/main.xml
+++ b/res/layout/main.xml
@@ -2,12 +2,46 @@
<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/textView1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
+ <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" />
+
+ <Button
+ android:id="@+id/start_server"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/start" />
+
+ <Button
+ android:id="@+id/stop_server"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:enabled="true"
+ android:text="@string/stop" />
+
+ <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" />
+
</LinearLayout> \ No newline at end of file