mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Preview: https://drive.google.com/file/d/1eXf3K6kFh0bHcYlpwW_voSRjY9RQalJN/view?usp=sharing&resourcekey=0-IABjrtXM5JhHvSf-7yc4tg Edu can be dismissed permanently by pressing "Got it" button or typing. Swiping down defers edu until next visit to all apps - Move fallback search to quickstep Bug: 178100472 Test: Manual Change-Id: I920aab366330758e81f8b9fa62736abf82fe5cac
73 lines
2.7 KiB
XML
73 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2008 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.DeviceSearchEdu
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<FrameLayout
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/search_box_wrapper"
|
|
android:layout_width="match_parent">
|
|
|
|
<include
|
|
layout="@layout/fallback_search_input"
|
|
android:id="@+id/mock_search_box" />
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/edu_wrapper"
|
|
android:padding="24dp"
|
|
android:layout_marginTop="40dp"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent">
|
|
|
|
<TextView
|
|
style="@style/TextHeadline"
|
|
android:layout_width="match_parent"
|
|
android:gravity="center"
|
|
android:textSize="24sp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/search_edu_primary" />
|
|
|
|
<TextView
|
|
style="@style/TextHeadline"
|
|
android:layout_width="match_parent"
|
|
android:gravity="center"
|
|
android:textSize="18sp"
|
|
android:layout_marginTop="30dp"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/search_edu_secondary" />
|
|
|
|
<Button
|
|
android:id="@+id/dismiss_edu"
|
|
android:layout_width="wrap_content"
|
|
android:layout_marginTop="@dimen/dynamic_grid_edge_margin"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:text="@string/search_edu_dismiss" />
|
|
|
|
</LinearLayout>
|
|
|
|
</com.android.launcher3.search.DeviceSearchEdu> |