Android: A good looking (standard) settings menu

I’m trying to get my app to blend in as much as possible with the “standard” with the rest of my android device. It’s a stand-alone app, not integrated with the OS or anything, I just want it to look familiar.

The area I’m interested in is the “settings” screen. If I look at Android’s standard settings screen, it’s well spaced, perfect font size, with neat pin stripes between the menu items.

  • Android Notification Action is not fired (PendingIntent)
  • How to avoid showing already-authorized to app dialog in Android Facebook SDK
  • How to check if two images are similar or not using openCV in java?
  • Android Studio, 9 Patch and the “Show Bad Patches” Button. How do it know?
  • Launch google maps application for driving directions in android
  • What is a OnCreate method in android
  • How do I do that? Is that a ListView? Is it done with a regular LinearLayout?

    I would love to be able to replicate the look & feel in my app. Can anybody assist?

    enter image description here

    And it’s not just the Adroid OS. it’s most of the “professional” apps out there:

    enter image description here

    Many thanks

    Related posts:

    Android file delete leaves empty placeholder in Gallery
    How can we simulate calls and SMS in Android?
    Inset drawable not working as described in documentation
    What is the default Account Type / Name for contacts on Android Contact Application?
    Android developer console takes ages to update?
    Log.d() or Log.e() in android prints unwanted extra texts
  • Out of memory exception in gson.fromJson()
  • Android SMS Content (content://sms/sent)
  • Android hdpi/mdpi/ldpi for Values folder?
  • Create a Java Annotation with IDE contextual behaviour
  • Setting Alpha level on view doesn't work
  • How to display 2 views, with a gradient-fade effect on Android?
  • 2 Solutions collect form web for “Android: A good looking (standard) settings menu”

    Actually, this is directly part of the Android source code, so I would strongly advise you to take a look in its structure. See the Android Settings tutorial for more info.

    Settings are created from the SettingsActivity (which extends the PreferenceActivity, you might want to look this too), which in their turn have their layout based on the following xml files:

    • preferences.xml
    • preference.xml

    Things are quite strongly interlocked so it needs some reading…

    AFAIK its a ListView. by implementing a custom ListView, you can achieve similar effect.

    Moreover, you’ll have to follow the Icon Design Guidelines to create such icons for ListView rows

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.