The theme you are using probably doesn't inherit from a Holo theme. In your res/values/themes.xml
you should have something like:
...
<style name="MyTheme" parent="android:Theme.Holo.Light.DarkActionBar">
...
</style>
...
题
My problem is the appearance of both seek bar and spinner inside Activity. I tested in Android 4.1.2. This is what I want to appear like :
But when I tested it I'm getting like this:
When I created both seekbar and spinner in menu, they appeared as I want (As pic 1 and pic 2). But when I created them in activity layout I got them as last pictures. (pic 3 and pic 4) What should I do to change the appearance as I want ?
解决方案
The theme you are using probably doesn't inherit from a Holo theme. In your res/values/themes.xml
you should have something like:
...
<style name="MyTheme" parent="android:Theme.Holo.Light.DarkActionBar">
...
</style>
...