mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Screenshot: https://screenshot.googleplex.com/tjk37GfrRhO Bug: 152361557 Test: Manual Change-Id: I30fffd0af8f4768ac20e6d13899d0e0182b0dec8
61 lines
2.5 KiB
XML
61 lines
2.5 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.WorkEduView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:gravity="bottom"
|
|
android:orientation="vertical">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="32dp"
|
|
android:background="@drawable/bottom_sheet_top_border"
|
|
android:backgroundTint="?attr/eduHalfSheetBGColor" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/view_wrapper"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/eduHalfSheetBGColor"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="@dimen/bottom_sheet_edu_padding"
|
|
android:paddingRight="@dimen/bottom_sheet_edu_padding">
|
|
|
|
<TextView
|
|
android:id="@+id/content_text"
|
|
style="@style/TextHeadline"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="48dp"
|
|
android:layout_marginBottom="48dp"
|
|
android:gravity="center"
|
|
android:text="@string/work_profile_edu_personal_apps"
|
|
android:textAlignment="center"
|
|
android:textColor="@android:color/white"
|
|
android:textSize="20sp" />
|
|
|
|
<Button
|
|
android:id="@+id/proceed"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="48dp"
|
|
android:layout_gravity="end"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:gravity="center"
|
|
android:text="@string/work_profile_edu_next"
|
|
android:textAlignment="center"
|
|
android:textColor="@android:color/white" />
|
|
</LinearLayout>
|
|
</com.android.launcher3.views.WorkEduView> |