views:

32

answers:

1

hello, i like title bar style in android preference category.

In my activity (no preferenceactivity) i want to use same style, how i can do?

Thanks.

+1  A: 

The main layout is most likely a ScrollView with a LinearLayout. As for the individual layout, I believe (just guessing after looking at the documentation) that you can use the various attributes in android.R.attr - look here: http://developer.android.com/reference/android/R.attr.html. There are attributes like preferenceCategoryStyle, preferenceStyle, etc. You can apply any style to any of your views.

EboMike
thanks, can you give me an example please?
Premier