mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
- Allow SearchAction to be represented by SearchResultIcon and SearchResultIconRow - Fix tap enter to launch regression - Remove Plugin Pipeline Bug: 177223401 Test: Manual Change-Id: Id1d445f6af3f80f840d567165051188c78230ed0
41 lines
1.6 KiB
XML
41 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2020 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<com.android.launcher3.search.SearchResultIconSlice xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:launcher="http://schemas.android.com/apk/res-auto"
|
|
android:padding="@dimen/dynamic_grid_edge_margin"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<FrameLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.android.launcher3.search.SearchResultIcon
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/icon"
|
|
launcher:iconDisplay="hero_app" />
|
|
</FrameLayout>
|
|
|
|
<androidx.slice.widget.SliceView
|
|
android:id="@+id/slice"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_marginStart="@dimen/dynamic_grid_cell_padding_x"
|
|
android:layout_width="0dp" />
|
|
|
|
</com.android.launcher3.search.SearchResultIconSlice>
|
|
|