Top "Android-tabhost" questions

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

Get index of selected tab in tabHost

I'm trying to store the index of the currently selected tab in onSaveInstanceState so I can restore it. However the …

android android-2.2-froyo android-tabhost
OnClickListener on Tabs not working

Greetings, I am trying to get the Click - event when clicking on the currently selected tab of my TabActivity. …

android onclick android-tabhost
Android - Tabhost working in Activity class

OK, I must be overlooking something silly because I am unable to get my tabhost to display in my Activity …

android android-tabhost
Android: TabActivity deprecated, use Fragments?

It appears that TabActivity is now deprecated, we need to use Fragments. I tried using a standard Activity but couldn't …

android android-layout android-tabhost android-tabactivity
onActivityResult not call in the Fragment

The structure of the app is like this: tabHost (in Activity) -> contains -> TabFragment(extend base container …

android android-activity android-fragments android-tabhost onactivityresult
Android Exception: Did you forget to call 'public void setup (LocalActivityManager activityGroup)'

MyCode: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); final …

android exception android-tabhost
Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'

I have a problem: Java Code public class VisualizzaListaActivity extends TabActivity { /** Called when the activity is first created. */ @Override public …

android android-tabhost android-logcat
How to implement horizontally scrollable tabs?

I'm trying to implement this application. At the moment I have designed tabs on it and since I have more …

android android-tabhost tabwidget horizontalscrollview android-tabs
How to create app bar with icons using TabLayout Android Design?

I'm trying to use the new TabLayout in the android design library to create app bar with icons. public void …

android-tabhost android-tabs android-design-library
Android TabHost inside Fragment

I am working on an Android App and I have used android FragmentPager tabs example from developer.android.com), this …

android android-fragments android-tabhost android-viewpager