summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_home_screen.xml19
-rw-r--r--app/src/main/res/layout/fragment_upload.xml13
-rw-r--r--app/src/main/res/layout/grid_item.xml33
3 files changed, 65 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_home_screen.xml b/app/src/main/res/layout/fragment_home_screen.xml
index 3f50a40..884e98a 100644
--- a/app/src/main/res/layout/fragment_home_screen.xml
+++ b/app/src/main/res/layout/fragment_home_screen.xml
@@ -13,4 +13,23 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium"
+ android:text="Recent Images"
+ android:id="@+id/textView"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true" />
+
+ <GridView
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:numColumns="3"
+ android:id="@+id/gridView"
+ android:layout_below="@+id/section_label"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true" />
+
</RelativeLayout>
diff --git a/app/src/main/res/layout/fragment_upload.xml b/app/src/main/res/layout/fragment_upload.xml
new file mode 100644
index 0000000..01fe6e8
--- /dev/null
+++ b/app/src/main/res/layout/fragment_upload.xml
@@ -0,0 +1,13 @@
+<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="uk.co.blatech.blaupload.UploadFragment">
+
+ <!-- TODO: Update blank fragment layout -->
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:text="@string/hello_blank_fragment" />
+
+</FrameLayout>
diff --git a/app/src/main/res/layout/grid_item.xml b/app/src/main/res/layout/grid_item.xml
new file mode 100644
index 0000000..1d8b860
--- /dev/null
+++ b/app/src/main/res/layout/grid_item.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:orientation="vertical"
+ android:padding="5dp"
+ android:clickable="false"
+ android:focusable="false">
+
+ <ImageView
+ android:id="@+id/thumbimage"
+ android:layout_width="100dp"
+ android:layout_height="100dp"
+ android:clickable="false"
+ android:focusable="false"
+ android:focusableInTouchMode="false">
+ </ImageView>
+
+ <TextView
+ android:id="@+id/thumbtitle"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="5dp"
+ android:gravity="center"
+ android:textSize="12sp"
+ android:clickable="false"
+ android:focusable="false">
+ </TextView>
+
+</LinearLayout> \ No newline at end of file