![]() ![]() So whenever you change the layout width to fill_parent it fills all the space in the parent. And the parent is activity here, right and fills the remaining space. So the fill parent method the component or in the fill_parent method want to display as big as its parent. So the height is also enough to show the button content.īut when we change the layout width, for example, changing it to fill_parent it fills all the width of our activity. In the same way, the layout height is also wrap_content here. ![]() So its button content is the only button and the button size or width is enough to show the button text on this button. And wrap content just means that the component just wants to display big enough to enclose its content. ![]() When you go to the property called layout width it’s property is set to wrap_content. First time when we drag and drop a button in the activity screen, it’s layout property. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |