2013-10-01 19:39:20 -04:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
2013-12-05 18:22:16 -05:00
|
|
|
tools:context=".Registration" >
|
2013-10-01 19:39:20 -04:00
|
|
|
|
2013-10-28 20:33:41 -04:00
|
|
|
<TextView
|
2013-12-02 21:27:54 -05:00
|
|
|
android:id="@+id/studentFirstName"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
2013-12-02 17:41:14 -05:00
|
|
|
android:layout_marginTop="10dp"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:text="@string/student_first_name"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:textAllCaps="false"
|
2013-12-05 18:22:16 -05:00
|
|
|
android:textColor="@color/white"
|
2013-12-02 20:31:53 -05:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
2013-12-08 20:04:58 -05:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/editStudentFirstName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@+id/studentFirstName"
|
|
|
|
android:layout_below="@+id/studentFirstName"
|
|
|
|
android:ems="10"
|
|
|
|
android:inputType="textPersonName"
|
|
|
|
android:textColor="@color/white" />
|
|
|
|
|
|
|
|
<requestFocus />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
2013-12-02 21:27:54 -05:00
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonRegister"
|
2013-12-08 14:56:46 -05:00
|
|
|
style="@style/GameDayTheme"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:layout_width="fill_parent"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:layout_height="wrap_content"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_marginBottom="15dp"
|
2013-12-08 22:10:01 -05:00
|
|
|
android:background="#488214"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:gravity="center_horizontal|center_vertical"
|
2013-12-08 21:50:43 -05:00
|
|
|
android:onClick="onClick"
|
2013-12-08 22:10:01 -05:00
|
|
|
android:text="@string/button_register"
|
|
|
|
android:textColor="@color/white" />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
2013-12-02 21:27:54 -05:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/editRowNumber"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:layout_above="@+id/buttonRegister"
|
|
|
|
android:layout_alignLeft="@+id/buttonRegister"
|
|
|
|
android:layout_marginBottom="70dp"
|
|
|
|
android:ems="10"
|
|
|
|
android:inputType="number"
|
2013-12-08 20:04:58 -05:00
|
|
|
android:textColor="@color/white" />
|
2013-12-02 21:27:54 -05:00
|
|
|
|
2013-10-28 20:33:41 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/studentRow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:layout_above="@+id/editRowNumber"
|
|
|
|
android:layout_alignLeft="@+id/editRowNumber"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:text="@string/row_number"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2013-12-05 18:22:16 -05:00
|
|
|
android:textColor="@color/white" />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
2013-12-08 20:04:58 -05:00
|
|
|
|
|
|
|
|
2013-12-02 21:27:54 -05:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/sectionNumber"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:layout_above="@+id/editSectionNumber"
|
|
|
|
android:layout_alignLeft="@+id/editSectionNumber"
|
|
|
|
android:text="@string/section_number"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2013-12-05 18:22:16 -05:00
|
|
|
android:textColor="@color/white" />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
|
|
|
<EditText
|
2013-12-02 21:27:54 -05:00
|
|
|
android:id="@+id/editSectionNumber"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:layout_alignLeft="@+id/studentRow"
|
|
|
|
android:layout_centerVertical="true"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:ems="10"
|
2013-10-30 14:15:38 -04:00
|
|
|
android:inputType="number"
|
2013-12-05 18:22:16 -05:00
|
|
|
android:textColor="@color/white" />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
2013-12-02 20:31:53 -05:00
|
|
|
<TextView
|
2013-12-02 21:27:54 -05:00
|
|
|
android:id="@+id/studentLastName"
|
2013-12-02 20:31:53 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:layout_alignRight="@+id/studentFirstName"
|
|
|
|
android:layout_below="@+id/editStudentFirstName"
|
|
|
|
android:layout_marginTop="29dp"
|
|
|
|
android:text="@string/student_last_name"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2013-12-05 18:22:16 -05:00
|
|
|
android:textColor="@color/white" />
|
2013-10-01 19:39:20 -04:00
|
|
|
|
2013-12-02 20:54:33 -05:00
|
|
|
<EditText
|
2013-12-02 21:27:54 -05:00
|
|
|
android:id="@+id/editStudentLastName"
|
2013-12-02 20:54:33 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:layout_alignLeft="@+id/studentLastName"
|
|
|
|
android:layout_below="@+id/studentLastName"
|
2013-12-02 20:54:33 -05:00
|
|
|
android:ems="10"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:inputType="text"
|
2013-12-05 18:22:16 -05:00
|
|
|
android:textColor="@color/white"
|
2013-12-02 21:27:54 -05:00
|
|
|
android:textColorHint="@color/black" />
|
2013-12-02 20:54:33 -05:00
|
|
|
|
2013-12-08 21:50:43 -05:00
|
|
|
|
2013-10-01 19:39:20 -04:00
|
|
|
</RelativeLayout>
|