mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-11 06:44:00 +00:00
Default search bar: Clip ripple to background shape (resolves #2148)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user