T
T
TechnoMag2017-04-11 11:27:11
Android
TechnoMag, 2017-04-11 11:27:11

How is the change in layout implemented to emulate the transition to another Android screen?

There is a vertical Layout on it:
TabControl,
Button,
TextView
ViewPager It is
necessary to make sure that when the button is pressed, do not create a new activity, but change the current screen:
TabControl -> Hide
Button -> EditText,
TextView -> Button ,
ViewPager -> Hide
TextView,
Naturally, the behavior and purpose of the controls changes. An interesting point is that when the screen changes, one control can be morphed into another. It is possible without it.
How is this implemented in one Layout (xml)? your options.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-04-11
@red-barbarian

Fragments

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question