I am a new programmer. I having trouble with some of the screens my grid new screen shot appears as wired rows (maybe because the width of the screen is narrow ) . I've uploaded picture of my problem and my code. where did I go wrong? hw can I fix it?
<GridLayout
android:id="@+id/gameTableLayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="80dp"
android:layout_marginRight="80dp"
android:layout_marginTop="10dp"
android:gravity="center"
android:orientation="horizontal"
android:visibility="invisible">
<!-- the 16 buttons -->
<!-- 1: (0,0) -->
<Button
android:id="@+id/button1"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignLeft="@+id/gridLayout"
android:layout_alignStart="@+id/gridLayout"
android:layout_column="0"
android:layout_columnWeight="1"
android:layout_gravity="fill"
android:layout_row="0"
android:layout_rowWeight="1"
android:background="@drawable/border"
android:onClick="choosePlace"
android:tag="1"
android:text="1"
android:textSize="20sp" />