Question

I am developing one android application, having the listview activity. I displayed the activity. I want to place one pop-up tab activity having two tabs for the list view element. when the user clicks on the corresponding element, the pop-up tab should display and tab activity should be performed. Please help me with the corresponding sample code. Thanks in advance.

Was it helpful?

Solution

If i m getting right your question ,you want to open a TabActivity onItemClick ,which should look like a pop-up, I would like to suggest you to open a normal TabActivity when the user clicks on the corresponding element ..just put this in your manifest file :

<activity android:name=".YourTabActivityExample" ***android:theme="@android:style/Theme.Dialog***">

Theme.Dialog will make it to look like a pop-up...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top