I am having trouble applying a gradient background to a LinearLayout.
This should be relatively simple from what I have read but it just doesn\'t seem to work. For r
Ok I have managed to solve this using a selector. See code below:
main_header.xml:
main_header_selector.xml:
Hopefully this helps someone who has the same problem.