mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
57 lines
2.7 KiB
XML
57 lines
2.7 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
||
|
|
Copyright (C) 2023 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.quickstep.views.DesktopAppSelectView
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="@dimen/desktop_mode_floating_app_select_height"
|
||
|
|
android:layout_gravity="top|center_horizontal"
|
||
|
|
android:background="@drawable/bg_floating_desktop_select"
|
||
|
|
android:elevation="@dimen/desktop_mode_floating_app_select_elevation"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/desktop_app_select_text"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginEnd="@dimen/desktop_mode_floating_app_select_text_margin"
|
||
|
|
android:layout_marginStart="@dimen/desktop_mode_floating_app_select_margin"
|
||
|
|
android:drawablePadding="@dimen/desktop_mode_floating_app_select_text_margin"
|
||
|
|
android:drawableStart="@drawable/ic_desktop"
|
||
|
|
android:drawableTint="?androidprv:attr/materialColorOnPrimaryContainer"
|
||
|
|
android:fontFamily="google-sans-medium"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="@string/desktop_select_app_toast"
|
||
|
|
android:textColor="?androidprv:attr/materialColorOnPrimaryContainer"
|
||
|
|
android:textSize="@dimen/desktop_mode_floating_app_select_text_size" />
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/close_button"
|
||
|
|
style="@android:style/Widget.DeviceDefault.Button.Borderless"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginEnd="@dimen/desktop_mode_floating_app_select_margin"
|
||
|
|
android:minWidth="0dp"
|
||
|
|
android:fontFamily="google-sans-medium"
|
||
|
|
android:text="@string/desktop_button_close_app_toast"
|
||
|
|
android:textAllCaps="false"
|
||
|
|
android:textColor="?androidprv:attr/materialColorPrimary"
|
||
|
|
android:textSize="@dimen/desktop_mode_floating_app_select_text_size" />
|
||
|
|
|
||
|
|
</com.android.quickstep.views.DesktopAppSelectView>
|