mirror of
				https://github.com/bspeice/UNCCGameDay
				synced 2025-11-03 18:00:43 -05:00 
			
		
		
		
	Add code as given by Rowena. Currently broken!
This commit is contained in:
		@ -32,7 +32,7 @@
 | 
			
		||||
        android:id="@+id/radioButtonPurple"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:text="@string/puple_lot"
 | 
			
		||||
        android:text="@string/purple_lot"
 | 
			
		||||
        android:textColor="@color/black"
 | 
			
		||||
        android1:textColorLink="@color/pressed_unccgameday"
 | 
			
		||||
        android:onClick="onRadioButtonClick" />
 | 
			
		||||
 | 
			
		||||
@ -7,14 +7,15 @@
 | 
			
		||||
    android:paddingRight="@dimen/activity_horizontal_margin"
 | 
			
		||||
    android:paddingTop="@dimen/activity_vertical_margin"
 | 
			
		||||
    android:background="#7d9a43"
 | 
			
		||||
    tools:context=".Registration" >
 | 
			
		||||
    tools:context=".Registration"
 | 
			
		||||
    tools:ignore="Overdraw" >
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/studentName"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_alignParentLeft="true"
 | 
			
		||||
        android:layout_marginTop="26dp"
 | 
			
		||||
        android:layout_marginTop="10dp"
 | 
			
		||||
        android:text="@string/student_name"
 | 
			
		||||
        android:textAllCaps="false"
 | 
			
		||||
        android:textColor="@color/black" 
 | 
			
		||||
@ -26,10 +27,10 @@
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_alignParentLeft="true"
 | 
			
		||||
        android:layout_below="@+id/studentName"
 | 
			
		||||
        android:layout_marginTop="72dp"
 | 
			
		||||
        android:textColor="@color/black" 
 | 
			
		||||
        android:text="@string/student_organization"
 | 
			
		||||
        android:textAppearance="?android:attr/textAppearanceSmall" />
 | 
			
		||||
        android:layout_marginTop="40dp"
 | 
			
		||||
        android:text="@string/organization_check_in"
 | 
			
		||||
        android:textAppearance="?android:attr/textAppearanceSmall"
 | 
			
		||||
        android:textColor="@color/black" />
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/sectionNumber"
 | 
			
		||||
@ -37,7 +38,7 @@
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_alignParentLeft="true"
 | 
			
		||||
        android:layout_below="@+id/studentOrganization"
 | 
			
		||||
        android:layout_marginTop="72dp"
 | 
			
		||||
        android:layout_marginTop="40dp"
 | 
			
		||||
        android:text="@string/section_number"
 | 
			
		||||
        android:textColor="@color/black" 
 | 
			
		||||
        android:textAppearance="?android:attr/textAppearanceSmall" />
 | 
			
		||||
@ -48,7 +49,7 @@
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_alignParentLeft="true"
 | 
			
		||||
        android:layout_below="@+id/sectionNumber"
 | 
			
		||||
        android:layout_marginTop="72dp"
 | 
			
		||||
        android:layout_marginTop="40dp"
 | 
			
		||||
        android:text="@string/row_number"
 | 
			
		||||
        android:textColor="@color/black" 
 | 
			
		||||
        android:textAppearance="?android:attr/textAppearanceSmall" />
 | 
			
		||||
@ -64,7 +65,8 @@
 | 
			
		||||
        android:textColor="@color/black"
 | 
			
		||||
        android:textColorLink="@color/black" >
 | 
			
		||||
 | 
			
		||||
        <requestFocus />
 | 
			
		||||
        <requestFocus android:layout_height="match_parent" />
 | 
			
		||||
 | 
			
		||||
    </EditText>
 | 
			
		||||
 | 
			
		||||
    <EditText
 | 
			
		||||
@ -98,24 +100,44 @@
 | 
			
		||||
        android:inputType="number"
 | 
			
		||||
        android:textColor="@color/black" />
 | 
			
		||||
 | 
			
		||||
    <Button
 | 
			
		||||
        android:id="@+id/buttonSave"
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/addComment"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_alignParentBottom="true"
 | 
			
		||||
        android:layout_marginLeft="18dp"
 | 
			
		||||
        android:textColor="@color/black" 
 | 
			
		||||
        android:layout_toRightOf="@+id/checkBoxBroadcastInfo"
 | 
			
		||||
        android:text="@string/button_save" />
 | 
			
		||||
        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" />
 | 
			
		||||
 | 
			
		||||
    <CheckBox
 | 
			
		||||
        android:id="@+id/checkBoxBroadcastInfo"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_width="fill_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_alignBaseline="@+id/buttonSave"
 | 
			
		||||
        android:layout_alignBottom="@+id/buttonSave"
 | 
			
		||||
        android:layout_alignParentLeft="true"
 | 
			
		||||
        android:textColor="@color/black" 
 | 
			
		||||
        android:text="@string/check_box_broadcast" />
 | 
			
		||||
        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"
 | 
			
		||||
        android:textColor="@color/black" />
 | 
			
		||||
 | 
			
		||||
</RelativeLayout>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										38
									
								
								res/layout/activity_search_rsvp.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								res/layout/activity_search_rsvp.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,38 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
 | 
			
		||||
<RelativeLayout
 | 
			
		||||
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tool"
 | 
			
		||||
    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"
 | 
			
		||||
  >
 | 
			
		||||
 | 
			
		||||
    <SearchView
 | 
			
		||||
        android:id="@+id/searchView1"
 | 
			
		||||
        android:layout_width="fill_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_alignParentTop="true"
 | 
			
		||||
        android:layout_centerHorizontal="true"
 | 
			
		||||
        android:layout_marginTop="18dp"
 | 
			
		||||
        android:background="#b29600"
 | 
			
		||||
        android:queryHint="@string/search_hint"
 | 
			
		||||
        android:inputType="text" >
 | 
			
		||||
    </SearchView>
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/textView1"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_below="@+id/searchView1"
 | 
			
		||||
        android:layout_centerHorizontal="true"
 | 
			
		||||
        android:layout_marginTop="60dp"
 | 
			
		||||
        android:text="@string/search_text"
 | 
			
		||||
        android:textColor="@color/black"
 | 
			
		||||
        android:textStyle="italic"
 | 
			
		||||
        android:textAppearance="?android:attr/textAppearanceLarge" />
 | 
			
		||||
 | 
			
		||||
</RelativeLayout>
 | 
			
		||||
		Reference in New Issue
	
	Block a user