Stretching and Spanning layouts in Android

When I was working on my BF2Stats Android app, I had to find out how to place 2 widgets/layout elements on the same horizontal line, while keeping them stretched at the same time so they are filling the width of the screen. It took me a little research before I found a solution, so I will share two methods with you today. This tutorial will show you how to create layouts that stretches in the width. In Eclipse I

» Read more