Hi all,

In the below XML, I'm getting NullPointerException.  What is the reason
behind that?

I also want scroll bars in th same XML. How to do that?


<?
xml version=*"1.0"* encoding=*"utf-8"*?>

   <?
xml version=*"1.0"* encoding=*"utf-8"*?>

<
TabHost xmlns:android=*"http://schemas.android.com/apk/res/android"*

android:id
=*"@+id/my_tabhost"*

android:layout_width
=*"fill_parent"*

android:layout_height
=*"fill_parent"*

android:background
=*"#ffffff"*>

<TabWidget

android:id=*"@android:id/tabs"*

android:layout_width=*"fill_parent"*

android:layout_height=*"65px"*/>

<FrameLayout

android:id=*"@android:id/tabcontent"*

android:layout_width=*"fill_parent"*

android:layout_height=*"200px"*

android:paddingTop=*"65px"*>

<TableLayout

android:id=*"@+id/TableLayout01"*

android:layout_width=*"fill_parent"*

android:layout_height=*"fill_parent"*

xmlns:android=*"http://schemas.android.com/apk/res/android"*>

<TableRow>

<TextView

android:id=*"@+id/lbl1"*

android:layout_width=*"wrap_content"*

android:layout_height=*"wrap_content"*

android:layout_column=*"0"*

**android:layout_marginTop=*"10dip"*

android:text=*"@string/lbl1"*/>

<Spinner

android:id=*"@+id/spinner"*

android:layout_width=*"fill_parent"*

android:layout_height=*"wrap_content"*

android:drawSelectorOnTop=*"true"*

android:prompt=*"@string/planet_prompt"*/>

</
TableRow>

</
TableLayout>

</
FrameLayout>

</
TabHost>
Warm Regards,
Chirayu Dalwadi

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to