How to embed app drawer / app launcher in Android Application

烂漫一生 提交于 2019-12-11 21:53:47

问题


I'd like to embed the app drawer within an activity/layout in my android app. Has anyone seen an example of how this can be done?

I did a StackOverflow search and I wasn't able to find anything useful...

https://stackoverflow.com/search?q=app+drawer


回答1:


Download DevApps Direct on your device. All the samples DevApps showcases are open source.

It has an example called "Sliding up Panel", with its code here.

But note that you'll also need to merge the code for this gridview example if you want to replicate the listing of the launcher icons in that panel just like the app drawer does.




回答2:


I basically think this is a bad idea you shouldn't be launching other apps from inside your app unless it is a launcher. That said I've written a few. Grab my source here https://github.com/aospTV/TVLauncher-Gee



来源:https://stackoverflow.com/questions/20752269/how-to-embed-app-drawer-app-launcher-in-android-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!