Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 15. Edge to edge mode hide a top View

I have a Pixel 6 device and updated today Android version to 15.

I test a simple activity for Android 15 and see that a part of top TextView is hiden.

I guess this is a bug of edge-to-edge mode.

How to disable this mode or fix this problem?

I tryed many ways to show system bar but it always invisible.

enter image description here

like image 371
Style-7 Avatar asked Dec 20 '25 04:12

Style-7


1 Answers

You can use below line in the parent view of your activity and it should work.

android:fitsSystemWindows="true"

This will basically add insets to your view

like image 106
CHETAN URKUDE Avatar answered Dec 22 '25 19:12

CHETAN URKUDE



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!