android-video-trimmer icon indicating copy to clipboard operation
android-video-trimmer copied to clipboard

Android 15 sdk 35 edgeToEdge default setting overlap controllers

Open AntonChuraev99 opened this issue 1 year ago • 0 comments

photo_2024-11-22_09-27-12

Android 15 sdk 35 edgeToEdge Default Settings

Need to disable edge to edge or add paddings

code to add paddings

ViewCompat.setOnApplyWindowInsetsListener(
    findViewById<View>(R.id.appbar)
) { v: View, insets: WindowInsetsCompat ->
    val systemBars: Insets = insets.getInsets(WindowInsetsCompat.Type.systemBars())
    v.setPadding(0, systemBars.top, 0, 0)
    insets
}

AntonChuraev99 avatar Nov 22 '24 02:11 AntonChuraev99