The default android spinner just shown a little arrow down. So, I tried to use Widget.Holo.Spinner which show an underline. Here is my style:
<style name="XRSpinner" parent="android:Widget.Holo.Spinner">
...
...
...
</style>
It shows ok on preview, but when I run it, the spinner shown a black background. I have also tried with parent="android:Widget.Holo.Light.Spinner"
, but it still shows a black background.
Any ideas?
Thanks!
UPDATED
Here is my application manifest
<application
android:name=".XRWareStock"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar" >
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
My minSdkVersion
is 19 and targetSdkVersion
is 25.