SocketException
SocketException

Reputation: 48

Start activity in tab using fragment

I have tab activities (tab1, tab2). When button1 is pressed in tab1 activity it covers up the whole screen. How to start another activity in the same tab?

Is it possible to start ContactsContract.Contacts.CONTENT_URI in tab1?

Upvotes: 3

Views: 1192

Answers (1)

Lalit Poptani
Lalit Poptani

Reputation: 67286

Check FragmentTabs.java example in the documentation.

Upvotes: 2

Related Questions