|
hi, thanks for making me think about this some more :) i found the
problem. when add a tab based on an activity, mTabHost.addTab(mTabHost.newTabSpec("faves").setIndicator("Favorites", getResources().getDrawable(R.drawable.edit)).setContent( new Intent(this, FavesActivity.class))); you DO NOT include it in your tab layout. i was doing the below, which is was wrong, <FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent"> <include layout="@layout/closest"/> <include layout="@layout/search"/> <include layout="@layout/faves"/> </FrameLayout> On 9/5/09 8:31 AM, nimph wrote: No... Can we see your layout file, or the code if you wrote it by hand?// On Sep 4, 6:10 pm, Jeffrey Blattman <[email protected]> wrote: --
![]() |
- [android-beginners] TabLayout strangeness Jeffrey Blattman
- [android-beginners] Re: TabLayout strangeness nimph
- [android-beginners] Re: TabLayout strangeness Jeffrey Blattman
- [android-beginners] Re: TabLayout strangeness nimph


