NumberPicker style settings

If we want to use this effect:


Instead of this effect:



The easiest way is to delete the android:theme attribute in the application tag in AndroidManifest.xml.

You can also modify the following files:

1. values/style.xml:
<style name="AppBaseTheme" parent="@android:style/Theme.Light.NoTitleBar">
</style>

<style name="AppTheme" parent="AppBaseTheme">
</style>

2. values-v11/style.xml:
<style name="AppBaseTheme" parent="@android:style/Theme.Holo.NoActionBar">
</style>

3. values-v14/style.xml:
<style name="AppBaseTheme" parent="@android:style/Theme.Holo.Light.NoActionBar">
</style>


The above has been verified.

Guess you like

Origin blog.csdn.net/lgdlchshg/article/details/47838565