Fix droptarget button wrong radius on hover

Fix: 277470359
Test: drag app to uninstall or remove on tablet, verify the button shape doesn't change when hovered over
Change-Id: I6b8b2de7357f8d19cdee7632a9957624a3f242a1
This commit is contained in:
fbaron
2023-04-13 12:09:06 -07:00
committed by Federico Baron
parent 45a10468b2
commit 84e19a9bea
3 changed files with 3 additions and 2 deletions

View File

@@ -17,6 +17,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@android:color/transparent" />
<corners android:radius="80dp" />
<corners android:radius="@dimen/drop_target_button_frame_radius" />
<stroke android:width="2dp" android:color="?attr/workspaceAccentColor" />
</shape>

View File

@@ -17,5 +17,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="?attr/workspaceAccentColor" />
<corners android:radius="28dp" />
<corners android:radius="@dimen/drop_target_button_frame_radius" />
</shape>

View File

@@ -233,6 +233,7 @@
<dimen name="drop_target_button_drawable_padding">8dp</dimen>
<dimen name="drop_target_button_drawable_horizontal_padding">16dp</dimen>
<dimen name="drop_target_button_drawable_vertical_padding">8dp</dimen>
<dimen name="drop_target_button_frame_radius">80dp</dimen>
<dimen name="drop_target_button_gap">28dp</dimen>
<dimen name="drop_target_button_workspace_edge_gap">0dp</dimen>