aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/media_picker_fragment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/media_picker_fragment.xml')
-rw-r--r--WordPress/src/main/res/layout/media_picker_fragment.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/media_picker_fragment.xml b/WordPress/src/main/res/layout/media_picker_fragment.xml
new file mode 100644
index 000000000..da388ef58
--- /dev/null
+++ b/WordPress/src/main/res/layout/media_picker_fragment.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:gravity="center_vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <org.wordpress.android.widgets.WPTextView
+ android:id="@+id/media_empty_view"
+ style="@style/WordPress.EmptyList.Title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:layout_marginBottom="@dimen/empty_list_title_bottom_margin"
+ android:layout_marginLeft="@dimen/empty_list_title_side_margin"
+ android:layout_marginRight="@dimen/empty_list_title_side_margin"
+ android:textSize="@dimen/empty_view_text_size" />
+
+ <GridView
+ android:id="@+id/media_adapter_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="4dp"
+ android:verticalSpacing="2dp"
+ android:horizontalSpacing="2dp"
+ android:numColumns="2"/>
+
+</LinearLayout>