aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/res/layout
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-24 20:00:35 -0700
committerAllan Wang <me@allanwang.ca>2017-06-24 20:00:35 -0700
commit35b26d771199c1dbf0d67377627c9d8b27da388c (patch)
tree7b8aa38ef8c0cc43cd5484626c6540bff7798940 /library/src/main/res/layout
parent6ad176dde0a84a0eb96dea2f9c7eb34394045526 (diff)
downloadkau-35b26d771199c1dbf0d67377627c9d8b27da388c.tar.gz
kau-35b26d771199c1dbf0d67377627c9d8b27da388c.tar.bz2
kau-35b26d771199c1dbf0d67377627c9d8b27da388c.zip
Create tintable ripples
Diffstat (limited to 'library/src/main/res/layout')
-rw-r--r--library/src/main/res/layout/kau_search_item.xml2
-rw-r--r--library/src/main/res/layout/kau_search_view.xml7
2 files changed, 5 insertions, 4 deletions
diff --git a/library/src/main/res/layout/kau_search_item.xml b/library/src/main/res/layout/kau_search_item.xml
index fbdc826..20f3ef2 100644
--- a/library/src/main/res/layout/kau_search_item.xml
+++ b/library/src/main/res/layout/kau_search_item.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/linearLayout"
+ android:id="@+id/search_item_frame"
android:layout_width="match_parent"
android:layout_height="@dimen/kau_search_item_height"
android:background="?android:attr/selectableItemBackground"
diff --git a/library/src/main/res/layout/kau_search_view.xml b/library/src/main/res/layout/kau_search_view.xml
index 5626c4b..5c2ad27 100644
--- a/library/src/main/res/layout/kau_search_view.xml
+++ b/library/src/main/res/layout/kau_search_view.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<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">
@@ -14,8 +15,9 @@
android:id="@+id/search_cardview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingEnd="2dp"
- android:paddingStart="2dp">
+ android:layout_marginEnd="@dimen/kau_search_base_margin"
+ android:layout_marginStart="@dimen/kau_search_base_margin"
+ app:cardCornerRadius="@dimen/kau_search_base_corners">
<LinearLayout
android:layout_width="match_parent"
@@ -23,7 +25,6 @@
android:orientation="vertical">
<LinearLayout
- android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="@dimen/kau_search_height"
android:focusable="true"