android - How can I switch the activity of the content of a tab in Tabhost -


मैंने एक TabHost बनाया है और 1 टैब में, मैंने

 < Code> mTabHost.addTab (mTabHost.newTabSpec ("tab1") .setIndicator (getString (R.string.dialerIconLabel), getResources ()। GetDrawable (R.drawable.ic_tab_dialer)) .setContent (आशय));            

P>

आप आसानी से बदल नहीं सकते हैं कि देखें टैब की सामग्री है हालांकि, उस दृश्य में केवल एक दृश्यमान बच्चे के साथ ViewFlipper , या फ़्रेमलेआउट हो सकता है, जो आपको समान दृश्य प्रभाव दे सकता है।


Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -