سؤال

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

هل كانت مفيدة؟

المحلول

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/

نصائح أخرى

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).

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top