简体   繁体   中英

Android keep tabview when click on a list view item

I currently have a tabview with three tabs. In one tab i have a listview . I currently have each item on the list to display a new window/activity/intent when i click on it. Is it possible to do this and still have the tabview displaying at the same time? Thanks

Yea It is possible. You need an ActivityGroup class, Which helps navigation in TabActivity , and the tabs always remain visible and accessible.

Here is a usefull link to a tutorial.

But using ActivityGroup creates a little, very little complexity about the Context and opening Dialog s (adding new Windows) in child Activity (ies), but the more you understand the miner will be the complexity.

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