Is it possible to change textColor in ListView without defining custom adapter for it? As in TextView we can apply style = "@style/mystyle" in which we can define textcolor.
<ListView
android:id="@+id/listview"
style="@style/WhiteText"
/>
In values, the style is defined as:
<resources>
<style name= "WhiteText">
<item name ="android:textColor">#FFFFFF </item>
<item name="android:background">#000000 </item>
</resources>
I tried it but it's not giving me desired output. So I want to ask, is it a valid way or not?