diff options
author | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-06-06 14:22:24 +0200 |
---|---|---|
committer | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-06-07 15:01:28 +0200 |
commit | 6358e611e09092ad121f4a85e548c0d9411ab09f (patch) | |
tree | 1e9ac163ce10ab44402dcce1566b7920afbe1bf1 /iGetAndroid/app/src/main/res | |
parent | dca773280df13ce3ecc6d306dffd603715cf25a5 (diff) |
update applications to use new version libicnet
Change-Id: I4b2381a13cf64488baf83056fc1fa11b359d1147
Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'iGetAndroid/app/src/main/res')
15 files changed, 259 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 diff --git a/iGetAndroid/app/src/main/res/mipmap-hdpi/ic_launcher.png b/iGetAndroid/app/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differnew file mode 100644 index 00000000..cde69bcc --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/iGetAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/iGetAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_round.png Binary files differnew file mode 100644 index 00000000..9a078e3e --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-hdpi/ic_launcher_round.png diff --git a/iGetAndroid/app/src/main/res/mipmap-mdpi/ic_launcher.png b/iGetAndroid/app/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differnew file mode 100644 index 00000000..c133a0cb --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/iGetAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/iGetAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_round.png Binary files differnew file mode 100644 index 00000000..efc028a6 --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-mdpi/ic_launcher_round.png diff --git a/iGetAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/iGetAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differnew file mode 100644 index 00000000..bfa42f0e --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/iGetAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/iGetAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png Binary files differnew file mode 100644 index 00000000..3af2608a --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png diff --git a/iGetAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/iGetAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differnew file mode 100644 index 00000000..324e72cd --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/iGetAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/iGetAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png Binary files differnew file mode 100644 index 00000000..9bec2e62 --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png diff --git a/iGetAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/iGetAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differnew file mode 100644 index 00000000..aee44e13 --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/iGetAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/iGetAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png Binary files differnew file mode 100644 index 00000000..34947cd6 --- /dev/null +++ b/iGetAndroid/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png diff --git a/iGetAndroid/app/src/main/res/values/colors.xml b/iGetAndroid/app/src/main/res/values/colors.xml new file mode 100644 index 00000000..3ab3e9cb --- /dev/null +++ b/iGetAndroid/app/src/main/res/values/colors.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <color name="colorPrimary">#3F51B5</color> + <color name="colorPrimaryDark">#303F9F</color> + <color name="colorAccent">#FF4081</color> +</resources> diff --git a/iGetAndroid/app/src/main/res/values/strings.xml b/iGetAndroid/app/src/main/res/values/strings.xml new file mode 100644 index 00000000..6f5516d4 --- /dev/null +++ b/iGetAndroid/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ +<resources> + <string name="app_name">iGetAndroid</string> +</resources> diff --git a/iGetAndroid/app/src/main/res/values/styles.xml b/iGetAndroid/app/src/main/res/values/styles.xml new file mode 100644 index 00000000..5885930d --- /dev/null +++ b/iGetAndroid/app/src/main/res/values/styles.xml @@ -0,0 +1,11 @@ +<resources> + + <!-- Base application theme. --> + <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> + <!-- Customize your theme here. --> + <item name="colorPrimary">@color/colorPrimary</item> + <item name="colorPrimaryDark">@color/colorPrimaryDark</item> + <item name="colorAccent">@color/colorAccent</item> + </style> + +</resources> |