Merge "Update widget suspended layout" into sc-dev am: 8de89d0fb8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14519407

Change-Id: I3aec2adefa272f3f7e1a81f0ce3829984943db25
This commit is contained in:
Steven Ng
2021-05-14 16:25:28 +00:00
committed by Automerger Merge Worker
2 changed files with 22 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 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.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="?android:attr/colorSurfaceVariant" />
<corners android:radius="@dimen/system_app_widget_background_radius" />
</shape>

View File

@@ -18,14 +18,14 @@ Copyright (C) 2015 The Android Open Source Project
android:id="@+id/work_widget_mask_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?android:attr/colorSurfaceVariant"
android:background="@drawable/work_widget_mask_view_background"
android:importantForAccessibility="noHideDescendants"
android:clickable="true">
<com.android.internal.widget.DisableImageView
android:id="@+id/work_widget_app_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="center"
android:clickable="false" />