in application, used theme.holo.light
make actionbar light , pretty pleased result.
the problem widgets (edittext, spinner, etc..) acting background white, while set dark blue:
is there easy way in style.xml file can force act theme dark?
i know theme text color, background resources, etc.. huge work.
thank lot hint me achieve easily.
edit: sounds best solution, not working:
<style name="appbasetheme" parent="@android:theme.holo"> <item name="android:actionbarstyle">@style/myactionbar</item> </style> <style name="myactionbar" parent="@android:style/widget.holo.light.actionbar"> </style>
to solve (the easy way) should use theme.holo
. , change actionbar theme.holo.light
.
extend theme:
<style name="mytheme.dark" parent="android:theme.holo.light.actionbar"></style>
use getactionbar().getthemedcontext()
context inflating views.
Comments
Post a Comment