57 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
54
views
Android: Content is hidden behind the app bar in edge-to-edge mode
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-...
1
vote
0
answers
32
views
Android "isAppearanceLightNavigationBars" Doesn't Work on API 36
Goal: change system navigation bar icon color from black (dark) to white (light)
Tried: WindowInsetsControllerCompat(window, window.decorView).isAppearanceLightNavigationBars = false
Device: Samsung Z ...
0
votes
1
answer
69
views
Does enableEdgeToEdge() override windowOptOutEdgeToEdgeEnforcement flag?
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:
<...
1
vote
0
answers
344
views
Enable edge to edge display is not working if Shell has Flyout behavior in MAUI app
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(...
0
votes
0
answers
122
views
Compose Dialog bottom sheet bellow Navigation Bar after SDK 35 migration (Insets = 0)
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 ...
-1
votes
1
answer
104
views
Edge to edge display [closed]
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 :
...
0
votes
1
answer
627
views
Edge to Edge Android 16 API 36 BottomSheetDialogFragment Problems Solutions
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 ...
4
votes
0
answers
248
views
How to use/make adjustPan behavior with my activities when compile SDK is 36 and edge-to-edge enabled by default
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 ...
1
vote
1
answer
90
views
How to exclude a specific screen from WindowInsets applied on parent Composable
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(...
0
votes
0
answers
131
views
Android Studio Supporting Edge-to-Edge On Android 15+ with RelativeLayout Programmatically
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);
...
2
votes
0
answers
219
views
API 35 - Keyboard no longer auto-resizes view or scrolls to cursor
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 ...
1
vote
2
answers
382
views
API 35 - Handle edge-to-edge in PreferenceFragmentCompat during landscape mode
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"...
0
votes
0
answers
201
views
API 35 - Edge-to-edge issue for DrawerLayout/ NavigationView during landscape mode
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"...
1
vote
1
answer
71
views
Compose LazyColumn vs Column padding differs
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 ...
1
vote
1
answer
128
views
Is ComponentActivity required to handle Edge-to-Edge correctly on Android?
This code:
public class TestActivity extends Activity {
//onCreate
EdgeToEdge.enable(this);
}
produces compiler error
Required type: ComponentActivity, Provided: TestActivity
...