History log of /frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
39d1d2d33cdd490d8b9f68d3300725035c1e0c56 29-Jul-2015 Chris Banes <chrisbanes@google.com> FloatingActionButton animation fixes

There are a few scenarios where the FAB can be left
in undesired states. This CL fixes them.

BUG: 22813854
BUG: 22810389
Change-Id: I87f0d7ec81cd1d25b40b5c41c0266095df91e3a9
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
7a13c8489daca7915623dd673df49de2d1a0bf30 27-Jul-2015 Chris Banes <chrisbanes@google.com> Return the correct tint/mode from FloatingActionButton

BUG: 22754431
Change-Id: Iab1a35bdc7d11149b7bb0faa24e498788902e0ea
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
a577676a64e5353b8ec927117151aa6be84adf66 23-Jun-2015 Chris Banes <chrisbanes@google.com> Prefix design lib resources to try and avoid conflicts

BUG: 21363917
Change-Id: I770a01618ac8fefae6d82d1640ccf313111e38e8
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
0b00489086b22c9688c8c04990dadf54489d45e3 12-Jun-2015 Chris Banes <chrisbanes@google.com> Fix FAB not returning after Snackbar dismissal

Caused by the fact that sometimes a removed view does
not trigger a onDependentViewChanged() dispatch. As
a removal doesn't really fit that method, I've added
a onDependentViewRemoved() call to Behavior.

BUG: 21799255
Change-Id: Ib86713a38928dfdbbfcf419e44bafe8023e5a8ee
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
2b4b6274ed8c85c98489f67ddc8b7410c218e289 11-Jun-2015 Jens Ole Lauridsen <jlauridsen@google.com> DesignTime: Do not use animation in design time.

Animations are used in response to a nested scroll in an App Bar
to: turn off the FAB and make the scrim opaque such that a image
is invisible when the toolbar is collapsed.
In design time: do not use animations.
This will allow LayoutLib to render the controls correctly after
the toolbar is collapsed.

Change-Id: Id168ce24d4539a765ccbe09a11ffc96716f28ae6
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
be48ed9161c09c4b2178ab6dbe28638222809fc7 05-Jun-2015 Chris Banes <chrisbanes@google.com> Show/hide FloatingActionButton improvements

We now have an explicit show()/hide() method so that
developers can use the spec'd animation.

Also fixed an issue where the FAB would be animated in,
overriding the developers set vsibility.

BUG: 21652571
BUG: 21652427
BUG: 21689751

Change-Id: I248d49b812c018e6d46a6ccde262433868ae272e
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
e882ef3492de3d2bb687b454e08b870b06d8f4e2 02-Jun-2015 Chris Banes <chrisbanes@google.com> Make the FAB appear visually correct pre-L

Caused by the compat shadow's internal padding. We
now offset the FAB to take account of the padding.

BUG: 21576753

Change-Id: Id0c0bf2c9a349f10474c0a869ab943bb69fce128
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
9fb154338a62edc2c57dc036895199d6f1769400 18-May-2015 Chris Banes <chrisbanes@google.com> Some design lib doc improvements

Change-Id: I0207a11d830d180defacd11c777e6768363cf31b
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
cd78954a2b32d9c22686f12c194fac7e49566cf6 13-May-2015 Chris Banes <chrisbanes@google.com> FloatingActionButton border DO NOT MERGE

This CLs add functionality to add a circular bevel
like stroke around the FAB. Also tidied up the
DrawableWrapper tinting to make sure we invalidate
the tint correctly.

BUG: 21087747

Change-Id: I97e8309574986cdb256c4a9aa7d2c2d1f20d87b1
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
631f64ec9c6255f38a7f746d7949b6a537c1180f 10-Apr-2015 Chris Banes <chrisbanes@google.com> AppBarLayout improvements

- Tidy up listener implementation
- Nested fling support
- Animate FAB pre-v11
- Added internal ValueAnimatorCompat

Change-Id: I3ee6630177015f2bccbf29e5316ef8afe557c5a8
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
de373c43e108bc24b46c947c7a4da26774cdb874 17-Apr-2015 Chris Banes <chrisbanes@google.com> am 1ef42f18: am 29611577: Merge "FAB: Fix NPE with XML attribute, set clickable by default"

* commit '1ef42f184c4e9841ebce898a45a7bb7ccd5b757a':
FAB: Fix NPE with XML attribute, set clickable by default
1ef42f184c4e9841ebce898a45a7bb7ccd5b757a 17-Apr-2015 Chris Banes <chrisbanes@google.com> am 29611577: Merge "FAB: Fix NPE with XML attribute, set clickable by default"

* commit '29611577eb234da4c8c73bcc0c4357978ff25bb8':
FAB: Fix NPE with XML attribute, set clickable by default
d039e3555848f678a2e5363e99026df322d02044 16-Apr-2015 Taeho Kim <jyte82@gmail.com> FAB: Fix NPE with XML attribute, set clickable by default

Fixed NPE when the widget has declared in XML layout with
android:background attribute.

Also, set widget clickable by default so that this widget can
act as a button.

Change-Id: I40124653a74c3593c0a44cce580f72a693b04805
Signed-off-by: Taeho Kim <jyte82@gmail.com>
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
a6a508b2296730ca6954aaebcca52a9962a5cb55 11-Mar-2015 Chris Banes <chrisbanes@google.com> AppBarLayout

There is still a few things missing for this, such as elevation
and fling support. I'll add these in a later CL.

Change-Id: Ie6d6d24a39a21bcd640f09c9da07ec2f6c1f4bb4
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
b7f9224b1495db47eb8fd813b5912250e900770a 09-Jan-2015 Chris Banes <chrisbanes@google.com> Snackbar

Also added a new default swipe-to-dismiss behavior
and hooked it up. Also hooked up the Snackbar
to the Floating Action Buttons.

Change-Id: I717d4db5d34b6c17a2afabe5a3bc2c79fcee4233
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
14d064edb3e4a16a3b90a4a850560177bea1e60d 21-Feb-2015 Chris Banes <chrisbanes@google.com> Position the FAB visually correct pre-Lollipop

Pre-Lollipop we use padding so that the shadow has
enough space to be drawn. This CL adds logic to
offset our layout position so that we're positioned
correctly if we're on one of our parent's edges.

Change-Id: Ia7d2b4286958ac14358a2f6ee270196c00dff9d4
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
9840efe3dbdc7026521da8576574c55120782f6c 06-Jan-2015 Chris Banes <chrisbanes@google.com> Floating Action Button

Includes a tweaked ShadowDrawableWrapper which supports
circular shapes. FloatingActionButton also support a
internal StateListAnimator for pre-Lollipop.

Change-Id: Ia88c28c2ab0da0779f1092495e3a417969cb1d2a
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java