Question

The TabWidget tutorial was apparently removed from the Android developer website. Why was this removed? Is there an updated tutorial available?

Était-ce utile?

La solution

I recommend using Navigation Tabs in the Action Bar. If your build target is Pre-Honeycomb you can incorporate navigation tabs into ActionBarSherlock very nicely.

http://developer.android.com/guide/topics/ui/actionbar.html#Tabs

http://developer.android.com/training/implementing-navigation/lateral.html#tabs

http://actionbarsherlock.com/

Autres conseils

The TabWidget tutorial was removed because it used a TabActivity, a class which is deprecated and should be avoided in favor of Fragments(available on older versions of android through the compatibility package).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top