Reformating of the code

This will not change in the layout, it's here just to better maintain the code.

I've used "Reformat code" function in Android Studio, it works well, it doesn't create bugs and it's formatting code to be more readable, i also fixed some bugs, empty xml body especially, for example:

    ></TextView>

was converted to

     />

To save some space, and probably to speed thing up a little bit.