Split screen on android tablet

I saw several tablet apps that split the screen into two parts. Usually the menu and the main window. I tried to say something about it, but did not find anything. Is there a solution for this, or have I built it myself?

+6
source share
2 answers

Check out the multi-panel layout article on Android Design. This should help clarify the idea of ​​this.

As for their actual implementation, you will need to use Fragment . Here are a couple of tutorials to get you started .

+3
source

The sdk code samples are most likely already on your computer, and you can get them through the wizard of the "new Android project ..." Eclipse.

Or, if you have a Honeycomb tablet and just want to play around with ApiDemos samples without looking at the code, you can just search for ApiDemos in the Google Play Store and download one ApiDemos project that has four to five stars. to him.

On plankton itself, many of ApiDemos will be listed twice, but this is because the first of them, as a rule, is a preliminary cellular version, and the second is a post-cellular version.

+1
source

Source: https://habr.com/ru/post/916175/


All Articles