效果如图:
style代码如下:
<resources>
<style name="Theme.Example" parent="@style/Theme.AppCompat.<span style="color:#ff0000;">Light</span>"></style>
<style name="AppTheme" parent="Theme.Example">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
<!-- <item name="android:itemBackground">@drawable/selectable_background_example</item> -->
<!-- item背景色 黄色-->
<item name="android:itemBackground">#ffff00</item>
<!-- list背景色(