Skip to main content
0 votes
0 answers
29 views

I have an activity and inside this using Fragment with ConstraintLayout container. I enabled left navigation bar with swipe right but I am not able to dismiss it or know if it's dismissed as per my ...
Bajrang Hudda's user avatar
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
0 votes
0 answers
64 views

I wanted to observe window inset for navigation bar and ime. used below snippet. in android API 30, listener is triggered when keyboard is opened or closed. the same code not working in API level 29. ...
gowtham6672's user avatar
  • 1,077
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
3 votes
1 answer
105 views

There are several definitions: https://developer.android.com/develop/ui/views/layout/insets Together, the status bar and the navigation bar are called the system bars. https://developer.android.com/...
A.G.'s user avatar
  • 2,247
2 votes
2 answers
90 views

For the migration to Android 16 of my app, I tested it on a virtual device with a screen that features large radius rounded corners. I found out my views were nibbled by the rounded corners. To avoid ...
Simon W's user avatar
  • 101
3 votes
0 answers
367 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
5 answers
1k views

I'm using Jetpack Compose and recently enabled enableEdgeToEdge() in my MainActivity. After doing this, I noticed that the content inside my Scaffold is going behind the status bar on Android 15 (API ...
Vivek Modi's user avatar
  • 7,859
3 votes
1 answer
904 views

I have a app our company puts out and I can't seem to get the insets right for dialogs for Android 15 edge to edge. We have a NAvHost that navigates sometimes to composables and sometimes to dialogs. ...
Kristy Welsh's user avatar
  • 8,449
0 votes
0 answers
93 views

How to change color of notification icons in status bar android 15? Please find below code: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.VANILLA_ICE_CREAM) { getWindow().getDecorView()....
Vishal's user avatar
  • 42
0 votes
0 answers
139 views

I try to implement window insets listener to listen keyboard show/hide on specific Fragment. It works well on the Fragment, but my Bottom Navigation is gone. Here is my Fragment XML. I add android:...
fanjavaid's user avatar
  • 1,746
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
6 votes
1 answer
745 views

I've seen a lot of people struggling with the windowinsets in Android. The biggest problem is most of the time that there getting 0 returned as there value. I've had this issue too and found a ...
Bram Jongebloet's user avatar
4 votes
1 answer
917 views

I've adapted my activity to respect insets (system bars) using the common suggested approach (sharing for reference): ViewCompat.setOnApplyWindowInsetsListener(root, new OnApplyWindowInsetsListener() {...
Sergey Emeliyanov's user avatar
2 votes
1 answer
1k views

I’ve been trying to solve an inset with problem Jetpack Compose and I’m completely stuck. I’m having a hard time understanding what’s wrong with my implementation, as this was all very straightforward ...
Rui Almeida's user avatar

15 30 50 per page
1
2 3 4 5
7