Григорий Клюшников on Nostr: dansup, home timeline but it's actually on all screens. It feels like you forgot to ...
dansup, home timeline but it's actually on all screens. It feels like you forgot to set flags for your window so it doesn't extend behind the status bar. Try something like getActivity().getDecorView().setSystemUiVisibility(getActivity().getDecorView().getSystemUiVisibility() | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
Also check that you are handling the window insets correctly if you override fitSystemWindows and/or onApplyWindowInsets.
Published at
2023-09-14 03:18:02Event JSON
{
"id": "ecfe738065c1f75bca2c7a5aa5cdfe6506209208052cfdb6ff6aeeccad0043fd",
"pubkey": "28412ed72a86e68924f155676141c2a8c794ad23afccbac3771ace0f3247cd48",
"created_at": 1694661482,
"kind": 1,
"tags": [
[
"p",
"fce95231cd584e791f1f5d977ceac1ef6edb3d3a7a29ada5a657979836cbcb1f",
"wss://relay.mostr.pub"
],
[
"e",
"2a54544d4236b7947f0655102aa1e385a55b5e0460e2cbdf94dd303f04e18a2c",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://friends.grishka.me/posts/822302",
"activitypub"
]
],
"content": "dansup, home timeline but it's actually on all screens. It feels like you forgot to set flags for your window so it doesn't extend behind the status bar. Try something like getActivity().getDecorView().setSystemUiVisibility(getActivity().getDecorView().getSystemUiVisibility() | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);\nAlso check that you are handling the window insets correctly if you override fitSystemWindows and/or onApplyWindowInsets.",
"sig": "aa15c9f259dd4c31bbbfbfefbdab0cc6ee47a5db14202c818abf080aee9a2d07b37372e7ca64aa7dc8a14de9d7ac6b64a4c3dc63efa9b60195cbee52a39be13c"
}