aboutsummaryrefslogtreecommitdiff
path: root/testapps/testSensors/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'testapps/testSensors/res/layout')
-rw-r--r--testapps/testSensors/res/layout/main.xml15
-rw-r--r--testapps/testSensors/res/layout/one_row.xml20
2 files changed, 35 insertions, 0 deletions
diff --git a/testapps/testSensors/res/layout/main.xml b/testapps/testSensors/res/layout/main.xml
new file mode 100644
index 000000000..1f73c9c40
--- /dev/null
+++ b/testapps/testSensors/res/layout/main.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/scrollView1"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+
+ <TableLayout
+ android:id="@+id/tableLayout"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:saveEnabled="false" />
+
+</ScrollView>
+
diff --git a/testapps/testSensors/res/layout/one_row.xml b/testapps/testSensors/res/layout/one_row.xml
new file mode 100644
index 000000000..e3c54b890
--- /dev/null
+++ b/testapps/testSensors/res/layout/one_row.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<TableRow xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
+ <TextView
+ android:id="@+id/row_textview_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:saveEnabled="false"
+ android:layout_marginRight="10dp"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+ <TextView
+ android:id="@+id/row_textview_value"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+</TableRow> \ No newline at end of file