Emulating Preference look/feel with LinearLayout

Posted by colinodell on Stack Overflow See other posts from Stack Overflow or by colinodell
Published on 2010-05-02T20:42:13Z Indexed on 2010/05/02 20:47 UTC
Read the original article Hit count: 186

I really like the look and feel of the Preference UI items and want to replicate that in my application. Basically I've got an Activity with a couple LinearLayouts set to be focusable. When they are focused, I want them to turn green (like Preferences do). Any idea how to apply that style to my LinearLayouts?

Note: The LinearLayouts are essentially going to be clickable 'buttons' to launch a separate activity. They are NOT actual preferences or buttons, although they need to look/act similar to them.)

© Stack Overflow or respective owner

Related posts about android

Related posts about views