[Android] Fixes Improper Application of insets on Android 5&6

Signed-off-by: hemanggs <hemangmanhas@gmail.com>
This commit is contained in:
hemanggs
2025-06-07 19:31:50 +05:30
committed by Konstantin Pastbin
parent 5a1c9fe6f3
commit b6ab812e0a

View File

@@ -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