Willie Koomson 14c321de31 Fix resize frame corner radius for widgets added with button
Before this CL, the resize frame showed a mismatched corner radius
for widgets that have a non-default corner radius, when using the
add button. This is because widgets added with the button may not have
had `onLayout` called before the resize frame is set up.

This change adds a layout listener to the widget view, so that the frame
can set its corner radius once the view has been laid out.

Bug: none
Test: manual test
Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add NEXTFOOD
Change-Id: Ia9c37ae595be48e4ecab7930e17efca9a27ed05d
2024-05-02 19:55:41 +00:00
2024-04-23 23:05:14 +01:00
2023-12-07 13:04:23 -08:00
2024-05-02 19:55:33 +00:00
2024-01-23 15:55:40 -08:00
2019-11-25 20:24:07 +09:00
2024-03-22 15:45:32 -07:00
2023-10-20 10:09:12 -07:00
S
Description
No description provided
658 MiB
Languages
Java 57.2%
Kotlin 42.4%
AIDL 0.3%