diff options
Diffstat (limited to 'ccnxandroidmetis/MetisControl/src/main/res/layout')
8 files changed, 0 insertions, 595 deletions
diff --git a/ccnxandroidmetis/MetisControl/src/main/res/layout/activity_forwarder_status.xml b/ccnxandroidmetis/MetisControl/src/main/res/layout/activity_forwarder_status.xml deleted file mode 100644 index 5e627c02..00000000 --- a/ccnxandroidmetis/MetisControl/src/main/res/layout/activity_forwarder_status.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/main_content" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:fitsSystemWindows="true" - tools:context=".ForwarderStatusActivity"> - - <android.support.design.widget.AppBarLayout - android:id="@+id/appbar" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="@dimen/appbar_padding_top" - android:theme="@style/AppTheme.AppBarOverlay"> - - <android.support.v7.widget.Toolbar - android:id="@+id/toolbar" - android:layout_width="match_parent" - android:layout_height="?attr/actionBarSize" - android:background="?attr/colorPrimary" - app:layout_scrollFlags="scroll|enterAlways" - app:popupTheme="@style/AppTheme.PopupOverlay"> - - </android.support.v7.widget.Toolbar> - - </android.support.design.widget.AppBarLayout> - - <android.support.v4.view.ViewPager - android:id="@+id/container" - android:layout_width="match_parent" - android:layout_height="match_parent" - app:layout_behavior="@string/appbar_scrolling_view_behavior" /> - - - <android.support.design.widget.FloatingActionButton - android:id="@+id/fab" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="end|bottom" - android:layout_margin="@dimen/fab_margin" - android:src="@android:drawable/ic_input_add" /> - -</android.support.design.widget.CoordinatorLayout> diff --git a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_forwarder_status.xml b/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_forwarder_status.xml deleted file mode 100644 index 943d2ad2..00000000 --- a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_forwarder_status.xml +++ /dev/null @@ -1,16 +0,0 @@ -<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:paddingBottom="@dimen/activity_vertical_margin" - android:paddingLeft="@dimen/activity_horizontal_margin" - android:paddingRight="@dimen/activity_horizontal_margin" - android:paddingTop="@dimen/activity_vertical_margin" - tools:context=".ForwarderStatusActivity$PlaceholderFragment"> - - <TextView - android:id="@+id/section_label" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - -</RelativeLayout> diff --git a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_links.xml b/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_links.xml deleted file mode 100644 index 1041eeb4..00000000 --- a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_links.xml +++ /dev/null @@ -1,99 +0,0 @@ -<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=".MetisLinksFragment"> - - <!-- TODO: Update blank fragment layout --> - - <RelativeLayout - android:id="@+id/rlLinkAddPanel" - 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" - - > - - <android.support.v7.widget.AppCompatSpinner - android:id="@+id/spinnerLinkTypeAdd" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="10dp" - android:layout_marginRight="8dp" - android:layout_centerVertical="true" - android:entries="@array/metis_link_type_array" /> - - - <Button - android:id="@+id/btnAddLink" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:text="Add Link" - android:layout_marginRight="10dp" - android:layout_alignParentEnd="true" /> - - <EditText - android:id="@+id/etLinkAddAddress" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:hint="192.168.0.100:9695" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_toRightOf="@id/spinnerLinkTypeAdd" - android:layout_toLeftOf="@id/btnAddLink" /> - - <CheckBox - android:id="@+id/cbLinkListener" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="listener?" - android:layout_toRightOf="@id/spinnerLinkTypeAdd" - android:layout_below="@+id/etLinkAddAddress" /> - - - </RelativeLayout> - - <android.support.v7.widget.LinearLayoutCompat - android:id="@+id/llLinkButtons" - 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/rlLinkAddPanel" - android:orientation="horizontal"> - - <Button - android:id="@+id/btnRefresh" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@id/rlLinkAddPanel" - android:text="Refresh" /> - - </android.support.v7.widget.LinearLayoutCompat> - - <ListView - android:id="@+id/lvLinkList" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_below="@id/llLinkButtons" - android:layout_gravity="top|center_horizontal" - android:layout_marginLeft="10dp" - android:layout_marginRight="10dp" - android:layout_marginBottom="80dp" - android:padding="10dp" - android:background="@drawable/add_panel_border" - android:divider="@android:color/transparent" - android:layout_alignParentBottom="true" - android:dividerHeight="10dp" /> - -</RelativeLayout> diff --git a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_routes.xml b/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_routes.xml deleted file mode 100644 index bd0857b5..00000000 --- a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_routes.xml +++ /dev/null @@ -1,80 +0,0 @@ -<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> diff --git a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_script.xml b/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_script.xml deleted file mode 100644 index c248203c..00000000 --- a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_script.xml +++ /dev/null @@ -1,54 +0,0 @@ - -<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=".MetisStatusFragment"> - - <Button - android:id="@+id/btnRunScript" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal|top" - android:text="Run Script" - android:layout_alignParentTop="true" - android:layout_marginTop="20dp" - android:layout_centerHorizontal="true" /> - - <TextView - android:id="@+id/etScript" - style="@style/Base.TextAppearance.AppCompat.Small" - android:layout_below="@id/btnRunScript" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:enabled="true" - android:isScrollContainer="true" - android:maxLines="100" - android:minLines="6" - android:padding="24dp" - android:layout_marginLeft="10dp" - android:layout_marginRight="10dp" - android:layout_marginTop="10dp" - android:layout_marginBottom="80dp" - android:focusable="true" - android:inputType="textMultiLine|textNoSuggestions" - android:textIsSelectable="true" - android:layout_centerVertical="true" - android:layout_alignParentStart="true" - android:background="@drawable/add_panel_border" - - /> - - <TextView - android:id="@+id/tvMetisScriptHelp" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:text="@string/metis_script_help" - android:gravity="center_horizontal" - android:layout_centerInParent="true" - android:paddingBottom="60dp" - android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium" - /> - -</RelativeLayout> diff --git a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_status.xml b/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_status.xml deleted file mode 100644 index 5678f0d4..00000000 --- a/ccnxandroidmetis/MetisControl/src/main/res/layout/fragment_metis_status.xml +++ /dev/null @@ -1,208 +0,0 @@ - -<FrameLayout 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" - tools:context=".MetisStatusFragment"> - - <!-- TODO: Update blank fragment layout --> - - <RelativeLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - - android:layout_gravity="top|center_horizontal" - android:layout_marginTop="80dp"> - - <EditText - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:inputType="textPersonName" - android:text="/storage/emulated/0/MetisConf/metis.cfg" - android:layout_marginBottom="30dp" - android:layout_gravity="top" - android:ems="10" - android:id="@+id/pathText" - android:typeface="normal" /> - - <Switch - android:id="@+id/switchMetisOnOff" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:layout_below="@id/pathText" - android:layout_marginBottom="30dp" - android:checked="false" - android:text="Metis Enabled " - - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <Switch - android:id="@+id/switchMetisContentStoreOnOff" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@id/switchMetisOnOff" - android:layout_gravity="center" - android:text="Content Store (cache) " - android:enabled="false" - android:layout_marginBottom="20dp" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <TextView - android:id="@+id/tvLoggingLevelLabel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:enabled="false" - android:text = "Logging level:" - android:layout_below="@id/switchMetisContentStoreOnOff" - android:textAppearance="?android:attr/textAppearanceMedium" - - /> - - <android.support.v7.widget.AppCompatSpinner - android:id="@+id/spinnerMetisLoggingLevel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@id/switchMetisContentStoreOnOff" - android:layout_toRightOf="@id/tvLoggingLevelLabel" - android:enabled="true" - android:textAppearance="?android:attr/textAppearanceMedium" - android:entries="@array/metis_log_levels" /> - - - </RelativeLayout> - - <TableLayout - android:visibility="invisible" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="bottom|center_horizontal" - android:background="@drawable/add_panel_border" - android:padding="20dp" - android:layout_marginBottom="80dp" - android:orientation="vertical"> - - <TableRow - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginBottom="4dp" - - android:layout_gravity="center_horizontal" - android:orientation="horizontal"> - - <TextView - android:id="@+id/tvStatsNumInterestsLabel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="# Interests Processed: " - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <TextView - android:id="@+id/tvStatsNumInterests" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_toRightOf="@+id/tvStatsNumInterestsLabel" - android:text="0" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - </TableRow> - - <TableRow - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginBottom="4dp" - - android:layout_gravity="center_horizontal" - android:orientation="horizontal"> - - <TextView - android:id="@+id/tvStatsNumContentObjectsLabel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="# ContentObjects Processed: " - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <TextView - android:id="@+id/tvStatsNumContentObjects" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_toRightOf="@+id/tvStatsNumInterestsLabel" - android:text="0" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - </TableRow> - - <TableRow - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_marginBottom="4dp" - android:orientation="horizontal"> - - <TextView - android:id="@+id/tvStatsNumControlLabel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="# Control Messages Processed: " - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <TextView - android:id="@+id/tvStatsNumControl" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_toRightOf="@+id/tvStatsNumInterestsLabel" - android:text="0" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - </TableRow> - - <TableRow - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_marginBottom="4dp" - android:orientation="horizontal"> - - <TextView - android:id="@+id/tvStatsNumInterestReturnsLabel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="# InterestReturns Processed: " - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <TextView - android:id="@+id/tvStatsNumInterestReturns" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_toRightOf="@+id/tvStatsNumInterestsLabel" - android:text="0" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - </TableRow> - - <TableRow - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:orientation="horizontal"> - - <TextView - android:id="@+id/tvStatsPITSizeLabel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="# PIT entries: " - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <TextView - android:id="@+id/tvStatsPITSize" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_toRightOf="@+id/tvStatsNumInterestsLabel" - android:text="0" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - </TableRow> - - </TableLayout> - -</FrameLayout> diff --git a/ccnxandroidmetis/MetisControl/src/main/res/layout/listitem_metis_links.xml b/ccnxandroidmetis/MetisControl/src/main/res/layout/listitem_metis_links.xml deleted file mode 100644 index 19bc5548..00000000 --- a/ccnxandroidmetis/MetisControl/src/main/res/layout/listitem_metis_links.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingLeft="10dp" - android:paddingTop="3dp" - > - - <TextView - android:id="@+id/tvLinkName" - android:text="foo bar bar" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textAppearance="@style/TextAppearance.AppCompat.Medium" - android:textColor="@color/colorPrimaryDark" - /> - - - <TextView - android:id="@+id/tvLinkLocalOrRemote" - android:text="local" - android:layout_below="@id/tvLinkName" - - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:paddingRight="5dp" - /> - - <TextView - android:id="@+id/tvLinkListener" - android:text="listener" - android:layout_toRightOf="@id/tvLinkLocalOrRemote" - android:layout_below="@id/tvLinkName" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:paddingRight="5dp" - /> - - <TextView - android:id="@+id/tvLinkIPAddress" - android:layout_below="@id/tvLinkName" - android:text="" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:paddingRight="5dp" - android:layout_toRightOf="@id/tvLinkListener" - /> - -</RelativeLayout> diff --git a/ccnxandroidmetis/MetisControl/src/main/res/layout/listitem_metis_routes.xml b/ccnxandroidmetis/MetisControl/src/main/res/layout/listitem_metis_routes.xml deleted file mode 100644 index 2372b352..00000000 --- a/ccnxandroidmetis/MetisControl/src/main/res/layout/listitem_metis_routes.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingLeft="5dp" - android:paddingTop="3dp" - android:background="@color/list_bg_1" - > - - <TextView - android:id="@+id/tvRouteName" - android:text="ccnx:/foo/bar" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textAppearance="@style/TextAppearance.AppCompat.Medium" - android:textColor="@color/colorPrimaryDark" - /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:id="@+id/tvRouteArrow" - android:text="==>" - android:layout_marginLeft="20dp" - android:layout_below="@id/tvRouteName" - android:textAppearance="@style/TextAppearance.AppCompat.Medium" - - /> - - <TextView - android:id="@+id/tvRouteLink" - android:text="dest" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@id/tvRouteName" - android:layout_marginLeft="15dp" - android:layout_toRightOf="@id/tvRouteArrow" - android:textAppearance="@style/TextAppearance.AppCompat.Medium" - - /> - -</RelativeLayout> |