0

Is it possible to put tow layouts in same screen , showing the upper half from activity one in the top of the screen and showing the bottom half from activity two in the bottom of the screen ?

m1rwen
  • 1
  • 1
    No, but there are Fragments for that : https://developer.android.com/guide/components/fragments.html – NSimon Mar 08 '17 at 11:25

1 Answers1

0

A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity to build a multi-pane UI and reuse a fragment in multiple activities. You can think of a fragment as a modular section of an activity, which has its own lifecycle, receives its own input events, and which you can add or remove while the activity is running (sort of like a "sub activity" that you can reuse in different activities).

Matteo Cardellini
  • 876
  • 2
  • 17
  • 41