+108
−17
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
These zero-sized views tend to make keyboard navigation difficult for users since focus "disappears" sometimes. This takes a best-effort approach for focus requested prior to layout: If a View hasn't been laid-out and is asked to take focus, it will act as though this size constraint doesn't exist. Then, upon layout, it will defocus itself if it still has no size. Bug: 32072305 Test: Added CTS View_FocusHandlingTest#testSizeHandling Change-Id: I82fee246bdf4964fe744142876da88ae79e491f0