mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 22:23:44 +00:00
[Android] Fixes Improper Application of insets on Android 5&6
Signed-off-by: hemanggs <hemangmanhas@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
5a1c9fe6f3
commit
b6ab812e0a
@@ -481,6 +481,8 @@ public class MapButtonsController extends Fragment
|
||||
.setAllSides()
|
||||
.build();
|
||||
ViewCompat.setOnApplyWindowInsetsListener(mFrame, insetsListener);
|
||||
// Fixes insets on older Androids and with a search opened via API on all Androids.
|
||||
mFrame.post(() -> ViewCompat.requestApplyInsets(mFrame));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user