aboutsummaryrefslogtreecommitdiffstats
path: root/iGetAndroid/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'iGetAndroid/app/src/main/res/layout')
-rw-r--r--iGetAndroid/app/src/main/res/layout/activity_i_get.xml113
-rw-r--r--iGetAndroid/app/src/main/res/layout/list_view_row.xml126
2 files changed, 239 insertions, 0 deletions
diff --git a/iGetAndroid/app/src/main/res/layout/activity_i_get.xml b/iGetAndroid/app/src/main/res/layout/activity_i_get.xml
new file mode 100644
index 00000000..4885dc62
--- /dev/null
+++ b/iGetAndroid/app/src/main/res/layout/activity_i_get.xml
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.constraint.ConstraintLayout 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:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context="com.iget.ccnx.igetandroid.iGetActivity">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="0.25"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/urlLabel"
+ android:layout_width="50dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.25"
+ android:text="URL"
+ android:textAlignment="textEnd" />
+
+ <EditText
+ android:id="@+id/urlEditText"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="50dp"
+ android:layout_weight="1.02"
+ android:ems="10"
+ android:inputType="text"
+ android:text="http://webserver/sintel/mpd" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:paddingTop="10dp">
+
+ <TextView
+ android:id="@+id/downloadPathLabel"
+ android:layout_width="50dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.25"
+ android:text="Download Path"
+ android:textAlignment="textEnd" />
+
+ <EditText
+ android:id="@+id/downloadPathEditText"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="50dp"
+ android:layout_weight="1.03"
+ android:ems="10"
+ android:inputType="text"
+ android:text="Name" />
+ </LinearLayout>
+
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/RelativeLayout01"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <Button
+ android:id="@+id/downloadButton"
+ android:layout_width="160dp"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:layout_weight="1"
+ android:text="Download"
+ android:textAlignment="center" />
+ </RelativeLayout>
+
+
+ </LinearLayout>
+
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingTop="10dp">
+
+ <TextView
+ android:id="@+id/resumeLabel"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="Resume"
+ android:textAlignment="textStart"
+ android:textSize="30sp"
+ android:textStyle="bold"
+ android:paddingLeft="15dp"/>
+
+ <ListView
+ android:id="@+id/resultsListView"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+ </LinearLayout>
+
+ </LinearLayout>
+
+</android.support.constraint.ConstraintLayout>
diff --git a/iGetAndroid/app/src/main/res/layout/list_view_row.xml b/iGetAndroid/app/src/main/res/layout/list_view_row.xml
new file mode 100644
index 00000000..9273f8f1
--- /dev/null
+++ b/iGetAndroid/app/src/main/res/layout/list_view_row.xml
@@ -0,0 +1,126 @@
+<?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">
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.5"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/urlLabel"
+ android:layout_width="60pt"
+ android:layout_height="wrap_content"
+ android:paddingRight="5pt"
+ android:text="urlLabel"
+ android:textAlignment="textEnd" />
+
+ <TextView
+ android:id="@+id/urlTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="urlTextVew" />
+ </LinearLayout>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.5"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/savedPathLabel"
+ android:layout_width="60pt"
+ android:layout_height="wrap_content"
+ android:paddingRight="5pt"
+ android:text="Saved Path"
+ android:textAlignment="textEnd" />
+
+ <TextView
+ android:id="@+id/savedPathTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="savedPathTextView" />
+ </LinearLayout>
+ </LinearLayout>
+
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.33"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/md5Label"
+ android:layout_width="60pt"
+ android:layout_height="wrap_content"
+ android:paddingRight="5pt"
+ android:text="MD5"
+ android:textAlignment="textEnd" />
+
+ <TextView
+ android:id="@+id/md5TextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="savedPathTextView" />
+ </LinearLayout>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.33"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/sizeLabel"
+ android:layout_width="60pt"
+ android:layout_height="wrap_content"
+ android:paddingRight="5pt"
+ android:text="Size"
+ android:textAlignment="textEnd" />
+
+ <TextView
+ android:id="@+id/sizeTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="sizeTextView" />
+ </LinearLayout>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0.33"
+ android:orientation="horizontal">
+
+ <TextView
+ android:id="@+id/dateLabel"
+ android:layout_width="60pt"
+ android:layout_height="wrap_content"
+ android:paddingRight="5pt"
+ android:text="Date"
+ android:textAlignment="textEnd" />
+
+ <TextView
+ android:id="@+id/dateTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="dateTextView" />
+ </LinearLayout>
+ </LinearLayout>
+
+
+</LinearLayout> \ No newline at end of file