Default search bar: Clip ripple to background shape (resolves #2148)

This commit is contained in:
Patryk Michalik
2021-05-13 11:11:59 +02:00
parent c83ef1cc18
commit 541d74cff6
2 changed files with 2 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/qsb_background"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_gravity="center_vertical"

View File

@@ -89,6 +89,7 @@ public class QsbWidgetHostView extends NavigableAppWidgetHostView {
.inflate(R.layout.qsb_default_view, parent, false);
v.findViewById(R.id.btn_qsb_search).setOnClickListener((v2) ->
Launcher.getLauncher(v2.getContext()).startSearch("", false, null, true));
v.findViewById(R.id.qsb_background).setClipToOutline(true);
return v;
}