Im trying to figure out how to use Styles. It seems easy, but its not working.
First, here is my XML for the Button:
<Button style="@style/Btest" android:id="@+id/Button01" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Some text"></Button>
And here is the values/styles.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Btest" parent="@android:style/Widget.Button">
<item name="android:textColor">#FFFFFFFF</item>
<item name="android:textSize">16dip</item>
<item name="android:textStyle">bold</item>
</style>
</resources>
Its not working at all. If I dont use Style and just add the style directly in the XML for the Button - no problem.
What am I missing?