Update for some RTL support

API 17+ supports RTL, so to support both API 16 and 17+, both types of
declarations relating to positioning have been added to the layout
xml file.

Change-Id: I45119c2e9ec1aa07a9d451d40043fd523b28489c