NativeAlphaForAndroid icon indicating copy to clipboard operation
NativeAlphaForAndroid copied to clipboard

Android 15 enforces edge to edge mode

Open Quackdoc opened this issue 11 months ago • 1 comments

Thanks to Android 15 enforcing edge to edge mode, native alpha now renders underneath the cut out and navbar and now needs windowOptOutEdgeToEdgeEnforcement https://developer.android.com/reference/android/R.attr#windowOptOutEdgeToEdgeEnforcement

Quackdoc avatar Jan 12 '25 20:01 Quackdoc

This would be useful under the settings for each individual link a user has set up so it can be turned on or off as needed. In the dev docs, I saw this statement. "If this is true, the edge-to-edge enforcement won't be applied. However, this attribute will be deprecated and disabled in a future SDK level." Maybe there is a better way, like a toggle to enable padding on top and bottom of layout?

RPLgrime avatar Feb 10 '25 13:02 RPLgrime

Another vote for adding a setting for this. Websites with a search bar or similar elements in the top are currently unusable unfortunately.

birkenfeld avatar Feb 28 '25 14:02 birkenfeld

I also have the display issue with Android 15. Recently, Motorola updated Android to version 15.

With Android 14, the app worked very well.

Now there is the Android top and bottom bar above the app (the main window is behind the Android bars) and also for websites.

When I was on Android 14, I had disabled immersive mode; otherwise, for some websites, the input area being at the bottom of the screen, the keyboard would cover the input area and I couldn't see the text in the input field.

Today, I was forced to enable immersive mode because otherwise there is the Android top bar at the top of the screen and the Android bottom bar at the bottom of the screen. These Android bars prevent me from clicking on buttons or menus on the website because they appear above the fullscreen window of the website.

The second problem with Android 15 is that when the keyboard appears, it hides the input area since the input field is located at the bottom of the screen. Previously, the input area would move above or to the top of the keyboard under Android 14. So I have to enable a floating keyboard.

This app is very useful, and I look forward to a fix for this issue.

Screenshot_20250316-192810.Native Alpha +.png

franco27 avatar Mar 16 '25 20:03 franco27

app is dead because of that

xx-5 avatar Mar 24 '25 12:03 xx-5

Sorry it took so long to fix, the problem was the old adblock engine was no longer available and I did not want to release an update with less functionality then before.

This issue itself is easy to fix by setting a flag, I am not really fond of this edge-to-edge enforcement and will postpone the change for the moment.

Everything is looking good now, if everything goes to plan the update should be online in a few days 🙂

Closing as duplicate in the meantime.

cylonid avatar Apr 13 '25 10:04 cylonid