I've seen several tablet apps that split the screen into two parts. Usually a menu and and a main window. I tried to google something about it, but couldn't find anything. Is there an out of the box solution for this, or do I have build it on my own?
Check out the article on multi-pane layouts on the Android Design site. It should help clarify the idea behind it.
As for actually implementing them, you'll have to use Fragment
s. Here are a couple tutorials to get you started.
The sdk code samples are most likely already on your computer, and can be accessed through the "new Android project..." wizard of Eclipse.
Or if you own an Honeycomb tablet and just want to play around with the ApiDemos samples without looking at the code, you can just search for ApiDemos in the Google Play Store and download the one ApiDemos project that has four to five stars next to it.
On the tablet itself, many of the ApiDemos will be double-listed, but that's because the first one is usually the pre-honeycomb version and the second one is the post-honeycomb version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With