aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/res
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-26 16:51:57 -0700
committerAllan Wang <me@allanwang.ca>2017-06-26 16:51:57 -0700
commit92cb24af250e10ff60389a186bf692d7c17ed825 (patch)
tree329b1c2784211b8e880e8d2eb812181e1b46dd72 /library/src/main/res
parentcc6d3f96af3bdcb65f34b53ce7749b1d73077068 (diff)
downloadkau-92cb24af250e10ff60389a186bf692d7c17ed825.tar.gz
kau-92cb24af250e10ff60389a186bf692d7c17ed825.tar.bz2
kau-92cb24af250e10ff60389a186bf692d7c17ed825.zip
Add search card with max height
Diffstat (limited to 'library/src/main/res')
-rw-r--r--library/src/main/res/layout/kau_search_view.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/library/src/main/res/layout/kau_search_view.xml b/library/src/main/res/layout/kau_search_view.xml
index 8b07403..4a46e90 100644
--- a/library/src/main/res/layout/kau_search_view.xml
+++ b/library/src/main/res/layout/kau_search_view.xml
@@ -2,7 +2,7 @@
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="match_parent">
<View
android:id="@+id/search_shadow"
@@ -11,7 +11,7 @@
android:background="@color/kau_search_full_shadow"
android:visibility="gone" />
- <android.support.v7.widget.CardView
+ <ca.allanwang.kau.searchview.SearchCard
android:id="@+id/search_cardview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -101,11 +101,12 @@
android:id="@+id/search_recycler"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+
android:overScrollMode="never"
android:visibility="gone" />
</LinearLayout>
- </android.support.v7.widget.CardView>
+ </ca.allanwang.kau.searchview.SearchCard>
</merge> \ No newline at end of file