Merge "Add rounded corners to TaskMenu Items" into sc-dev am: 646fdb802e

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15084517

Change-Id: I8653affe62c07a1d8c86c5b0c72ee4a6752423bc
This commit is contained in:
Vinit Nayak
2021-06-24 20:23:28 +00:00
committed by Automerger Merge Worker
4 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
<?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">
<solid android:color="?android:attr/colorPrimary"/>
<corners android:radius="@dimen/task_menu_item_corner_radius"/>
</shape>

View File

@@ -25,7 +25,7 @@
<TextView
android:id="@+id/task_name"
android:background="?android:attr/colorPrimary"
android:background="@drawable/task_menu_item_bg"
android:textColor="?android:attr/textColorPrimary"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@@ -21,7 +21,7 @@
android:orientation="vertical"
android:paddingTop="@dimen/task_card_menu_option_vertical_padding"
android:paddingBottom="@dimen/task_card_menu_option_vertical_padding"
android:background="?android:attr/colorPrimary"
android:background="@drawable/task_menu_item_bg"
android:theme="@style/PopupItem" >
<View

View File

@@ -24,6 +24,7 @@
<!-- Task Menu View -->
<dimen name="task_menu_corner_radius">22dp</dimen>
<dimen name="task_menu_item_corner_radius">4dp</dimen>
<dimen name="overview_proactive_row_height">48dp</dimen>
<dimen name="overview_proactive_row_bottom_margin">16dp</dimen>