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.

有帮助吗?

解决方案

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...

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top