Skip to content

For Android. Uses an action bar to select between a grid view fragment and web view fragment

License

Notifications You must be signed in to change notification settings

emil10001/Action-Bar-Fragment-Example

Repository files navigation

This project was hacked together from various examples of fragments that I've found laying around the web. I needed something that I could reference and extend easily, using a straightforward framework. I think that I've delivered that here. If you've read up on Fragments, what's going on here should make some sense. I also wanted to use fragments that I didn't see in examples, so one is a webview - which does appear in CommonsWare's (commonsguy) example, though mine is a bit different, and a grid view extending Fragment, which I have not seen at all. I also am setting the size of the images in the gridview programatically, which took me some digging to figure out how to do, finally found it on google's android blog.

Requires ActionBarSherlock (v3.5.1) library to provide an action bar to any android 2.1 and up. Get library here

By E John Feig

About

For Android. Uses an action bar to select between a grid view fragment and web view fragment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages