Files
lawnchair/res/layout/work_mode_switch.xml
vadimt 77e3e87038 Merging from ub-launcher3-master @ build 6327709
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-master_rvc-dev_6327709.html

Change-Id: I0a135e14daf3671648f02999da13d323efb5fe81
2020-03-25 06:06:46 +00:00

38 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 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.WorkModeSwitch
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/PrimaryMediumText"
android:id="@+id/work_mode_toggle"
android:drawableStart="@drawable/ic_corp"
android:drawablePadding="16dp"
android:drawableTint="?attr/workProfileOverlayTextColor"
android:textColor="?attr/workProfileOverlayTextColor"
android:layout_alignParentBottom="true"
android:ellipsize="end"
android:gravity="start"
android:lines="1"
android:showText="false"
android:textSize="16sp"
android:background="?attr/allAppsScrimColor"
android:text="@string/work_profile_toggle_label"
android:paddingBottom="@dimen/all_apps_work_profile_tab_footer_padding"
android:paddingLeft="@dimen/all_apps_work_profile_tab_footer_padding"
android:paddingRight="@dimen/all_apps_work_profile_tab_footer_padding"
android:paddingTop="@dimen/all_apps_work_profile_tab_footer_padding"
/>