たとえば、あるテーマでは紫、別のテーマでは赤のカスタム スタイルを追加したいと考えています。
<style name="subtitle_layout" parent="@android:style/Theme.Holo.Light">
<item name="android:background">@color/purple</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">40sp</item>
</style>
<style name="subtitle_layout2" parent="@android:style/Theme.Holo.Light">
<item name="android:background">@color/black</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">80sp</item>
</style>
<style name="Theme1" parent="android:Theme.Holo.Light">
<item name="android:textColor">@color/black</item>
<item name="@style/subtitle_layout">@style/subtitle_layout</item>
</style>
<style name="Theme2" parent="android:Theme.Holo.Light">
<item name="android:textColor">@color/white</item>
<item name="@style/subtitle_layout">@style/subtitle_layout2</item>
</style>
テキストの色の変更が表示されるため、テーマの変更は機能しますが、android:textColor の代わりにスタイルを配置したいと思います。しかし、うまくいきません。