aboutsummaryrefslogtreecommitdiffstats
path: root/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_routes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_routes.xml')
-rw-r--r--ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_routes.xml80
1 files changed, 80 insertions, 0 deletions
diff --git a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_routes.xml b/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_routes.xml
new file mode 100644
index 00000000..bd0857b5
--- /dev/null
+++ b/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_routes.xml
@@ -0,0 +1,80 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:animateLayoutChanges="true"
+
+ tools:context=".MetisRoutesFragment">
+
+ <!-- TODO: Update blank fragment layout -->
+
+ <RelativeLayout
+ android:id="@+id/rlRouteAddPanel"
+ android:visibility="visible"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ android:layout_marginTop="10dp"
+ android:background="@drawable/add_panel_border"
+ android:gravity="top"
+ android:layout_marginBottom="10dp"
+ android:padding="10px"
+
+ >
+
+ <Button
+ android:id="@+id/btnAddRoute"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:text="Add Route"
+ android:layout_marginRight="10dp"
+ android:layout_alignParentEnd="true" />
+
+ <EditText
+ android:id="@+id/etRouteAddAddress"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:hint="192.168.0.100:9695"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:layout_toLeftOf="@id/btnAddRoute" />
+
+
+ </RelativeLayout>
+
+ <android.support.v7.widget.LinearLayoutCompat
+ android:id="@+id/llRouteButtons"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_marginBottom="20dp"
+ android:layout_marginTop="10dp"
+ android:layout_below="@id/rlRouteAddPanel"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/btnRefresh"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/rlRouteAddPanel"
+ android:text="Refresh" />
+
+ </android.support.v7.widget.LinearLayoutCompat>
+
+ <ListView
+ android:id="@+id/lvRouteList"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_below="@id/llRouteButtons"
+ android:layout_gravity="top|center_horizontal"
+ android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
+ android:layout_marginBottom="80dp"
+ android:background="@drawable/add_panel_border"
+ android:padding="10dp"
+ android:divider="@android:color/transparent"
+ android:layout_alignParentBottom="true"
+ android:dividerHeight="10dp" />
+
+</RelativeLayout>