How do I add a horizontal 1px white line above image view in a relative layout?
Consider moving the layout for the line into a separate file:
... referencing a custom style definition:
... and then you can include it in your layout:
include