Skip to content
Tobias Røikjer edited this page Apr 7, 2015 · 6 revisions

Hot Topics

The topics on this page change regularly. Beware of linking directly to topic headers.

1. Incorrect coordinates for floating dialogs

When working with dialogs on Android lower than 4.2, be sure to hide the keyboard before opening the dialog and before touching anything. Android < 4.2 has a bug that affects floating dialogs. When the keyboard appears, the dialog will be pushed upwards, but the coordinates of the views will not change. Solution:

Use hide_soft_keyboard before issuing a gesture when working with a dialog.

This can also happen on newer devices, if the keyboard is showing before a dialog is opened, but immediately closed afterwards. The solution remains the same.

Clone this wiki locally