Index: platform_tools/android/apps/viewer/src/main/res/layout/state_item.xml |
diff --git a/platform_tools/android/apps/viewer/src/main/res/layout/state_item.xml b/platform_tools/android/apps/viewer/src/main/res/layout/state_item.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7a7d539d43cdc913716875e709b9c9e31d684a43 |
--- /dev/null |
+++ b/platform_tools/android/apps/viewer/src/main/res/layout/state_item.xml |
@@ -0,0 +1,35 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:orientation="vertical" android:layout_width="match_parent" |
+ android:layout_height="match_parent" |
+ android:weightSum="1"> |
+ |
+ <TextView |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:layout_marginTop="10dp" |
+ android:layout_marginLeft="10dp" |
+ android:layout_marginBottom="0dp" |
+ android:textAppearance="?android:attr/textAppearanceLarge" |
+ android:text="Name:" |
+ android:id="@+id/nameText" /> |
+ |
+ <TextView |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:layout_marginBottom="10dp" |
+ android:layout_marginLeft="10dp" |
+ android:layout_marginTop="0dp" |
+ android:textAppearance="?android:attr/textAppearanceMedium" |
+ android:text="Value" |
+ android:id="@+id/valueText" /> |
+ |
+ <Spinner |
+ android:id="@+id/optionSpinner" |
+ android:paddingTop="0dp" |
+ android:paddingBottom="0dp" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content"> |
+ </Spinner> |
+ |
+</LinearLayout> |