TransWikia.com

Android. Invisible Top Bar

Stack Overflow Asked by sb69lg on November 12, 2021

Upd. Problem is solved
I have a problem with app layout: when app is running appears invisible top bar that take the place and shifts elements down. Screenshot: https://imgur.com/lnVNNCz In the ‘Design’ window I don’t see it and ‘Info’ button is located in the top of layout. Why this is happening?

2 Answers

Problem is not here. You need to search problem in root layout. If you use android:fitsSystemWindows="true", you need to remove it. Maybe, do you use coordinatorlayout?

android:fitsSystemWindows="true" //remove the line

Answered by Sherzodbek Muhammadiev on November 12, 2021

Remove this line from your LinerarLayout ("@+id/linearLayout")

 app:layout_constraintBottom_toBottomOf="parent"

Answered by Ranjithkumar on November 12, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP