I have a layout which is being rendered as below image: Layout being rendered on device
It should be something like this, as being shown in Android Studio. Layout being shown in Android Studio
This is not device dependent issue and coming to all the device. Please help.
I had the same issue. I resolved it by downgrading the gradle version to 2.1.2.