android: Apply UI changes for edge-to-edge views in Android 15+
When targeting Android 15, edge-to-edge is the default and when targeting Android 16, apps can't opt-out from this anymore. So we update our views and enable edge-to-edge also for older versions (avoids the black bar behind the system UI at the bottom). For most views we just use automatic margins via android:fitsSystemWindows (or programmatically via setDecorFitsSystemWindows). However, for the profile lists and log views, we take some extra measures that allow the lists to go behind the bottom system UI. Appropriate padding is applied at the bottom of the lists so the last item(s) can be scrolled into full view.
This commit is contained in:
1 parent
216a9dbb8d
commit
2404b2bee6
25 files changed
+114
-24
No files matched your search
@@ -46,6 +46,7 @@ android {
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.appcompat:appcompat:1.7.1'
|
||||
implementation 'androidx.core:core:1.17.0'
|
||||
implementation 'androidx.lifecycle:lifecycle-process:2.9.4'
|
||||
implementation 'androidx.preference:preference:1.2.1'
|
||||
implementation 'com.google.android.material:material:1.13.0'
|
||||
|
||||
Reference in new issue
Block a user