Top "Android-tabhost" questions

Display a sub list of tab labels representing each page in the parent's tab collection.

FragmentTabHost - No tab known for tag null

Few days ago I implemented TabHostFramgent in a Fragment with a NavigationDrawer, and I faced with a problem that is …

java android android-layout android-viewpager android-tabhost
Android Tab Help. How to set 2nd tab as default when app opens?

I have created an app with 3 tabs. The app works fine but I want the 2nd tab to be selected …

android tabs android-tabhost
how to add icon and Image in Tabhost android?

I am following this tutorial to add icon along with text using Tabhost. I am writting following codes to add …

android android-tabhost tabbar android-framelayout tabwidget
Why onResume is called when i open for the first time the tab of a tabhost?

i have a tabhost with some tabs, and each tab have implemented the method onresume, because i need to reload …

android android-tabhost onresume
Android 1.6 & Fragment & Tabhost

I'm working on upgrading an Android application (1.6 compatibility) which uses a TabHost to show 3 different tabs with nested activities. At …

java android android-fragments android-tabhost activitygroup
Drawing number badge like iPhone in Android

I want to draw the number badge as shown in the above image on the Chats tab. That number badge …

android android-tabhost
Modify tab indicator dynamically in Android

My application needs to update tab indicator dynamically, I'm trying to do this by invoke TabSpec.setIndicator(), but it doesn't …

android android-tabhost
How to get the content of a Tab within a TabHost?

I have an Activity defined by: <LinearLayout android:id="@+id/TabContainer" android:layout_width="match_parent" android:layout_height="…

android android-layout android-activity android-tabhost android-view
StateListDrawable to switch colorfilters

I want to create custom buttons to use in a TabHost. I haven been trying to just use the same …

java android android-layout android-tabhost colorfilter
How to use the OnTabChanged method in android?

TabHost tabHost = getTabHost(); // The activity TabHost TabHost.TabSpec spec; // Resusable TabSpec for each tab Intent intent; // Reusable Intent for each …

android android-tabhost android-tabactivity