123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- <?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=".ChooseGame">
-
- <RelativeLayout
- android:id="@+id/realtivelayout_game"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center">
-
- <TextView
- android:id="@+id/title_choosegame"
- 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="@string/chooseGame"
- android:textAlignment="center"
- android:textAllCaps="false"
- android:textColor="@android:color/black"
- android:textSize="30sp" />
-
- <TextView
- android:id="@+id/title_playstyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/title_choosegame"
- android:layout_centerHorizontal="false"
- android:layout_marginTop="10dp"
- android:fontFamily="@font/germania_one"
- android:lineSpacingExtra="0sp"
- android:text="@string/gamestyle"
- android:textAlignment="center"
- android:textAllCaps="false"
- android:textColor="@android:color/black"
- android:textSize="24sp" />
-
- <RadioGroup
- android:id="@+id/playstyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@id/title_playstyle"
- android:layout_centerHorizontal="true"
- android:orientation="horizontal"
- android:paddingTop="5dp">
-
- <RadioButton
- android:id="@+id/sauspiel"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checked="true"
- android:fontFamily="sans-serif-condensed"
- android:text="@string/sauspiel"
- android:textColor="@android:color/black"
- android:textSize="18sp" />
-
- <RadioButton
- android:id="@+id/wenz"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:fontFamily="sans-serif-condensed"
- android:text="@string/wenz"
- android:textColor="@android:color/black"
- android:textSize="18sp" />
-
- <RadioButton
- android:id="@+id/solo"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="sans-serif-condensed"
- android:text="@string/solo"
- android:textColor="@android:color/black"
- android:textSize="18sp" />
-
- </RadioGroup>
-
- <TextView
- android:id="@+id/title_playcall"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/playstyle"
- android:layout_centerHorizontal="false"
- android:layout_marginTop="10dp"
- android:fontFamily="@font/germania_one"
- android:lineSpacingExtra="0sp"
- android:text="@string/call"
- android:textAlignment="center"
- android:textAllCaps="false"
- android:textColor="@android:color/black"
- android:textSize="24sp" />
-
- <RadioGroup
- android:id="@+id/calls"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/title_playcall"
- android:layout_centerHorizontal="true"
- android:orientation="horizontal"
- android:paddingTop="5dp">
-
- <RadioButton
- android:id="@+id/eichel"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:checked="true"
- android:drawableEnd="@drawable/eichel" />
-
- <RadioButton
- android:id="@+id/blatt"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:drawableEnd="@drawable/blatt"
- android:fontFamily="sans-serif-condensed"
- android:textColor="@android:color/black"
- android:textSize="18sp" />
-
- <RadioButton
- android:id="@+id/schelle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:drawableEnd="@drawable/schelle" />
-
- <RadioButton
- android:id="@+id/herz"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:drawableEnd="@drawable/herz"
- android:fontFamily="sans-serif-condensed"
- android:textColor="@android:color/black"
- android:textSize="18sp" />
- </RadioGroup>
-
- <TextView
- android:id="@+id/title_soloplayer"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/calls"
- android:layout_centerHorizontal="false"
- android:layout_marginTop="10dp"
- android:fontFamily="@font/germania_one"
- android:lineSpacingExtra="0sp"
- android:text="@string/soloPlayer"
- android:textAlignment="center"
- android:textAllCaps="false"
- android:textColor="@android:color/black"
- android:textSize="24sp" />
-
- <RadioGroup
- android:id="@+id/soloplay"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/title_soloplayer"
- android:layout_centerHorizontal="true"
- android:orientation="horizontal"
- android:paddingTop="5dp">
-
- <RadioButton
- android:id="@+id/player1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:checked="true"
- android:text="@string/Player1" />
-
- <RadioButton
- android:id="@+id/player2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/Player2" />
-
- <RadioButton
- android:id="@+id/player3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/Player3" />
-
- <RadioButton
- android:id="@+id/player4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="@string/Player4" />
-
- </RadioGroup>
-
- <TextView
- android:id="@+id/title_choice"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/soloplay"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="20dp"
- android:fontFamily="@font/germania_one"
- android:lineSpacingExtra="0sp"
- android:text="@string/choice"
- android:textAlignment="center"
- android:textAllCaps="false"
- android:textColor="@android:color/black"
- android:textSize="24sp" />
-
- <TextView
- android:id="@+id/choice"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/title_choice"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="5dp"
- android:fontFamily="sans-serif-condensed"
- android:lineSpacingExtra="0sp"
- android:textAlignment="center"
- android:textAllCaps="false"
- android:textColor="@android:color/black"
- android:textSize="24sp" />
-
- <Button
- android:id="@+id/gameChoosed"
- 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="@string/confirm"
- android:textColor="@android:color/black"
- android:textSize="24sp" />
-
- </RelativeLayout>
-
- </android.support.design.widget.CoordinatorLayout>
|