Domanda

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

È stato utile?

Soluzione

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.

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top