Strange Android bug - layout reversed
In the developer options, look for a checkbox that says "Force RTL layout direction" and turn it off.

It's a developer feature that helps with testing how apps will look on a device that uses a right-to-left language (such as Arabic) without having to actually change the device's language.