I am including an (internal) layout in my own layout like this:
<include android:id="@+id/twolinelistitem"
layout="@android:layout/simple_list_item_2"
style="@style/TwoLineListItem"/>
but the style is not applied. This blog post doesn't mention that this should work so I'm okay if it doesn't.
So the only way to set i.e. the background is programmatically?
Here is a somewhat related android Issue