简体   繁体   中英

Android Pop-up Tab Activity for the element of listview

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM