mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
With this, we can now show app title and support drag/drop for shortcut results. Bug: 172245107 preview: https://drive.google.com/file/d/1A4eKKTDPht-MDbfA2VFI3OuAO36fc3AS/view?usp=sharing Change-Id: Icf94a2d23b44bfe5527aea71e27178906e5deb3e
34 lines
1.6 KiB
XML
34 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.views.SearchResultSuggestion xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:launcher="http://schemas.android.com/apk/res-auto"
|
|
style="@style/BaseIcon"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="start|center_vertical"
|
|
android:textAlignment="viewStart"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:textSize="18sp"
|
|
android:padding="@dimen/dynamic_grid_edge_margin"
|
|
launcher:iconDisplay="hero_app"
|
|
android:drawableTint="?android:attr/textColorPrimary"
|
|
launcher:customIcon="@drawable/ic_allapps_search"
|
|
launcher:iconSizeOverride="24dp"
|
|
launcher:matchTextInsetWithQuery="true"
|
|
launcher:layoutHorizontal="true"
|
|
android:drawablePadding="@dimen/dynamic_grid_icon_drawable_padding">
|
|
|
|
</com.android.launcher3.views.SearchResultSuggestion> |