Finding all available styles defined by android platform themes -


in several android styling tutorials parent style elements used can not find in android.r.style.* styles (http://developer.android.com/reference/android/r.style.html).

a few examples http://android-developers.blogspot.com/2011/04/customizing-action-bar.html action bar article. nick uses parent styles like:

<style name="mydropdownnav" parent="android:style/widget.holo.light.spinner.dropdown.actionbar"> ... </style> 

or

<style name="myactionbartabstyle" parent="android:style/widget.holo.light.actionbarview_tabview"> ... </style> 

where these parent styles come from? possible list available parent styles?

thanks.

as stated in "applying styles , themes" article:

the android platform provides large collection of styles , themes can use in applications. can find reference of available styles in r.style class. use styles listed here, replace underscores in style name period. example, can apply theme_notitlebar theme "@android:style/theme.notitlebar".

the r.style reference, however, not documented , not thoroughly describe styles, viewing actual source code these styles , themes give better understanding of style properties each 1 provides. better reference android styles , themes, see following source code:

these files learn through example. instance, in android themes source code, you'll find declaration <style name="theme.dialog">. in definition, you'll see of properties used style dialogs used android framework.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -