mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
spec: https://docs.google.com/presentation/d/1tTODboxGqJ3ypEyYnr0-bUpSXcvX1cl6Sj8y0Nut5hU/edit?resourcekey=0-9GT8EJG43kTT4aKPWVWRig#slide=id.g2df5f2c9773_4_0 CloseButtonColor to be scLOW CloseIconColor to be onSurface bug: 342246204 Test: manually photos: beforeLT: https://drive.google.com/file/d/14O61WzHmeAhOdGirUci2u9vot3FWcSKo/view?usp=sharing beforeDT: https://drive.google.com/file/d/1Dt75_sRIWNHMuwqnYzE1WvjRTZFHWJ8-/view?usp=sharing afterLT: https://drive.google.com/file/d/1npg-icWcsEN5OCgMtP1oU7mB-gGuT6_n/view?usp=sharing afterDT: https://drive.google.com/file/d/11LTC_61QTg4tX0SUO23cAbLaP7aoSnh-/view?usp=sharing Flag: NONE Color change Change-Id: I0c47c927c5c8094a018e6f18061e99fc4bd901de
61 lines
2.8 KiB
XML
61 lines
2.8 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.allapps.WorkEduCard xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/work_edu_card_margin"
|
|
android:paddingBottom="@dimen/work_edu_card_bottom_margin"
|
|
android:gravity="center">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:background="@drawable/work_card"
|
|
android:layout_gravity="center_horizontal"
|
|
android:paddingEnd="@dimen/work_card_margin"
|
|
android:paddingStart="@dimen/work_card_margin"
|
|
android:paddingTop="@dimen/work_card_margin"
|
|
android:paddingBottom="@dimen/work_card_margin"
|
|
android:id="@+id/wrapper">
|
|
<TextView
|
|
style="@style/PrimaryHeadline"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
android:id="@+id/work_apps_paused_title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:paddingEnd="@dimen/work_edu_card_text_end_margin"
|
|
android:text="@string/work_profile_edu_work_apps"
|
|
android:textDirection="locale"
|
|
android:textSize="18sp" />
|
|
<FrameLayout
|
|
android:layout_width="@dimen/rounded_button_width"
|
|
android:layout_height="@dimen/rounded_button_width"
|
|
android:background="@drawable/rounded_action_button"
|
|
android:padding="@dimen/rounded_button_padding">
|
|
<ImageButton
|
|
android:id="@+id/action_btn"
|
|
android:layout_width="@dimen/x_icon_size"
|
|
android:layout_height="@dimen/x_icon_size"
|
|
android:scaleType="centerInside"
|
|
android:layout_gravity="center"
|
|
android:contentDescription="@string/accessibility_close"
|
|
android:background="@android:color/transparent"
|
|
android:src="@drawable/ic_close_work_edu" />
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
</com.android.launcher3.allapps.WorkEduCard>
|