What happened to the TabWidget tutorial?
-
01-07-2021 - |
Frage
The TabWidget tutorial was apparently removed from the Android developer website. Why was this removed? Is there an updated tutorial available?
Lösung
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
Andere Tipps
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).
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow