Fix indentation, remove terminating tabs and extra lines

Done using:
"Source -> Correct Indentation" for Java files and
"Source -> Format Active Elements" for strings.xml