Hi everyone,
I am trying to create a global style for my checkboxes in my app. I already
have the two images needed and already created the selector XML to select
between them.
In my styles.xml I have:
<style name="MyTheme" parent="android:Theme.Light">
<item name="android:buttonStyle">@style/ButtonText</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@drawable/background</item>
</style>
Is there any parameter that I can set in MyTheme to globally set the
drawable selector for all CheckBoxes in the app? For example, something
like this:
<style name="MyTheme" parent="android:Theme.Light">
<item name="android:buttonStyle">@style/ButtonText</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@drawable/background</item>
* <item
name="android:checkBoxBackground">@drawable/mycheckbox_background</item> *
</style>
Many thanks,
Felipe
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en