D
D
Denis Plus2019-02-26 11:17:11
Android
Denis Plus, 2019-02-26 11:17:11

How in Android Studio do elements have a height of 50% of the screen?

I can't figure it out, the IDE is just awful. The application will have two buttons on the activity, it is necessary that they occupy half the screen.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EVGENY T., 2019-02-26
@nikstormr

A vertical LinearLayout with your buttons inside. Make everything match_parent and... get used to it :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question