Project

General

Profile

Actions

Feature #1239

open

Consider coloring the status bar while proxying on Android 15 (API >= 35)

Added by Soren Stoutner 4 days ago. Updated 1 day ago.

Status:
New
Priority:
3.x
Start date:
11/29/2024
Due date:
% Done:

0%

Estimated time:

Description

Android broke the ability to set the status bar color on Android 15 (API >= 35).

https://developer.android.com/reference/android/view/Window#setStatusBarColor(int)

This makes is so that Feature #1169: Color the status bar on proxy change only works for API < 35.

The documentation indicates it is possible to work around this by drawing a background behind WindowInsets.Type#statusBars(), but I imagine that would be complicated to implement.

I am probably unlikely to ever do anything about this, but I have created this feature request as a reminder to check periodically to see if things ever get easier (sometimes they do, especially because Android is always changing its philosophy).

Actions #1

Updated by ask low 3 days ago

Rather they suggest to use Window Insets. Can you explain what Insets are ?

Actions #2

Updated by Soren Stoutner 1 day ago

Window insets are parts of the screen the app can't use because they are being used by something else. For example, the camera punch hole, or the status bar, or the keyboard.

Actions #3

Updated by Soren Stoutner 1 day ago

  • Description updated (diff)
Actions

Also available in: Atom PDF