I have a TabHost, which has 4 Tabs inside it.
- Code: Select all
host.addTab(host.newTabSpec("one")
.setIndicator("One")
.setContent(new Intent(this, dataClassOne.class)));
host.addTab(host.newTabSpec("two")
dataClassOne.class, adds a lits of data, in ListView - the View Class looks like
- Code: Select all
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text=""
android:id="@+id/date"
/>
<ListView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/itemlist"
/>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text=""
android:id="@+id/random1"
/>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text=""
android:id="@+id/random2"
/>
When someone clicks the itm in the list, it fires of an startActivityForResult (myIntent_, which dispalys some text - *I want the tab headings to stay, whilst the tab content view changes,* it doesnt
Any ideas on how I can achieve this - ??
Thanks for your thoughts in advance
Will


