Top "Android-tabhost" questions

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

Android: TabHost without TabActivity

I want to create tabs without extending TabActivity. (The reason is that TabActivity cannot handle a custom titlebar as it …

android android-tabhost
Android tabhost change text color style

Trying to change tabhost text color, in this code I can change tabhost background color(not text color) tabHost.setOnTabChangedListener(…

android android-tabhost
How to programmatically switch tabs using buttonclick in Android

I have been struggling with this for a few days now. I'm trying to switch tabs programmatically upon a button …

java android tabs onclick android-tabhost
How to implement tabs now that TabActivity is deprecated

I am trying to implement some simple tabs in an activity. I think I have the xml code ok (I …

java android android-tabhost
How to set Android toolbar height?

I want to achieve this: What I thought was to make a Custom Toolbar with a bigger height and work …

android android-actionbar android-tabhost android-toolbar
Android remove space between tabs in tabwidget

I have made an application which has tabs like in HelloTabActivity, there is also space between these tabs, can anyone …

android android-layout android-tabhost tabwidget android-style-tabhost
How to switch tabs programmatically in Android from fragment?

I have implemented a TabActivity which extends FragmentActivity. It has 5 tabs each tab is a Fragment. What i am looking …

android android-fragments android-tabhost
Dynamically changing the fragments inside a fragment tab host?

I have one main activity which is fragment activity here I am setting two tabs with two fragments A and …

android android-fragments android-tabhost fragment-tab-host android-nested-fragment
Android. How to change Activity within a Tab

Following situation: I have TabActivity with e.g. three tabs, TabA, TabB, TabC. There are a button in activity (Act_…

android android-tabhost tabactivity
TabHost - how to change tab text in XML

I know the solution on how to change it programically however I would like to set the text in XML. …

android android-tabhost