Bug 1883465 - Bottom Sheet in landscape should span the full screen

fenix/125.0
iorgamgabriel 2 months ago committed by mergify[bot]
parent 0b15973796
commit 63d82ce203

@ -74,6 +74,7 @@ class TranslationsDialogFragment : BottomSheetDialogFragment() {
val bottomSheet = findViewById<View?>(R.id.design_bottom_sheet)
bottomSheet?.setBackgroundResource(android.R.color.transparent)
behavior = BottomSheetBehavior.from(bottomSheet)
behavior?.peekHeight = resources.displayMetrics.heightPixels
behavior?.state = BottomSheetBehavior.STATE_EXPANDED
}
}

Loading…
Cancel
Save