aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-03-12 22:31:50 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-03-12 22:31:50 +0100
commiteadebeb77cbc4f5b49d484b8a64058630385afe6 (patch)
tree5a5150b25d274b2e4bdce2b643792f69e7f4be38 /res/layout
parentc67238562ae2228efbe96225b23b2a297aea8f2f (diff)
added server info and deal with thi 'connecting...' bug
Diffstat (limited to '')
-rw-r--r--res/layout/server_info.xml79
1 files changed, 79 insertions, 0 deletions
diff --git a/res/layout/server_info.xml b/res/layout/server_info.xml
new file mode 100644
index 00000000..be317f9e
--- /dev/null
+++ b/res/layout/server_info.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="match_parent"
+ android:padding="8dp" >
+
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Connection age"
+ android:textSize="18sp"/>
+
+ <TextView
+ android:id="@+id/connection"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBaseline="@+id/textView1"
+ android:layout_alignBottom="@+id/textView1"
+ android:layout_alignParentRight="true"
+ android:textSize="18sp"/>
+
+ <TextView
+ android:id="@+id/textView2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@+id/textView1"
+ android:text="Session age"
+ android:textSize="18sp"/>
+
+ <TextView
+ android:id="@+id/session"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBaseline="@+id/textView2"
+ android:layout_alignBottom="@+id/textView2"
+ android:layout_alignParentRight="true"
+ android:textSize="18sp"/>
+
+ <TextView
+ android:id="@+id/textView3"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_below="@+id/textView2"
+ android:text="Packets sent"
+ android:textSize="18sp"/>
+
+ <TextView
+ android:id="@+id/pcks_sent"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBaseline="@+id/textView3"
+ android:layout_alignBottom="@+id/textView3"
+ android:layout_alignParentRight="true"
+ android:textSize="18sp"/>
+
+
+ <TextView
+ android:id="@+id/textView4"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/textView3"
+ android:text="Packets received"
+ android:textSize="18sp"/>
+
+
+
+ <TextView
+ android:id="@+id/pcks_received"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBaseline="@+id/textView4"
+ android:layout_alignBottom="@+id/textView4"
+ android:layout_alignParentRight="true"
+ android:textSize="18sp"/>
+
+</RelativeLayout> \ No newline at end of file