aboutsummaryrefslogtreecommitdiff
path: root/WordPress/src/main/res/layout/theme_grid_cardview_header_search.xml
diff options
context:
space:
mode:
Diffstat (limited to 'WordPress/src/main/res/layout/theme_grid_cardview_header_search.xml')
-rw-r--r--WordPress/src/main/res/layout/theme_grid_cardview_header_search.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/WordPress/src/main/res/layout/theme_grid_cardview_header_search.xml b/WordPress/src/main/res/layout/theme_grid_cardview_header_search.xml
new file mode 100644
index 000000000..04d8f028b
--- /dev/null
+++ b/WordPress/src/main/res/layout/theme_grid_cardview_header_search.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:card_view="http://schemas.android.com/apk/res-auto"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <android.support.v7.widget.CardView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginRight="@dimen/theme_browser_cardview_margin_large"
+ android:layout_marginLeft="@dimen/theme_browser_cardview_margin_large"
+ android:layout_marginTop="@dimen/theme_browser_cardview_margin_large"
+ android:layout_marginBottom="@dimen/cardview_default_radius"
+ card_view:cardCornerRadius="@dimen/cardview_default_radius"
+ card_view:cardElevation="@dimen/card_elevation">
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="?android:attr/selectableItemBackground">
+
+ <Spinner
+ android:id="@+id/theme_filter_spinner"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/theme_browser_header_button_height"
+ android:layout_marginLeft="@dimen/theme_browser_cardview_margin_large"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:visibility="gone"
+ android:spinnerMode="dropdown" />
+
+ <ImageButton
+ android:id="@+id/theme_search"
+ android:layout_width="@dimen/theme_browser_more_button_height"
+ android:layout_height="@dimen/theme_browser_more_button_height"
+ android:layout_marginLeft="@dimen/theme_browser_cardview_margin_large"
+ android:layout_centerVertical="true"
+ app:srcCompat="@drawable/ic_search"
+ android:background="?android:attr/selectableItemBackground"
+ android:contentDescription="@string/search"
+ android:layout_alignParentLeft="true" />
+
+ </RelativeLayout>
+
+ </android.support.v7.widget.CardView>
+
+</LinearLayout>