Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84e19a9b authored by fbaron's avatar fbaron Committed by Federico Baron
Browse files

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
parent 45a10468
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -17,6 +17,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    android:shape="rectangle">
    <solid android:color="@android:color/transparent" />
    <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" />
    <stroke android:width="2dp" android:color="?attr/workspaceAccentColor" />
</shape>
</shape>
 No newline at end of file
+1 −1
Original line number Original line Diff line number Diff line
@@ -17,5 +17,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    android:shape="rectangle">
    <solid android:color="?attr/workspaceAccentColor" />
    <solid android:color="?attr/workspaceAccentColor" />
    <corners android:radius="28dp" />
    <corners android:radius="@dimen/drop_target_button_frame_radius" />
</shape>
</shape>
 No newline at end of file
+1 −0
Original line number Original line Diff line number Diff line
@@ -233,6 +233,7 @@
    <dimen name="drop_target_button_drawable_padding">8dp</dimen>
    <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_horizontal_padding">16dp</dimen>
    <dimen name="drop_target_button_drawable_vertical_padding">8dp</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_gap">28dp</dimen>
    <dimen name="drop_target_button_workspace_edge_gap">0dp</dimen>
    <dimen name="drop_target_button_workspace_edge_gap">0dp</dimen>