Git Product home page Git Product logo

fabulous's Introduction

fabulous's People

Contributors

faizmalkani avatar jjobes avatar johnjohndoe avatar jonnyvr1 avatar nathanrussakatbricksimple avatar raq154 avatar saifc avatar stephanebg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fabulous's Issues

How to inflate edittext?

Hellooo. I want to ask how to inflate layout (relativelayout or linearlayout) into floating button?

or how to make linear or relative layout make floating like FAB?

thanks before... :D

Can't add to Android Studio Project

I get an error saying:
Error:(3, 0) Could not find property 'ANDROID_BUILD_SDK_VERSION' on project ':FloatingActionButton'.

I can't find a fix for it, what do I do?
I tried the closed issue that said to import it as a module (File>Import Module...) and that didn't work either.

Ask: is it working with ICS

I was wondering if the lib is working with api level 14 (ICS) since in the description is written that's a lib for JellyBean and KitKat
Anyone tried with a real device?
Thanks

FAB disappears while scrolling

The Floating Action Button disappears when we scroll up and down fast.
To reproduce this behaviour, simply add more items in the sample application and scroll down. Before the scroll stop, scroll up.

Tested with Nexus 5 using version 4.4.4.

getLocationOnScreen() off by half the button width

I'm trying to move the button programmatically, which works fine, but I'm running into an issue when querying getLocationOnScreen(). The returning values appear to be off by half of the button width.

You should be able to see the issue with the following code:

// Set the button location
int mLocation[] = new int[2];
mButton.setX(200);
mButton.getLocationOnScreen(mLocation);
.
.
// Elsewhere (triggered in an onClick callback), try:
mButton.setX(mLocation[0]);

When I do this, the button jumps to the right, in error by half the width of the button.

I believe the error lies in the getLocation() measurement and not the setX() call, as I can set the x-location to the edge of the screen correctly.

Do you have any idea what would cause an error in the getLocation measurement? I'm guessing there's an issue in the widget correctly reporting it's size?

Any help would be greatly appreciated. And, thank you for the library.

Custom XML attributes

Can you add XML attributes, so you have not to define color and drawable programmatically?

Animation fail

I love your app because I am searching a easy way to implement this new style. I tried your apk and I see that the circle button hide with a padding above the navigation bar.

I see that google+ app have a motion blur effect (but I am not sure if it is caused by the speed of google+ floating button because it is faster than your floating button).

Is possible to change the fab height? (new material design has a action bar with more height)

Using with RecyclerView

Currently there stands no way to use this with the new Recycler View and have the FAB hide itself upon a scroll using "attachToListView"

onTouchEvent only called with MotionEvent.Action_Down

There's an error in the library right inside the onTouchEvent method. It always jumps into the else-clause, because of this the Button is always tinted with the darkened color.

Fix:
Change return super.onTouchEvent(event); to return true. This notifies the system that the event was handled and thus the method can retrieve the next Action. (Like MotionEvent.ActionUp)

Hiding/Showing fab position becomes incorrect.

If you tie an ontouch listener to a view and listen for ACTION_DOWN [fab.hide(true)] and ACTION_UP [fab.hide[false]) and repeatedly touch the screen the fab will inch towards the bottom of the screen and never return to its' original position.

This causes the fab action button to be no longer accessible to users who are scrolling around a lot or very quickly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.