summaryrefslogtreecommitdiffstats
path: root/res/layout/main.xml
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-19 01:42:27 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-19 01:42:27 +0200
commitcc13cbbe3d3a95735ca037f7382ffbcc90e7a80d (patch)
treead2a02af47948c0f92d381a9c9d33c7d925d5f61 /res/layout/main.xml
parentAndroid: I'm probably using a lot of bad practices, but the app looks somewhat better now and polls the server status (diff)
downloadcuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.gz
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.bz2
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.lz
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.xz
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.tar.zst
cuberite-cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d.zip
Diffstat (limited to 'res/layout/main.xml')
-rw-r--r--res/layout/main.xml23
1 files changed, 12 insertions, 11 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml
index b270bca03..c6fe79b09 100644
--- a/res/layout/main.xml
+++ b/res/layout/main.xml
@@ -6,42 +6,43 @@
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" />
-
+ 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" />
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.73"
+ android:text="@string/hello" />
+
</LinearLayout> \ No newline at end of file