Firstly!,
I’ve used the generated Activity using the tab navigation type. I just used it to automatically generate Tab control on the Activity. Its on the latest ADT.I think :(,,
Now my question is how do I use the Fragments from other Activity in to the Tab contents
secondly,
Is there any other way to put another Activity inside the Tab content which on the, lets say its MainACtivity.class?….
Planning to have 3 Tabs with 3 different Activitys, each of which contains 1 Activity per tab content
Really need ur help guys I have run out of ideas and sources 🙁 🙁 …
Kind of new to android development so be gentle. 🙂
tab.xml:
Add below code in your activity.java file:
extend your activity by
android.app.TabActivityinstead ofActivityIn the same way you can add as many tabs in your activity.