XML

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

<?xml version="1.0" encoding="utf-8"?

>
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:rowCount="15"
android:columnCount="15"
android:padding="16dp">

<!-- Placeholder for player 1's home base -->


<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_rowSpan="6"
android:layout_columnSpan="6"
android:background="@color/player1Color">
<!-- Add player 1's tokens here -->
</FrameLayout>

<!-- Placeholder for player 2's home base -->


<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_rowSpan="6"
android:layout_columnSpan="6"
android:layout_row="0"
android:layout_column="9"
android:background="@color/player2Color">
<!-- Add player 2's tokens here -->
</FrameLayout>

<!-- Placeholder for player 3's home base -->


<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_rowSpan="6"
android:layout_columnSpan="6"
android:layout_row="9"
android:layout_column="0"
android:background="@color/player3Color">
<!-- Add player 3's tokens here -->
</FrameLayout>

<!-- Placeholder for player 4's home base -->


<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_rowSpan="6"
android:layout_columnSpan="6"
android:layout_row="9"
android:layout_column="9"
android:background="@color/player4Color">
<!-- Add player 4's tokens here -->
</FrameLayout>

<!-- Paths and other board elements would go here -->

</GridLayout>

You might also like