002.
android:id
=
"@+id/tableLayout1"
003.
android:layout_width
=
"fill_parent"
004.
android:layout_height
=
"fill_parent"
>
005.
006.
<
TableRow
007.
android:id
=
"@+id/tableRow1"
008.
android:layout_width
=
"wrap_content"
009.
android:layout_height
=
"wrap_content"
010.
android:padding
=
"5dip"
>
011.
012.
<
TextView
013.
android:id
=
"@+id/textView1"
014.
android:layout_width
=
"wrap_content"
015.
android:layout_height
=
"wrap_content"
016.
android:layout_marginTop
=
"20dp"
017.
android:gravity
=
"center"
018.
android:text
=
"Add New Member : "
019.
android:layout_span
=
"3"
020.
android:textAppearance
=
"?android:attr/textAppearanceLarge"
/>
021.
022.
</
TableRow
>
023.
024.
<
View
025.
android:layout_height
=
"1dip"
026.
android:background
=
"#CCCCCC"
/>
027.
028.
<
TableRow
029.
android:id
=
"@+id/tableRow2"
030.
android:layout_width
=
"wrap_content"
031.
android:layout_height
=
"wrap_content"
032.
android:padding
=
"5dip"
>
033.
034.
<
TextView
035.
android:id
=
"@+id/textView2"
036.
android:text
=
"MemberID"
037.
android:textAppearance
=
"?android:attr/textAppearanceMedium"
/>
038.
039.
<
EditText
040.
android:id
=
"@+id/txtMemberID"
041.
android:layout_width
=
"wrap_content"
042.
android:layout_height
=
"wrap_content"
043.
android:inputType
=
"number"
044.
android:ems
=
"10"
>
045.
<
requestFocus
/>
046.
</
EditText
>
047.
048.
</
TableRow
>
049.
050.
<
TableRow
051.
android:id
=
"@+id/tableRow3"
052.
android:layout_width
=
"wrap_content"
053.
android:layout_height
=
"wrap_content"
054.
android:padding
=
"5dip"
>
055.
056.
<
TextView
057.
android:id
=
"@+id/textView3"
058.
android:text
=
"Name"
059.
android:textAppearance
=
"?android:attr/textAppearanceMedium"
/>
060.
061.
<
EditText
062.
android:id
=
"@+id/txtName"
063.
android:layout_width
=
"wrap_content"
064.
android:layout_height
=
"wrap_content"
065.
android:ems
=
"10"
>
066.
</
EditText
>
067.
068.
</
TableRow
>
069.
070.
<
TableRow
071.
android:id
=
"@+id/tableRow4"
072.
android:layout_width
=
"wrap_content"
073.
android:layout_height
=
"wrap_content"
074.
android:padding
=
"5dip"
>
075.
076.
<
TextView
077.
android:id
=
"@+id/textView4"
078.
android:text
=
"Tel"
079.
android:textAppearance
=
"?android:attr/textAppearanceMedium"
/>
080.
081.
<
EditText
082.
android:id
=
"@+id/txtTel"
083.
android:layout_width
=
"wrap_content"
084.
android:layout_height
=
"wrap_content"
085.
android:inputType
=
"number"
086.
android:ems
=
"10"
>
087.
</
EditText
>
088.
089.
</
TableRow
>
090.
091.
<
LinearLayout
092.
android:id
=
"@+id/LinearLayout1"
093.
android:layout_width
=
"wrap_content"
094.
android:layout_height
=
"wrap_content"
095.
android:padding
=
"5dip"
>
096.
097.
<
Button
098.
android:id
=
"@+id/btnSave"
099.
android:layout_width
=
"wrap_content"
100.
android:layout_height
=
"wrap_content"
101.
android:text
=
"Save"
/>
102.
<
Button
103.
android:id
=
"@+id/btnCancel"
104.
android:layout_width
=
"wrap_content"
105.
android:layout_height
=
"wrap_content"
106.
android:text
=
"Cancel"
/>
107.
108.
</
LinearLayout
>
109.
110.
</
TableLayout
>