質問

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