Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#D3E8EF">
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_margin="6dp"
- android:layout_weight="1">
- <TextView
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="6dp"
- android:layout_weight="3"
- android:background="#54C37234"
- android:gravity="center"
- android:text="Numbers Puzzle"
- android:textSize="36dp"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/tvMovesCount"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="6dp"
- android:layout_weight="1"
- android:background="#54C37234"
- android:gravity="center"
- android:text="0"
- android:textSize="48dp"
- android:textStyle="bold" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_margin="6dp"
- android:layout_weight="1">
- <Button
- android:id="@+id/button00"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button" />
- <Button
- android:id="@+id/button01"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button" />
- <Button
- android:id="@+id/button02"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button" />
- <Button
- android:id="@+id/button03"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button04"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_margin="6dp"
- android:layout_weight="1">
- <Button
- android:id="@+id/button10"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button" />
- <Button
- android:id="@+id/button11"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button" />
- <Button
- android:id="@+id/button12"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button" />
- <Button
- android:id="@+id/button13"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button14"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_margin="6dp"
- android:layout_weight="1">
- <Button
- android:id="@+id/button20"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button" />
- <Button
- android:id="@+id/button21"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button" />
- <Button
- android:id="@+id/button22"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button" />
- <Button
- android:id="@+id/button23"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button24"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_margin="6dp"
- android:layout_weight="1">
- <Button
- android:id="@+id/button30"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button31"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button32"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button33"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button34"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- </TableRow>
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_margin="6dp"
- android:layout_weight="1">
- <Button
- android:id="@+id/button40"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button41"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button42"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button43"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- <Button
- android:id="@+id/button44"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_margin="3dp"
- android:layout_weight="1"
- android:onClick="handleClick"
- android:text="Button"
- android:visibility="gone" />
- </TableRow>
- </TableLayout>
Add Comment
Please, Sign In to add comment