Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey
Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

I am trying diligently to update my app to API 35 with edge-to-edge support. I've tried to follow the official Android documentation here: https://developer.android.com/develop/ui/views/layout/edge-to-...
Geoff Draper's user avatar
1 vote
0 answers
26 views

Goal: change system navigation bar icon color from black (dark) to white (light) Tried: WindowInsetsControllerCompat(window, window.decorView).isAppearanceLightNavigationBars = false Device: Samsung Z ...
Sam Chen's user avatar
  • 9,148
0 votes
1 answer
60 views

I'm working with Android 15's edge-to-edge enforcement and need clarification on how enableEdgeToEdge() interacts with the windowOptOutEdgeToEdgeEnforcement theme attribute. Setup In my theme: <...
Adam's user avatar
  • 1
0 votes
0 answers
240 views

I have developed MAUI app using Visual Studio 2022 v 17.14.16 and .NET 9 framework. To enable edge to edge I have done this with below code in MainActivity.cs file. protected override void OnCreate(...
BSB's user avatar
  • 277
0 votes
0 answers
105 views

I’m migrating my app to Android SDK 35 and ran into the classical problem of elements being displayed underneath the Status Bar and Navigation Bar. I started using Insets to add padding and it is ...
Leonardo Sibela's user avatar
-1 votes
1 answer
100 views

In a FragmentActivity, I try to set insets to correct the edge to edge appearance of my app. To do this, I copy the following code taken from Edge to edge display in my onCreate function : ...
Zelig's user avatar
  • 1,820
0 votes
1 answer
511 views

I have a question. I would like to disable the edge-to-edge padding in BottomSheetDialogFragment(). I’ve currently done it like this. I should mention that we have to handle onConfigurationChange for ...
Lukas Niemeyer's user avatar
3 votes
0 answers
219 views

I struggle with a edge-to-edge issue and it seems impossible to me. I have the feelings Google devs have forgotten something for this update… Maybe this is just a skill issue from my side. Since ...
JULIEN DUMONT's user avatar
1 vote
1 answer
80 views

The problem is simple : We usually wrap our entire app with a scaffold at topmost parent like this : MyTheme { Scaffold { paddingWithInsets -> MyApp(modifier = Modifier.padding(...
Sevban Bayır's user avatar
0 votes
0 answers
126 views

I have a view which is fully coded in Java public class SurvivorLayout extends RelativeLayout { public SurvivorLayout(Context context, final List<Survivor> list) { super(context); ...
Learn2Code's user avatar
  • 2,320
2 votes
0 answers
206 views

In Android API < 35, when tapping an EditText inside a ScrollView, the system automatically: Kept the cursor visible Resized the view Showed the keyboard without layout glitches Example (pre-API ...
Cheok Yan Cheng's user avatar
1 vote
2 answers
352 views

I am working on edge-to-edge, API 35, for a Material 2, Java Android project. I use the following guideline when performing edge-to-edge setup AppBarLayout = android:fitsSystemWindows="true"...
Cheok Yan Cheng's user avatar
0 votes
0 answers
180 views

I am working on edge-to-edge, API 35, for a Material 2, Java Android project. I use the following guideline when performing edge-to-edge setup AppBarLayout = android:fitsSystemWindows="true"...
Cheok Yan Cheng's user avatar
1 vote
1 answer
63 views

When using the LazyColumn the navigation bar presents a translucent style, when using Box or a Column the navigation bar appears to be opaque, why is this difference? Shouldn't the navigation bar be ...
David's user avatar
  • 4,889
1 vote
1 answer
116 views

This code: public class TestActivity extends Activity { //onCreate EdgeToEdge.enable(this); } produces compiler error Required type: ComponentActivity, Provided: TestActivity ...
A.G.'s user avatar
  • 2,247
0 votes
0 answers
47 views

I set the StatusBar to translucent in order to draw the app's content under the status bar (on Android 14 and earlier — Android 15 enforces edge-to-edge design by default). According to the React ...
ismail ouzzine's user avatar
0 votes
0 answers
53 views

I tried running my Android application on newer SDK versions (like API 35), and I noticed that the app is now displaying in full screen — even drawing content under the system status bar. Previously, ...
Rohan Pande's user avatar
1 vote
1 answer
125 views

I'm struggling with the new edge-to-edge display introduced by default with SDK 36. My scroll view contents are behind the navigation bar even when scrolled to the bottom. I had a look at the "...
Schorschii's user avatar
2 votes
2 answers
1k views

I have the following problem in my application in Android API Version 15 The beginning of the layout is not visible because it is hidden behind the action bar When I add a top margin, it will show ...
michel nialon's user avatar
0 votes
1 answer
342 views

I am trying to implement the following code to handle Insets in Android 15 targeting API level 35: ViewCompat.setOnApplyWindowInsetsListener(gridView, (v, windowInsets) -> { Insets insets = ...
Mario S's user avatar
  • 301
1 vote
2 answers
363 views

I'm developing a NativeScript application and recently upgraded my target SDK from 34 to 35 (Android 15 Preview). After this change, I noticed that the app layout started drawing behind the status bar ...
saurav singh's user avatar
3 votes
0 answers
370 views

I have implemented edge to edge changes in ParentActivity ViewCompat.setOnApplyWindowInsetsListener(rootView, (v, insets) -> { Insets systemBars = insets.getInsets(WindowInsetsCompat.Type....
Sopnil.Shinde's user avatar
1 vote
2 answers
97 views

System bar paddings are not applied to FloatingActionButton in landscape orientation even though composable is placed into Scaffold and contentWindowInsets of Scaffold set to WindowInsets.safeDrawing. ...
Raheem's user avatar
  • 683
1 vote
1 answer
628 views

I'm trying to set the compileSdkVersion to 35 and handling the new edge-to-edge requirement. Project is a quite large project that started in 2012, so it's using Java/Views (no compose, no Kotlin). ...
Stéphane's user avatar
  • 1,572
2 votes
0 answers
152 views

My Flutter app already uses compileSdk and targetSdkVersion of 35, and I am using Android Virtual Device (AVD) of API level 35. (So, I am sure they are edge-to-edge capable?!) I started out my apps at ...
rusty's user avatar
  • 1,231
0 votes
0 answers
138 views

I'm facing an issue with ScrollView in my newly created Android app. Previously, ScrollView worked perfectly in my projects, but now with the introduction of Edge-to-Edge in Android, ScrollView is not ...
Mamta's user avatar
  • 45
-1 votes
1 answer
163 views

I'm having issues with edge-to-edge and OS Dark Theme. I'm using Modifier.safeDrawingPadding() It is explained here. this ensures that interactable elements don't overlap with the system UI, it also ...
NullPointerException's user avatar
7 votes
1 answer
5k views

I am unable to get rid of this error. Could anyone please suggest me what shall I do? Screenshot of the error generated by google play console: Here is the code snippet: SystemUiOverlayStyle ...
Dipesh Adhikari's user avatar
1 vote
2 answers
1k views

I create an jetpack compose app target at api 35 which has bottom navigation.In MainActivity.kt, I have enableEdgeToEdge( statusBarStyle = SystemBarStyle.light(Color.TRANSPARENT, Color....
verybusy's user avatar
0 votes
1 answer
146 views

I need to set a gradient as the background of the AppBarLayout. The issue being that the title overlays the status bar when the edge-to-edge mode is enabled. If fitsSystemWindows is set, white space ...
Viewed's user avatar
  • 1,453
1 vote
1 answer
383 views

I have a video player library and currently is experiencing issues with the enforced Edge-to-Edge. Video controls and other views go behind the navigation bar and app bar. I want to solve this issue ...
Addev's user avatar
  • 32.4k
7 votes
1 answer
512 views

I've used various fragments where the entire background (fullscreen) is a single colour - say green. This has worked well on every version up until API 35, which introduced this EdgeToEdge ...
Vauxe's user avatar
  • 71
0 votes
0 answers
169 views

I am trying to make my MaterialToolbar fill the system bar with its background color. From what I understand, this should work automatically on SDK 35 without any additional actions. However, I’m ...
Tvinkvinter's user avatar
7 votes
0 answers
1k views

In my Android app, I am currently using the following deprecated APIs for edge-to-edge and system UI customizations: android.view.Window.setDecorFitsSystemWindows android.view.Window.setStatusBarColor ...
Sanjay Bhalani's user avatar
0 votes
1 answer
307 views

How could I disable edge-to-edge in API 35 so that layer elements is missing in the status bar, or how to set top margins for elements ( android:layout_marginTop ) below of the status bar? Height of ...
ngro's user avatar
  • 11
7 votes
4 answers
2k views

I have this code for enabling edge-to-edge in my BaseActivity.kt class override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) Log.d(Const.TAG_ACTIVITY, String....
Nazar Taraniuk's user avatar
2 votes
1 answer
1k views

I have an app consisting only of a webview. I'm trying it to update for Android 15 with edge to edge. Below the current code from layout/webview.xml and MainActivity.kt. It worked well on Android 14. &...
Lorenz Meyer's user avatar
  • 20.1k
0 votes
1 answer
456 views

After adding top.inset to top appbar the statusbar has some kind of lag when scrolling and it changes colors. How can I solve this? override fun onCreate(savedInstanceState: Bundle?) { super....
Thrower's user avatar
-1 votes
1 answer
985 views

i want to make my app edge to edge . i call enableEdgeToEdge() and my screen extends over statusBar but not navigationBar . my screen layout doesn't go under the navigation bar . shouldn't edge to ...
sepideh's user avatar
  • 59
16 votes
3 answers
20k views

I have a Pixel 6 device and updated today Android version to 15. I test a simple activity for Android 15 and see that a part of top TextView is hiden. I guess this is a bug of edge-to-edge mode. How ...
Style-7's user avatar
  • 1,408
5 votes
3 answers
3k views

In Android 15, edge-to-edge mode is enabled by default, and I am unable to disable it. I'm using the Stripe Payment Drop-in UI, but the issue I'm facing is that the activity is covering both the ...
Omer's user avatar
  • 754
22 votes
4 answers
27k views

After updating my SDK to version 35, I noticed that my app's UI now starts directly from the top of the display, including behind the status bar. Previously, the design started below the status bar. ...
Vijayadhas Chandrasekaran's user avatar
0 votes
1 answer
58 views

I set the centerInParent option to true for rl_container, which has a parent RelativeLayout. but even though the width and height of rl_container are match_parent, it doesn't fill the screen as shown ...
KimT's user avatar
  • 1
5 votes
1 answer
3k views

Developing for Android 13, I can make the activity to fullscreen by using EdgeToEdge.enable((ComponentActivity) this); . But for a dialog no matter how I tried, like https://stackoverflow.com/a/...
Yeung's user avatar
  • 2,318
2 votes
0 answers
2k views

I'm working on an Android app with an activity that contains a bottom navigation bar and three fragments. I want my HomeFragment to have an edge-to-edge display, but when I enable edge-to-edge mode in ...
Md. Rahadul Islam Rahad's user avatar
0 votes
2 answers
4k views

How to get perfect fullscreen (edge to edge) mode for flutter? With native, it's very easy to do the image below, the target is the statusbar, the system only displays text, icons, and the bottom ...
Tien's user avatar
  • 3
4 votes
1 answer
9k views

I am still using xml for view but when now I create a new activity it auto fills the enableEdgeToEdge. I am not sure what it is and what's the use of it can I remove it will that affect the activity I ...
Infoneo Android's user avatar
1 vote
1 answer
1k views

I would like to display a modal bottom sheet above the system navigation bar when using edge-to-edge display. I mean the system navigation bar and the bottom navigation bar. Here is how I set up the ...
DeKekem's user avatar
  • 1,835
1 vote
1 answer
2k views

While rendering the first frame of an edge-to-edge application with Jetpack Compose, the height of the statusbar is ignored, resulting in jerking of UI. How to solve this? First vs next frames: This ...
mxkmn's user avatar
  • 642
2 votes
1 answer
2k views

How to determine in my fragment that in activity enabled edge-to-edge with function WindowCompat.setDecorFitsSystemWindows(window, false) Any ideas? Is it possible to get the value of WindowCompat....
Alex F.'s user avatar
  • 211