Skip to content Skip to sidebar Skip to footer

Elements Out Of Screen In Android Layout

I'm currently working on a listview layout for Android. The following picture is how I want it to look. ...and this is my code.

Solution 1:

It's becasue your internal <LinearLayout> is using android:layout_width="match_parent". To make it not occupy all the space you need to set its layout_weight too:

android:layout_weight="1"

Post a Comment for "Elements Out Of Screen In Android Layout"