diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 01:42:27 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 01:42:27 +0200 |
commit | cc13cbbe3d3a95735ca037f7382ffbcc90e7a80d (patch) | |
tree | ad2a02af47948c0f92d381a9c9d33c7d925d5f61 /res/layout/main.xml | |
parent | Android: I'm probably using a lot of bad practices, but the app looks somewhat better now and polls the server status (diff) | |
download | cuberite-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 '')
-rw-r--r-- | res/layout/main.xml | 23 |
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 |