Last Updated: February 25, 2016
·
1.207K
· erdk

Debugging Android layouts

For layout elements (TextView, ListView etc.) you could set 'android:background="#hexcolo"': this could be useful when you're debugging layout problems and can't determine which part of screen belongs to which element because of margins, relatives etc.. Simply set different colors for every element and now you could clearly see what's wrong with your layout.