D
D
dimasik1002002018-02-27 22:04:50
Android
dimasik100200, 2018-02-27 22:04:50

How to make it so that when you click on the buttons of one activity, fragments of different sizes open?

There is one activity and 2 buttons. How to make it so that when you click on the first button, a fragment of the size of 1/2 of the screen opens, and when you click on the second button, a fragment of 1/4 of the screen opens? (they should overlap)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2018-02-27
@klim76

make containers of different sizes for fragments.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question