views:

614

answers:

1

New Android developer here - I'm hoping this is simple. I want to create a "row-based" prefs dialog, like you see in most standard apps. You know, black background, fading-line separators, bigger/bold label text for each entry, smaller description text, perhaps a checkbox/down arrow.

Is there a standard object in the Android API for this? If not, how do people usually create these?

+4  A: 

Yes, there is a special Activity for that kind of view called PreferenceActivity.

You can find a full example here.

HTH

Thomas

EDIT: this example is a code based preference dialog, but there is another way to do with the xml layout file.

kosokund
exactly what I was looking for -- thanks!!
desau