How do I avoid duplicate style items in the below example?
I have textSize 30sp
with the style - TextStyle
.
<style name="TextStyle">
<item name="android:textSize">30sp</item>
</style>
The same textSize 30sp
I am using in the below style. Is there any method apply the textsize
- without duplicate writing of the style?
<style name="bottomText">
<item name="android:textSize">30sp</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">150dp</item>
</style>