123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/woodentable"
- tools:context=".MainGameActivity">
-
- <TextView
- android:id="@+id/title_game"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="10dp"
- android:fontFamily="@font/germania_one"
- android:lineSpacingExtra="0sp"
- android:text="TEST"
- android:textAlignment="center"
- android:textAllCaps="false"
- android:textColor="@android:color/black"
- android:textSize="36sp" />
-
- <RelativeLayout
- android:id="@+id/realtivelayout_game"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center">
-
- <TableLayout
- android:id="@+id/table"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerInParent="true"
- android:gravity="center"
- android:stretchColumns="1">
-
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_horizontal">
-
- <Button
- android:id="@+id/p1_game"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-condensed"
- android:textColor="@android:color/black"
- android:textSize="18sp" />
-
- </TableRow>
-
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="20dp"
- android:gravity="center">
-
- <TextView
- android:id="@+id/p1_points"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="@font/germania_one"
- android:text="@string/points"
- android:textAlignment="viewStart"
- android:textColor="@android:color/black"
- android:textSize="14sp" />
-
- </TableRow>
-
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <Button
- android:id="@+id/p4_game"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="10dp"
- android:fontFamily="sans-serif-condensed"
- android:textColor="@android:color/black"
- android:textSize="18sp" />
-
- <Space
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
-
- <Button
- android:id="@+id/p2_game"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="10dp"
- android:fontFamily="sans-serif-condensed"
- android:textColor="@android:color/black"
- android:textSize="18sp" />
-
- </TableRow>
-
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="20dp"
- android:gravity="center">
-
- <TextView
- android:id="@+id/p4_points"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="10dp"
- android:fontFamily="@font/germania_one"
- android:text="@string/points"
- android:textAlignment="viewStart"
- android:textColor="@android:color/black"
- android:textSize="14sp" />
-
- <Space
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
-
- <TextView
- android:id="@+id/p2_points"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="@font/germania_one"
- android:text="@string/points"
- android:textAlignment="viewStart"
- android:textColor="@android:color/black"
- android:textSize="14sp" />
-
- </TableRow>
-
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_horizontal">
-
- <Button
- android:id="@+id/p3_game"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-condensed"
- android:textColor="@android:color/black"
- android:textSize="18sp" />
-
- </TableRow>
-
- <TableRow
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center">
-
- <TextView
- android:id="@+id/p3_points"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="@font/germania_one"
- android:text="@string/points"
- android:textAlignment="viewStart"
- android:textColor="@android:color/black"
- android:textSize="14sp" />
- </TableRow>
-
- </TableLayout>
-
- <Button
- android:id="@+id/testButton"
- style="?android:borderlessButtonStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:background="@android:color/holo_green_dark"
- android:fontFamily="@font/germania_one"
- android:text="Test Button"
- android:textColor="@android:color/black"
- android:textSize="24sp" />
-
- </RelativeLayout>
-
- </android.support.design.widget.CoordinatorLayout>
|