Skip to content

MATERIAL DESIGN: add a floating action button to create folders and upload files #983

Closed

Description

@davivel

Floating action button is the all-new all-different widget provided in Material Design to place the primary action available for the user in a screen. I think it fits nicely for adding files to OC, instead of having the icons in the top bar.

A bit more about floating action buttons in http://www.google.com/design/spec/components/buttons-floating-action-button.html .

I can see it in Gmail right now, even in Android 4.x devices, so I expect it's included in the Android Support Library. In this case, we should use it for all the Android versions. If not, my take would be add it only for Android 5.0+.

I doubt about how many options should be shown when clicked. My first instinct is to group together 'create folder', 'upload file', 'upload from other apps'; but maybe it's too much, and 'create folder' could stay in the action bar. Opinions here, please!

cc: @jancborchardt , @tobiasKaminsky, @masensio

Activity

  1. Kernald commented on May 21, 2015

    @Kernald
    Contributor

    On the technical side: the floating action button is not included in the support library. Neither it's a standard component in the SDK (even in 21). While there are third-party implementations, Google provides nothing (and its applications are not consistent at all in this regard).

  2. davivel commented on May 21, 2015

    @davivel
    ContributorAuthor
  3. jancborchardt commented on May 21, 2015

    @jancborchardt
    Contributor

    If we use the button:

    My first instinct is to group together 'create folder', 'upload file', 'upload from other apps'

    I totally agree with that.

  4. tobiasKaminsky commented on May 21, 2015

    @tobiasKaminsky
    Contributor

    I also think that these three should be accessible when clicking the FAB.
    Is there some cool fancy overlay menu that we can use to present the three options?

  5. davivel commented on May 22, 2015

    @davivel
    ContributorAuthor

    Nothing new & fancy that I watched. But a dialog with the new style should do the work. I'd focus first in having the work done, and add cool visuals only if they are really easy to implement.

  6. tobiasKaminsky commented on May 23, 2015

    @tobiasKaminsky
    Contributor

    Yeah. This was also my intention. But I thought that there would be a new dialog type that could easily be updated and is from material design.

  7. tobiasKaminsky commented on May 23, 2015

    @tobiasKaminsky
    Contributor

    @Kernald this is it!! :) :) 👍
    @jancborchardt now we need some meaningful icons for

    • create folder
    • upload file
    • upload from other apps
      The first two already exist. The problem could be to distinguish between 2 and 3?
  8. davivel commented on May 25, 2015

    @davivel
    ContributorAuthor

    @Kernald, sorry, I cannot find the Speed dials. Is there a more precise link to it? Thanks.

  9. davivel commented on May 25, 2015

    @davivel
    ContributorAuthor

    Thanks, @tobiasKaminsky . Seems pretty cool.

  10. AndyScherzinger commented on Aug 17, 2015

    @AndyScherzinger
    Contributor

    UNfortunately you have to implement it yourself. There is no google implementation for the speed dial...

  11. AndyScherzinger commented on Aug 17, 2015

    @AndyScherzinger
    Contributor

    Erm, I would (like) to work on this, but won't find the time to work on this before begining/mid September though...

  12. AndyScherzinger commented on Aug 17, 2015

    @AndyScherzinger
    Contributor
  13. AndyScherzinger commented on Aug 17, 2015

    @AndyScherzinger
    Contributor

    Initial implementation can be found at #1100

  14. added this to the milestone on Mar 1, 2016
  15. removed their assignment
    on Mar 1, 2016
  16. davivel commented on Mar 9, 2016

    @davivel
    ContributorAuthor

    Ready to go in release 1.9.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions