<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:ads="http://schemas.android.com/apk/res-auto"
    android:layout_width="fill_parent"
    android:layout_height="match_parent"
    android:layout_gravity="bottom"
    android:orientation="vertical"
    android:theme="@style/LayoutStyle">

    <TextView
        android:layout_width="wrap_content"
        android:text="Single game"
        android:id="@+id/textView"
        android:layout_gravity="center_horizontal"
        android:gravity="center"
        android:layout_height="wrap_content"
        android:layout_weight="10"
        android:autoText="false"
        android:visibility="visible"
        style="@style/Title"/>

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:ads="http://schemas.android.com/apk/res-auto"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom"
        android:orientation="vertical"
        android:layout_weight="35">

        <TextView
            android:layout_width="wrap_content"
            android:text="Design"
            android:id="@+id/textView2"
            android:layout_gravity="center_horizontal|left"
            android:gravity="center"
            android:layout_height="wrap_content"
            android:autoText="false"
            android:visibility="visible"
            android:layout_weight="5"
            style="@style/BigText"/>

        <TextView
            android:layout_width="wrap_content"
            android:text="Court color"
            android:id="@+id/spinnerCourt"
            android:layout_gravity="center_horizontal|left"
            android:gravity="center"
            android:layout_height="wrap_content"
            android:autoText="false"
            android:visibility="visible"
            android:layout_weight="5"
            style="@style/Text"/>
        <Spinner
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:entries="@array/court_type"
            android:prompt="@string/court_prompt"
            android:id="@+id/spinner1"
            android:layout_weight="5"
            style="@style/Text"/>

        <TextView
            android:layout_width="wrap_content"
            android:text="Ball type"
            android:id="@+id/spinnerBall"
            android:layout_gravity="center_horizontal|left"
            android:gravity="center"
            android:layout_height="wrap_content"
            android:autoText="false"
            android:visibility="visible"
            android:layout_weight="5"
            style="@style/Text"/>
        <Spinner
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:entries="@array/ball_type"
            android:prompt="@string/ball_prompt"
            android:id="@+id/spinner2"
            android:layout_weight="5"
            android:textColor="#000000"
            style="@style/Text"/>

        <TextView
            android:layout_width="wrap_content"
            android:text="Bar color"
            android:id="@+id/spinnerWidth"
            android:layout_gravity="center_horizontal|left"
            android:gravity="center"
            android:layout_height="wrap_content"
            android:autoText="false"
            android:visibility="visible"
            android:layout_weight="5"
            style="@style/Text"/>
        <Spinner
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:entries="@array/bar_color"
            android:prompt="@string/bar_prompt"
            android:id="@+id/spinner3"
            android:layout_weight="5"
            style="@style/Text"/>

    </LinearLayout>

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:ads="http://schemas.android.com/apk/res-auto"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom"
        android:orientation="vertical"
        android:layout_weight="35">

        <TextView
            android:layout_width="wrap_content"
            android:text="Game"
            android:id="@+id/textView3"
            android:layout_gravity="center_horizontal|left"
            android:gravity="center"
            android:layout_height="wrap_content"
            android:autoText="false"
            android:visibility="visible"
            android:layout_weight="5"
            style="@style/BigText"/>

        <TextView
            android:layout_width="wrap_content"
            android:text="Ball velocity = 3"
            android:id="@+id/ballVelocity"
            android:layout_gravity="center_horizontal|left"
            android:gravity="center"
            android:layout_height="wrap_content"
            android:autoText="false"
            android:visibility="visible"
            android:layout_weight="5"
            style="@style/Text" />
        <SeekBar
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:max="4"
            android:progress="2"
            android:id="@+id/seekBarBar"
            android:layout_weight="5"
            style="@style/Text" />

        <TextView
            android:layout_width="wrap_content"
            android:text="Bar velocity = 3"
            android:id="@+id/barVelocity"
            android:layout_gravity="center_horizontal|left"
            android:gravity="center"
            android:layout_height="wrap_content"
            android:autoText="false"
            android:visibility="visible"
            android:layout_weight="5"
            style="@style/Text" />
        <SeekBar
            android:max="4"
            android:progress="2"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/seekBarBall"
            android:layout_weight="5"
            style="@style/Text" />

        <TextView
            android:layout_width="wrap_content"
            android:text="Bar width = 3"
            android:id="@+id/barWidth"
            android:layout_gravity="center_horizontal|left"
            android:gravity="center"
            android:layout_height="wrap_content"
            android:autoText="false"
            android:visibility="visible"
            android:layout_weight="5"
            style="@style/Text" />
        <SeekBar
            android:max="4"
            android:progress="2"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/seekBarWidth"
            android:layout_weight="5"
            style="@style/Text" />

    </LinearLayout>

    <Button
        android:id="@+id/startGame"
        android:layout_height="wrap_content"
        android:layout_width="match_parent"
        android:text="@string/startGame"
        android:layout_gravity="top"
        android:onClick="launchGame"
        style="@style/ButtonStyle"
        android:layout_marginTop="20sp"
        android:layout_marginBottom="20sp" />

    <com.google.android.gms.ads.AdView
        android:id="@+id/adView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_alignParentBottom="true"
        ads:adSize="BANNER"
        android:gravity="bottom"
        ads:adUnitId="@string/banner_ad_unit_id"
        android:layout_weight="10"
        android:layout_marginBottom="5sp">
    </com.google.android.gms.ads.AdView>
</LinearLayout>
<!-- From: file:/C:/Users/Pablo/AndroidStudioProjects/proyectoFinal/ProyectoFinal/app/src/main/res/layout/single_game.xml -->