Hello friends how can I modify the layout or mainactivity in android studio since when I install the application the blue bar steals the total of the top on the screen and I would like it to assume the full screen
You should modify certain parameters in the layout of that activity. You must find the element that represents the toolbar and change the value of its height property to match-parent
You should modify certain parameters in the layout of that activity. You must find the element that represents the toolbar and change the value of its height property to match-parent
In order for the Toolbar not to be displayed, you must define the following theme within the Styles.xml file:
and in the definition of your Activity you add the theme, for example:
This way you will have your application without the Toolbar (ActionBar).
You can change the theme for your activity (without changing the general theme) in the following way:
For you
MainActivity
then:To define a self-themed style without an AppBar, put the following in your
values/styles.xml
:falsetrue
and in your layout: