Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
0 answers
63 views

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 30 50 per page
1
2 3 4 5
...
28

AltStyle によって変換されたページ (->オリジナル) /