문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top