我最近更新了我的应用程序的targetSdkVersion和appcompat到v23 (Android6.0棉花糖),在这个更新之后,一切都很好,除了在Android2.3姜饼上,微调器不会在对话框上推送内容,它显示在黑色的下拉背景中,其中的项目是不可见的。
styles.xml
<resources>
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/Color_500</item>
<item name="colorPrimaryDark">@color/Color_700</item>
<item name="android:windowFullscreen">true</item>
</style>
</resources>
微调器
<Spinner
android:id="@+id/replayspin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:clickable="true"
android:contentDescription="@string/Replay_prompt"
android:entries="@array/Replay_arrays"
android:prompt="@string/Replay_prompt"/>
Android 2.3姜饼上的示例图像
https://stackoverflow.com/questions/32545877
复制相似问题