मैं एंड्रॉइड नमूना, FragmentTabs का उपयोग कर रहा हूं।फ्रैगमेंट एक्टिविटी टैब स्क्रीन ब्लैकआउट
कहें, 4 टैब (ए, बी, सी, डी) हैं। मैं एक और (ई) के साथ टैब टुकड़ा (ए) इस कोड को
FragmentTransaction transaction = getFragmentManager()
.beginTransaction();
transaction.replace(R.id.realtabcontent, newFragment);
transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN);
transaction.addToBackStack(null);
// Commit the transaction
transaction.commit();
अन्य टैब सी में उपयोग करते हुए, जब मैं बटन टैब (ए) स्क्रीन काली बन वापस प्रेस द्वारा की जगह,।
[टुकड़े के साथ Android टैब्स] (http://android.codeandmagic.org/2011/07/android: से यह
इस लिंक पर मेरा उत्तर जाँच यहाँ सब टुकड़ा उपयोगकर्ताओं के लिए आप कुछ बात सहायक होगी -टैब्स-फ्रैगमेंट्स /) और यह डेवलपर साइट [फ्रैगमेंट्स] (http://developer.android.com/guide/topics/fundamentals/fragments.html) को भी देखें, उम्मीद है कि यह मदद करता है। –