K
K
Konstantin T2016-01-29 14:22:17
Android
Konstantin T, 2016-01-29 14:22:17

Are there any standard means in android for implementing layout as a basic template in which the view from the activity would be wrapped?

I would like to simplify my task by creating one basic layout in which there will be, for example, a top menu, a sliding side menu and a search, but to implement it in such a way as not to drag this code into each layout for each next activity.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Peter, 2016-01-29
@petermzg

You can create layout pieces that are present everywhere and insert
Probably the only way.

A
Andrey Sergeev, 2016-01-29
@elfin

Why don't you like fragments?
developer.android.com/intl/ru/guide/components/fra...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question