主要有2种。
一种是系统自带基类。比如:
android:theme="@android:style/Theme.Black" 背景黑色
android:theme="@android:style/Theme.Black.NoTitleBar" 黑色背景并无标题栏
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" 黑色背景,无标题栏,全屏
基本照形式配置。
参考链接:http://www.cnblogs.com/bluestorm/archive/2013/03/20/2971742.html
另一种是自己在style中自定义。比如:
<style name="Variable">
<item name="android:textSize">14sp</item>
<item name="android:textStyle">normal</item>
</style>
这个样式可被别的样式引用。比如:
<style name="Variable02" parent="@style/Variable>
</style>
参考链接:http://www.crifan.com/android_style_reference_parent_syntax/