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.
Written by Lukas Redynk
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Android
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#