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-10-28 23:11:23 -04:00
|
|
|
android:background="#7d9a43"
|
2013-12-02 17:41:14 -05:00
|
|
|
tools:context=".Registration"
|
|
|
|
tools:ignore="Overdraw" >
|
2013-10-01 19:39:20 -04:00
|
|
|
|
2013-10-28 20:33:41 -04:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/studentName"
|
|
|
|
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-10-28 20:33:41 -04:00
|
|
|
android:text="@string/student_name"
|
|
|
|
android:textAllCaps="false"
|
2013-10-28 23:06:37 -04:00
|
|
|
android:textColor="@color/black"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/studentOrganization"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_below="@+id/studentName"
|
2013-12-02 17:41:14 -05:00
|
|
|
android:layout_marginTop="40dp"
|
|
|
|
android:text="@string/organization_check_in"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textColor="@color/black" />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/sectionNumber"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_below="@+id/studentOrganization"
|
2013-12-02 17:41:14 -05:00
|
|
|
android:layout_marginTop="40dp"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:text="@string/section_number"
|
2013-10-28 23:06:37 -04:00
|
|
|
android:textColor="@color/black"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/studentRow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_below="@+id/sectionNumber"
|
2013-12-02 17:41:14 -05:00
|
|
|
android:layout_marginTop="40dp"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:text="@string/row_number"
|
2013-10-28 23:06:37 -04:00
|
|
|
android:textColor="@color/black"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/editStudentName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_below="@+id/studentName"
|
|
|
|
android:ems="10"
|
2013-10-30 14:15:38 -04:00
|
|
|
android:inputType="textPersonName"
|
|
|
|
android:textColor="@color/black"
|
|
|
|
android:textColorLink="@color/black" >
|
2013-10-28 20:33:41 -04:00
|
|
|
|
2013-12-02 17:41:14 -05:00
|
|
|
<requestFocus android:layout_height="match_parent" />
|
|
|
|
|
2013-10-28 20:33:41 -04:00
|
|
|
</EditText>
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/editOrganizationName"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_below="@+id/studentOrganization"
|
|
|
|
android:ems="10"
|
2013-10-30 14:15:38 -04:00
|
|
|
android:inputType="text"
|
|
|
|
android:textColor="@color/black"
|
|
|
|
android:textColorHint="@color/black" />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/editSectionNumber"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@+id/sectionNumber"
|
|
|
|
android:layout_below="@+id/sectionNumber"
|
|
|
|
android:ems="10"
|
2013-10-30 14:15:38 -04:00
|
|
|
android:inputType="number"
|
|
|
|
android:textColor="@color/black" />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/editRowNumber"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_below="@+id/studentRow"
|
|
|
|
android:ems="10"
|
2013-10-30 14:15:38 -04:00
|
|
|
android:inputType="number"
|
|
|
|
android:textColor="@color/black" />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
2013-12-02 17:41:14 -05:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/addComment"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-12-02 17:41:14 -05:00
|
|
|
android:layout_alignLeft="@+id/editRowNumber"
|
|
|
|
android:layout_below="@+id/editRowNumber"
|
|
|
|
android:layout_marginTop="14dp"
|
|
|
|
android:text="@string/registration_comments"
|
|
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/editComments"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignLeft="@+id/addComment"
|
|
|
|
android:layout_below="@+id/addComment"
|
|
|
|
android:ems="10"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:textColor="@color/black" />
|
2013-10-28 20:33:41 -04:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkBoxBroadcastInfo"
|
2013-12-02 17:41:14 -05:00
|
|
|
android:layout_width="fill_parent"
|
2013-10-28 20:33:41 -04:00
|
|
|
android:layout_height="wrap_content"
|
2013-12-02 17:41:14 -05:00
|
|
|
android:layout_alignLeft="@+id/editComments"
|
|
|
|
android:layout_below="@+id/editComments"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:text="@string/check_box_broadcast"
|
|
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/buttonRegister"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
android:text="@string/button_register"
|
2013-12-02 17:55:52 -05:00
|
|
|
android:textColor="@color/black"
|
|
|
|
android:onClick="onClick" />
|
2013-10-01 19:39:20 -04:00
|
|
|
|
|
|
|
</RelativeLayout>
|