mirror of
https://github.com/bspeice/UNCCGameDay
synced 2024-11-05 07:38:13 -05:00
194 lines
7.2 KiB
XML
194 lines
7.2 KiB
XML
<RelativeLayout xmlns:tools="http://schemas.android.com/tool"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#7d9a43"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
tools:context=".Parking" >
|
|
|
|
<TextView
|
|
android:id="@+id/textViewSelectLot"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginTop="5dp"
|
|
android:text="@string/title_parking_selection"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="@color/black" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonSilver"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignLeft="@+id/buttonRed"
|
|
android:layout_below="@+id/buttonRed"
|
|
android:layout_centerHorizontal="true"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/silver_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonOrange"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignBaseline="@+id/buttonBlack"
|
|
android:layout_alignBottom="@+id/buttonBlack"
|
|
android:layout_centerHorizontal="true"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/orange_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonRed"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignLeft="@+id/buttonPurple"
|
|
android:layout_below="@+id/buttonPurple"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/red_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonPurple"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/buttonGold"
|
|
android:layout_toLeftOf="@+id/buttonPink"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/purple_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/textViewSelectLot"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="18dp"
|
|
android:adjustViewBounds="true"
|
|
android:contentDescription="@string/parking_map"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/parking_map" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonWhite"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/buttonPurple"
|
|
android:layout_alignLeft="@+id/buttonPink"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/white_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonPink"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/buttonRed"
|
|
android:layout_toRightOf="@+id/buttonOrange"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/pink_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonYellow"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/buttonSilver"
|
|
android:layout_alignLeft="@+id/buttonPink"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/yellow_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonBlack"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/imageView1"
|
|
android:layout_marginTop="49dp"
|
|
android:layout_toLeftOf="@+id/buttonOrange"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/black_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonBlue"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/buttonBlack"
|
|
android:layout_toLeftOf="@+id/buttonOrange"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/blue_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonGold"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/buttonBlue"
|
|
android:layout_toLeftOf="@+id/buttonOrange"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/gold_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
<Button
|
|
android:id="@+id/buttonGreen"
|
|
style="?android:attr/buttonStyleSmall"
|
|
android:layout_width="85dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/buttonGold"
|
|
android:layout_toLeftOf="@+id/buttonOrange"
|
|
android:gravity="left|center_vertical"
|
|
android:text="@string/green_lot"
|
|
android:textColor="@color/black"
|
|
android:textSize="12sp"
|
|
android:textStyle="bold"
|
|
android:onClick="onButtonClick" />
|
|
|
|
</RelativeLayout> |