2020-01-21 09:58:14 -08:00
|
|
|
<?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.
|
|
|
|
|
-->
|
2021-06-14 18:27:44 -05:00
|
|
|
<com.android.launcher3.allapps.WorkPausedCard xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-01-21 09:58:14 -08:00
|
|
|
android:layout_width="match_parent"
|
2021-06-14 18:27:44 -05:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:padding="@dimen/work_edu_card_margin"
|
2020-01-21 09:58:14 -08:00
|
|
|
android:orientation="vertical"
|
2021-06-18 17:23:48 -05:00
|
|
|
android:gravity="center_horizontal">
|
2020-01-21 09:58:14 -08:00
|
|
|
|
|
|
|
|
<TextView
|
2020-04-12 18:14:43 -07:00
|
|
|
style="@style/PrimaryHeadline"
|
2020-02-04 12:08:11 -08:00
|
|
|
android:textColor="?attr/workProfileOverlayTextColor"
|
2020-01-21 09:58:14 -08:00
|
|
|
android:id="@+id/work_apps_paused_title"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2021-06-18 17:23:48 -05:00
|
|
|
android:layout_marginTop="40dp"
|
2020-01-21 09:58:14 -08:00
|
|
|
android:text="@string/work_apps_paused_title"
|
|
|
|
|
android:textAlignment="center"
|
2021-08-23 15:19:34 -07:00
|
|
|
android:textSize="18sp" />
|
2020-01-21 09:58:14 -08:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-09 11:37:23 -07:00
|
|
|
android:id="@+id/work_apps_paused_content"
|
2021-06-30 12:18:22 -05:00
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
2020-01-21 09:58:14 -08:00
|
|
|
android:text="@string/work_apps_paused_body"
|
|
|
|
|
android:textAlignment="center"
|
2021-06-18 17:23:48 -05:00
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:layout_marginBottom="24dp"
|
2021-06-30 12:18:22 -05:00
|
|
|
android:textSize="14sp" />
|
2021-06-14 18:27:44 -05:00
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:layout_width="wrap_content"
|
2021-06-18 17:23:48 -05:00
|
|
|
android:layout_height="@dimen/rounded_button_height"
|
2021-06-14 18:27:44 -05:00
|
|
|
android:id="@+id/enable_work_apps"
|
|
|
|
|
android:textColor="?attr/workProfileOverlayTextColor"
|
|
|
|
|
android:text="@string/work_apps_enable_btn_text"
|
|
|
|
|
android:textAlignment="center"
|
2021-06-16 09:46:25 -05:00
|
|
|
android:background="@drawable/rounded_action_button"
|
2021-07-02 12:38:49 -05:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
2021-06-14 18:27:44 -05:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
</com.android.launcher3.allapps.WorkPausedCard>
|