Create Dashboard Activity layout

Dashboard Activity Layout following our current wireframes https://www.flinto.com/p/a0de3ed3

/cc @fcduarte @amitbharadwaj 
np!


2014-07-07 13:50 GMT-07:00 Jose Montes de Oca <notifications@github.com>:

> In src/org/missionassetfund/apps/android/activities/MainActivity.java:
>
> > +        showDashboardFragment();
> > +    }
> > +
> > +    private void showDashboardFragment() {
> > +        showFragment(DashboardFragment.class);
> > +    }
> > +
> > +    @SuppressWarnings("rawtypes")
> > +    private void showFragment(Class activeFragmentClass) {
> > +        Class[] fragmentClasses = new Class[] {
> > +                DashboardFragment.class
> > +        };
> > +        FragmentManager mgr = getSupportFragmentManager();
> > +        FragmentTransaction transaction = mgr.beginTransaction();
> > +        try {
> > +            for (Class klass : fragmentClasses) {
>
> I'm just lazy and used the pattern shown here
> <https://github.com/thecodepath/tumblrsnap/blob/master/src/com/codepath/apps/tumblrsnap/activities/MainActivity.java#L76>
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/CodePath-MAF/AndroidClient/pull/16/files#r14621467>.
>