0% found this document useful (0 votes)
34 views

Edison G. Millet Bsit-3 Block-2: Om/tools

The document describes the layout of a student registration form on an Android application. It includes text fields for collecting the student's first name, last name, middle name, course, and gender. It also includes radio buttons for selecting male or female for gender. There are buttons for registering the student's information and canceling the registration. The layout uses a table layout with rows and columns to organize the labels and fields.

Uploaded by

edison
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Edison G. Millet Bsit-3 Block-2: Om/tools

The document describes the layout of a student registration form on an Android application. It includes text fields for collecting the student's first name, last name, middle name, course, and gender. It also includes radio buttons for selecting male or female for gender. There are buttons for registering the student's information and canceling the registration. The layout uses a table layout with rows and columns to organize the labels and fields.

Uploaded by

edison
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Edison G.

Millet
BSIT-3 BLOCK-2
<TableLayout
xmlns:android=http://schemas.androi
d.com/apk/res/android

android:textSize="20dp"

android:text="Last Name:"

android:textColor="#ffffff"

android:textSize="20dp"

xmlns:tools=http://schemas.android.c
om/tools

android:id="@+id/textView"

android:textColor="#ffffff"

android:layout_column="1" />

android:layout_column="1" />

android:layout_width="match_parent

<EditText

"
android:layout_height="match_parent
"

dp"

android:paddingBottom="@dimen/act
ivity_vertical_margin"

android:layout_height="wra
p_content"

android:paddingLeft="@dimen/acti
vity_horizontal_margin"

android:id="@+id/editText"

android:layout_height="wrap_
content"

android:layout_column="3"

android:layout_column="3" />

android:paddingRight="@dimen/ac
tivity_horizontal_margin"

android:layout_width="250

android:layout_width="250dp

</TableRow>

<TableRow

android:layout_width="match_p
arent"

android:layout_width="match_p
arent"

android:layout_height="match_p
arent">

android:layout_height="match_p
arent">

<TextView
android:text="First Name:"

</TableRow>

<TableRow

android:background="#0037ff">
<TableRow

"

/>

android:paddingTop="@dimen/acti
vity_vertical_margin"
tools:context="com.example.user.s
tudentinfoapp.Ronnelrazo"

<EditText

android:layout_width="match_p
arent"
android:layout_height="match_p
arent">

<TextView
android:text="Middle Name:"

<TextView

android:textSize="20dp"

android:textColor="
#ffffff"

android:layout_colu
mn="3" />

android:layout_colu
mn="1" />

android:layout_width=
"match_parent"
</TableRow>

<EditText
android:layout_widt
h="250dp"

<TableRow

android:layout_height
="match_parent"></TableR
ow>

<TableRow

android:layout_heig
ht="wrap_content"

android:layout_width=
"match_parent"

android:layout_colu
mn="3" />

android:layout_height
="match_parent">

<TableRow
android:layout_width=
"match_parent"
android:layout_height
="match_parent">

<TextView
</TableRow>

<TableRow

android:text="Gend

er:"

android:textSize="2

0dp"

<RadioButton
android:text="Femal

e"

android:textSize="2

android:layout_width=
"match_parent"

android:paddingTop
="50dp"

0dp"

android:layout_height
="match_parent">

android:layout_marg
inRight="50dp"

#ffffff"

<TextView
android:text="Cours

e:"

#ffffff"

android:textColor="

android:layout_colu
mn="1" />

android:textColor="

android:id="@+id/r
adioButton2"
android:layout_colu
mn="3" />
</TableRow>

android:textSize="2

0dp"

<RadioButton

android:layout_marg
inRight="50dp"
#ffffff"

android:textColor="

android:layout_colu
mn="1" />

<EditText
android:layout_widt
h="250dp"

android:text="Male"
android:textSize="2
0dp"

<TableRow
android:textColor="

#ffffff"

android:layout_width=
"wrap_content"

android:id="@+id/r
adioButton"

android:layout_height
="wrap_content">

android:layout_colu
mn="3" />

<Button
android:text="Register
"

android:layout_heig
ht="wrap_content"

</TableRow>

android:background="
#000000"

android:layout_margin
="20dp"

android:orientation="vert
ical"

android:textColor="#ff
ffff"

android:paddingBottom=
"@dimen/activity_vertical_
margin"

android:id="@+id/butt
on"
android:layout_column
="1" />

android:paddingLeft="@
dimen/activity_horizontal_m
argin"

<Button

android:paddingRight="
@dimen/activity_horizontal_
margin"

android:text="Canc
el"
android:background
="#000000"

android:paddingTop="@d
imen/activity_vertical_margi
n"

android:textColor="
#ffffff"
android:id="@+id/b
android:layout_colu

tools:context="com.exa
mple.user.studentinfoapp.Li
nearLayout"

android:layout_heig
ht="wrap_content"

android:background="#0
01aff"

utton2"
mn="3"

android:layout_marg
inLeft="100dp"
>

android:layout_marg
inBottom="10dp"

android:weightSum="1"

android:layout_marg
inTop="20dp"
android:layout_span
="0"
android:layout_weig
ht="2" />

<LinearLayout
xmlns:android="http://sche
mas.android.com/apk/res/a
ndroid"
<TextView

xmlns:tools="http://sche
mas.android.com/tools"
</TableRow>

android:layout_width="m
atch_parent"

</TableLayout>
android:layout_height="
match_parent"

android:layout_width=
"wrap_content"

ffff"

p"

android:textColor="#ff

android:textSize="20d

1dp"

android:paddingTop="

android:layout_height
="wrap_content"

android:layout_width=
"350dp"

android:layout_height
="wrap_content"

Name:"

android:text="Last
/>

android:layout_margin
Top="0dp"

android:text="First

android:layout_height
="wrap_content"
/>

Name:"
android:id="@+id/text
View2"
/>

<EditText
android:layout_width=
"350dp"

<TextView

<EditText

android:layout_margin
Top="0dp"

android:layout_width=
"wrap_content"

android:layout_widt
h="350dp"

android:layout_height
="wrap_content"
/>

ffff"

android:layout_marg
inTop="0dp"
android:layout_heig
ht="wrap_content"
android:id="@+id/e
ditText2"
/>

android:textColor="#ff

android:textSize="20d
p"
<TextView
android:layout_width=
"wrap_content"
android:textColor="#ff

android:paddingTop="
1dp"
android:layout_height
="wrap_content"

ffff"
android:textSize="20d
<TextView
android:layout_width=
"wrap_content"

"

android:text="Course:
/>

p"
android:paddingTop="
1dp"

<EditText

android:textColor="#ff

android:layout_height
="wrap_content"

android:layout_width=
"350dp"

android:textSize="20d

android:text="Middle
Name:"
/>

android:layout_margin
Top="0dp"

ffff"

p"
android:paddingTop="

android:layout_height
="wrap_content"
/>

1dp"
<EditText

android:layout_gravity
="center_horizontal"
/>

android:layout_gravity
="center_horizontal"

<RadioButton

android:layout_weight
="0.45"

<TextView
android:layout_width=
"wrap_content"

android:layout_width=
"wrap_content"

android:textColor="#ff
ffff"

android:weightSum="1
">

android:layout_height
="wrap_content"
android:textSize="20d

p"

android:text="Female"

<LinearLayout

android:textColor="#ff

android:orientation
="vertical"

android:textSize="20d

android:layout_widt
h="match_parent"

android:padding="1dp
"

android:layout_heig
ht="wrap_content"

android:paddingLeft="
10dp"

android:layout_weig
ht="2.56">

android:paddingTop="
50dp"

ffff"

android:layout_height
="wrap_content"

p"

"

android:text="Gender:
/>

<RadioButton
android:layout_width=
"wrap_content"
android:layout_height
="wrap_content"

android:id="@+id/radi
oButton4"
android:layout_gravity
="center_horizontal"
/>

android:text="Male"
<LinearLayout
ffff"

p"

android:textColor="#ff

android:textSize="20d

android:id="@+id/radi
oButton3"

<Button
android:layout_wi
dth="wrap_content"
android:layout_he
ight="wrap_content"

android:orientation="v
ertical"

ncel"

android:text="Ca

android:layout_width=
"match_parent"

="#ffffff"

android:layout_height
="wrap_content"

android:backgrou
nd="#000000"

android:textColor

android:id="@+id
/button4"

android:layout_m
arginLeft="50dp"

android:layout_gr
avity="right"

android:layout_m
arginRight="100dp"

android:layout_m
arginRight="50dp"
/>

android:background
="#000000"
android:layout_m
arginTop="-48dp"

<Button
android:layout_widt
h="wrap_content"

utton3"

android:id="@+id/b
/>

android:layout_heig
ht="wrap_content"

</LinearLayout>

android:text="regist

</LinearLayout>

er"
android:textColor="
#ffffff"

</LinearLayout>

You might also like