diff options
Diffstat (limited to 'library/src/main/res')
-rw-r--r-- | library/src/main/res/layout/kau_activity_kpref.xml | 1 | ||||
-rw-r--r-- | library/src/main/res/layout/kau_search_view.xml | 15 | ||||
-rw-r--r-- | library/src/main/res/values/colors.xml | 3 |
3 files changed, 12 insertions, 7 deletions
diff --git a/library/src/main/res/layout/kau_activity_kpref.xml b/library/src/main/res/layout/kau_activity_kpref.xml index acc1f76..856f168 100644 --- a/library/src/main/res/layout/kau_activity_kpref.xml +++ b/library/src/main/res/layout/kau_activity_kpref.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/kau_container" android:layout_width="match_parent" android:layout_height="match_parent"> diff --git a/library/src/main/res/layout/kau_search_view.xml b/library/src/main/res/layout/kau_search_view.xml index 799d4df..72cfd02 100644 --- a/library/src/main/res/layout/kau_search_view.xml +++ b/library/src/main/res/layout/kau_search_view.xml @@ -1,13 +1,14 @@ <?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"> <View android:id="@+id/search_shadow" android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + android:background="@color/kau_search_full_shadow" + android:visibility="gone" /> <android.support.v7.widget.CardView android:id="@+id/search_cardview" @@ -38,7 +39,7 @@ android:focusable="true" android:scaleType="centerInside" /> - <com.lapism.searchview.SearchEditText + <android.support.v7.widget.AppCompatEditText android:id="@+id/search_edit_text" android:layout_width="0dp" android:layout_height="match_parent" @@ -61,8 +62,8 @@ android:id="@+id/search_progress" style="?android:attr/indeterminateProgressStyle" android:layout_width="@dimen/kau_search_progress" - android:visibility="gone" - android:layout_height="match_parent" /> + android:layout_height="match_parent" + android:visibility="gone" /> <FrameLayout android:layout_width="48dp" @@ -76,8 +77,8 @@ android:clickable="true" android:contentDescription="@string/kau_search" android:focusable="true" - android:visibility="gone" - android:scaleType="center" /> + android:scaleType="center" + android:visibility="gone" /> <ImageView android:id="@+id/search_clear" diff --git a/library/src/main/res/values/colors.xml b/library/src/main/res/values/colors.xml new file mode 100644 index 0000000..dc95351 --- /dev/null +++ b/library/src/main/res/values/colors.xml @@ -0,0 +1,3 @@ +<resources> + <color name="kau_search_full_shadow">#80000000</color> +</resources> |