summaryrefslogtreecommitdiff
path: root/same-android/res
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-26 11:18:26 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-26 11:38:33 +0100
commit402efe234b8e2fefa6ea5f135d27c5575ade34d9 (patch)
treeb1a4a6352b1519f969f357cd691eabeedd1d50a0 /same-android/res
parent5aaf308a0c0d67836d3225fb7f4ed0ab0d842209 (diff)
Add StateViewerActivity.
StateViewerActivity displays the current state from a ClientInterfaceBridge
Diffstat (limited to 'same-android/res')
-rw-r--r--same-android/res/layout/state_viewer.xml19
-rw-r--r--same-android/res/menu/main_menu.xml3
2 files changed, 22 insertions, 0 deletions
diff --git a/same-android/res/layout/state_viewer.xml b/same-android/res/layout/state_viewer.xml
new file mode 100644
index 0000000..3f216cc
--- /dev/null
+++ b/same-android/res/layout/state_viewer.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="State"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
+ <ListView
+ android:id="@+id/state_view_list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+ </ListView>
+
+</LinearLayout> \ No newline at end of file
diff --git a/same-android/res/menu/main_menu.xml b/same-android/res/menu/main_menu.xml
index 49e584a..670ebac 100644
--- a/same-android/res/menu/main_menu.xml
+++ b/same-android/res/menu/main_menu.xml
@@ -7,5 +7,8 @@
<item
android:id="@+id/variable_test"
android:title="Variable Test"/>
+ <item
+ android:id="@+id/state_viewer"
+ android:title="State Monitor"/>
</menu> \ No newline at end of file