简体   繁体   中英

How do i add activity within activity?

在此处输入图片说明

i'm trying to make an app for nexus 7. how can i display multiple activity to red area when the button is clicked?? Btn_A call activity A Btn_B call activity B Btn_C call activity C Btn_D call activity D i'm really need a example for this.

You should use fragments in this case.

You can find some useful examples in the API demos .

Tab activity is the best for that scenario. Please read the below link for tab activity.

http://www.androidhive.info/2011/08/android-tab-layout-tutorial/

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