410 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
63
views
How to prevent Android from showing the StatusBar when pressing the Recent Apps button?
When my Activity runs in landscape orientation in Immersive mode, no status bar is visible. (This is the expected behavior).
But when the Recent Apps button is pressed, the status bar on the top of ...
1
vote
0
answers
95
views
Android 15: Status bar turns black when ActionMode is opened from Fragment (works fine in Android 14)
I'm using a Fragment where I start an ActionMode (contextual action bar) like this:
private fun startActionMode() {
actionMode = (requireActivity() as AppCompatActivity).startSupportActionMode(...
1
vote
1
answer
1k
views
Why is my content overlapping with the status bar in React Native, and how can I fix it?
I'm facing an issue where the status bar is overlapping the content in my React Native app. I already used SafeAreaView from react-native-safe-area-context, but it doesn't seem to work — the content ...
0
votes
0
answers
110
views
Expo-Status-Bar Icons Refuse to Stay Dark, Keep Defaulting To Device Light/Dark Mode Setting
This issue has been plaguing me and I feel like there must be an easy explanation. I'm trying to get my status bar icons (battery life, wifi icon, notifications, etc) to always be dark/black, but they ...
0
votes
0
answers
33
views
Where is status bar overlay coming from on IME pupup?
I have an input box that when clicked on pops-up the soft keyboard and an overlay over the status bar renders at the same time. But when the input box loses focus, the keyboard hides but the overlay ...
0
votes
0
answers
78
views
How to remove transient displaying in top of status bar in android?
In car, there is an overlay displaying on top of status bar for applications in full screen when swipe down on top of status bar. Again when swipe down, notification panel is displaying.
But I want to ...
6
votes
1
answer
2k
views
How to change status bar color in Android 15 during ActionMode
I'm using
'com.google.android.material:material:1.12.0'
and
'androidx.appcompat:appcompat:1.7.0'
I have a fragment which contains a recycler view. When I select an item (long press) in the ...
1
vote
1
answer
128
views
Black status bar on setting it to immersiveSticky
I tried removing the status bar on my app and the solution I found included:
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
but the Problem is when I set this either in the main() ...
1
vote
0
answers
424
views
How to change status bar icon´s color in Android?
ANSWER 09/09/24
In Kotlin I have used the following code in my Fragmet to set the status bar color to white or black depending on my necessities:
override fun onAttach(context: Context) {
...
-1
votes
1
answer
203
views
Android Compose: how can i code a fullScreen Dialog(no statusbar)
I need to add a fullscreen blurred background to the dialog.
but I'm unable to hide the status bar or draw beneath it.
How should I resolve this?
Here's the code:
Dialog(
onDismissRequest = ...
20
votes
5
answers
19k
views
How to preserve the space of the status bar? (Android 15+)
Android 15 suggests to use enableEdgeToEdge(), but this removes the top offset of the status bar, causing the main content to overlap with it.
What is the best way to preserve the height of the status ...
69
votes
18
answers
53k
views
How to change the status bar color in Android 15+?
For Android 14 or below, it can be done with: window.statusBarColor = Color.RED, after upgrading to Android 15, this is deprecated and doesn't work.
In Android Studio, it recommends to use:
Draw ...
0
votes
3
answers
669
views
How to show ongoing call timer in android status bar like whats app
I am developing VOIP calling application and I want to show timer on "status bar" for active ongoing call like whats app (highlighted in pink circle attached screenshot)
Does anyone know ...
0
votes
1
answer
90
views
Layout (Cardview) overlapping below Status bar
I'm trying to show notifications using Card view with animations but status bar closing it!
I don't know what the problem is. I have tried several ways to solve the problem (listed below).
I also ...
1
vote
1
answer
1k
views
Jetpack Compose how to reverse edge-to-edge when leaving composition
I want to achieve an edge-to-edge screen (only for a specific screen in the app) and I am using ComponentActivity enableEdgeToEdge() method. I want to restore the previous setting when navigating out ...