5

I have a screen with search options. Clicking an option has the effect of showing a dialog or redirecting to another screen, which is why I can't use the "Settings" application approach: showing the next screen on the right-side.

On a tablet, my screen looks like this:

enter image description here

Which is not very neat. I think we've all read the wooonderful design guidelines for Android, offering solutions only for the simplest problems, such as turning:

enter image description here

into:

enter image description here

I have found no guidelines for multi-pane layouts other than "add a list view and a details view in the same screen, yo". Should I split up my ListView into smaller ListViews (each section in a ListView)? are there other applications that do this?

Buffalo
  • 3,861
  • 8
  • 44
  • 69

3 Answers3

8

There are a lot of links here in a similar question:

How many Activities vs Fragments?

Here are a few more:

Also, yes you can certainly split your ListViews into smaller ListViews. Fragments should make this easier to maintain as well.

You might also look into the ActionBar tabs -- there is a lot of info here as well:

http://developer.android.com/training/design-navigation/descendant-lateral.html

Community
  • 1
  • 1
pjco
  • 3,826
  • 25
  • 25
1

Technically, I believe, the easiest way would be to use Fragments. There is an example with very similar layout in Pro Android 4 book.

Alexander Kulyakhtin
  • 47,782
  • 38
  • 107
  • 158
  • Using Fragments is nowhere close to the easiest way of doing.. anything. I was only asking from a functional point of view. Sorry if my question wasn't clear enough. – Buffalo Sep 11 '12 at 11:44
1

I'm sure you will find the Fragment class handy in this situation. More information here: http://developer.android.com/guide/components/fragments.html

ЯegDwight
  • 24,821
  • 10
  • 45
  • 52
Hang Guan
  • 102
  • 5
  • I know about Fragments. I'm not asking how to break up my listview, but I'm asking whether I should break it up. – Buffalo Sep 11 '12 at 07:59
  • I think you should. At least that's what I'd do if I were to support bigger screens. It makes better use of the screen estate. – Hang Guan Sep 11 '12 at 08:11