make sure header has layout params. fixes #142
Add support for RTL layouts and update to target latest android release. fixes #143