ea0bce9137a7d61b710f8fe299e4790e8f7f1540 |
|
19-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Expose both Behavior constructors in FloatingActionButton BUG: 28267924 Change-Id: Iee838536705f29adb26293197311b3eff92409ee
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
9cf7823a2b044e550dd5c1ba3a7a91d45b4d9673 |
|
13-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Fix build for FloatingActionButton Change-Id: Ie87f7dcd3615b8c72d6a8165c441678b8cb98fcb
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
1de702ffd1244435005aab3c4ce132c54f40fefa |
|
13-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix the FAB not returning when animations are disabled" into mnc-ub-dev am: 5ecac86 * commit '5ecac8623018236e9f15385cade2c7ea59829f2e': Fix the FAB not returning when animations are disabled Change-Id: I90e399cbb1becfa3577145535ee5b9048d646efb
|
c036550c2328e8489d79c79e88f5de7f88449be6 |
|
12-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Fix the FAB not returning when animations are disabled BUG: 28110490 Change-Id: If88c45fcd55f07a63edb6a26a3ec62314abf49c3
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
ae0f778788b739d75f704dd4726c22017e30799e |
|
04-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FAB + Snackbar stacking with hidden FAB When a FAB is hidden, and then shown while a Snackbar is displayed, the FAB is not translated to support the automatic stacking. This CL fixes this. BUG: 27992373 Change-Id: I7366f725df0e239e42a9478da1c6ae3e7841ff48
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
56f0ad8d4fa234d2801971042ff1d71aba960e37 |
|
23-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FloatingActionButton doc build Change-Id: Ia1becbc40d7dfac61fd88ea16da4fbe149fc8c68
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
a1de3eef9bb5ef90d00a23c65f13e1fc83254455 |
|
01-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Make FAB react to window size Useful for multi-windows where the size of the window can change. Also added an API to set the size programmatically. The default size is now AUTO, but can be explicitly set to whatever size the developer wishes. BUG: 27328132 BUG: 27464447 Change-Id: If617b565a8c242d6ce8b85e56cd9a20df07995ff
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
0f268e050ac69084f9e00bfb149735239704c101 |
|
29-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix FloatingActionButton.setBackgroundTint* not working" into mnc-ub-dev am: 0960724273 * commit '0960724273891c9f7a9e2f2f6397c0389747b36e': Fix FloatingActionButton.setBackgroundTint* not working
|
1711e8729c1b901b73f530e87b7c9cc9370f33be |
|
26-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FloatingActionButton.setBackgroundTint* not working Caused by the move to AppCompatImageButton. Happens due to AppCompat's own background tinting overriding things. Fixed by moving back to our own tinting. Had to add support to use AppCompat's ImageHelper to enable vector icon support. BUG: 27372244 Change-Id: Ia06bea72796e7154bae50c65ef6dfe91158e3bf6
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
ccfe45bc4d8090bc9283f3d8dcbfc5497da273e8 |
|
24-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FAB and background attrs again am: d95e0bb027 * commit 'd95e0bb0271ae59387dd9d2ca402ad6f39d789d2': Fix FAB and background attrs again
|
d95e0bb0271ae59387dd9d2ca402ad6f39d789d2 |
|
24-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FAB and background attrs again Seems that I didn't actually test with a backgroundTint set. Now with added tests to check the background colors. BUG: 27270707 Change-Id: I92139e9466f33469949d68290def06bf24bbb5ea
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
b3ba94bf8b5cdae24e5a09a83813d72f2e2d8c1a |
|
23-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Revert "Add default style attrs for design components" This reverts commit 7e268c7de8bb10fc24ddda5d237d5cc5ce3b591b. Change-Id: I5ba53003569cb7918fdaa550d36a697c86b2c282
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
7e268c7de8bb10fc24ddda5d237d5cc5ce3b591b |
|
22-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Add default style attrs for design components BUG: 27285523 Change-Id: Id19144f3fe58fe61ea132c2ca4fbf2cda5595277
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
df23c413315751774dd83a1d930ae6e83bc21d55 |
|
22-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of b928ccefb6 to nyc-dev Change-Id: I966ee45aaa2f8150421d57d8464f03eca47c3c4c
|
cdc736866534c604c4015c78371ade52bb6d52df |
|
21-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix backgroundTint attrs on FAB Caused by us moving to AppCompatImageButton which reads the attrs itself and calls the appropriate methods. Fixed by making sure that FAB's impl is created before the super constructor is called. BUG: 27270707 Change-Id: Id16d777bac5892662dbc99f752f81952166acec2
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
d5d3213d80be767482a89bea6d073006582e2bcc |
|
19-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "fix clickable area of FAB on pre-Lollipop devices"
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
1005c226fdfddf30e6ad1ec2bb4c57942918dd8f |
|
18-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Testing FAB anchoring with AppBarLayout Also fix a few typos in FloatingActionButton comments. Change-Id: Ic42a6f228a189d618b35e5c64ee9e961a58a3e9e
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
1e220ff878c4b9c22aff3a6afc20aa89449c1833 |
|
15-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Rename FAB elevation methods BUG: 26181792 Change-Id: I722f6c004a00f7f9fde05b90b969786bf1e65f99
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
e33473d0e35315c02243363a7479a2c361765751 |
|
03-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Update FAB's tX even if it's not shown Fixes the case where a FAB is hidden while a Snackbar is displayed, and then shown after the Snackbar has been removed. BUG: 25887293 Change-Id: I9c705273e58a00941f0104e4377df4530b7b351e
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
2b1d1d93a93070601d3894f523d6421c64544246 |
|
06-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Fix doc build Change-Id: Id6826ffb3e0fd68d7bbe536dfde8868856fdd308
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
6d7a9a02765e4cb497081e66dafb5d9fa76f4312 |
|
19-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Add compat padding to FloatingActionButton ala CardView Defaults to disabled, but when enabled, FloatingActionButton will have the same metrics on both Lollipop+, and older platforms where the compat shadow is used. BUG: 25274672 Change-Id: Ide28651124ab31472c588e7d65a32999ec674445
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
3d81c900316412b4130bf40e0dd8b0d3d3a93e78 |
|
04-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Add getter for FAB content background BUG: 25450451 Change-Id: I513e5fe2f9e0fb7013f03f6d1f8edd957d5ab8dd
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
d9cbe69a6661315238d856abc22578d03666f63b |
|
26-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Add getContentRect() API to FloatingActionButton BUG: 25250136 Change-Id: I6bb69346853e3b08140622b6f50c265295314051
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
a419ee1ef9aef8b567f1ccd8c29d01ec7bff4cc9 |
|
21-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Fix Snackbar + FloatingActionButton showing simultaneously Caused by both things triggering an ViewPropertyAnimator on the FloatingActionButton. The CLs fixes it by moving one of them to use a seperate ValueAnimator. BUG: 25138785 Change-Id: Ia4e3f8f2e6d0d2da3e35cb82297220a6c71fabef
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
fc780bab91bd4275ae2c3b75c3dfb327e008e4db |
|
15-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Respect a FloatingActionButton's visibility when anchored Currently when a FAB is anchored to an AppBarLayout, it controls the FAB's visibility (for the automatic seam functionality). This meant that any user defined visibility was ignored since we had no way of distinguishing what was user defined or not. This CL fixes that by recording what the user defined visibility is, and only updates the FAB's visibility from the ABL if the user has set it to be visible. BUG: 24973851 Change-Id: Iee9e95a6eac551934844fbfdbd9ca8fe68bcb28b
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
097e80a3c5518c6bf2e9f3f9b55ed9f4b5cc37e8 |
|
16-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Fix invisible FloatingActionButton pre-ICS The mutate workaround doesn't work all of the time. This CL fixes it by always creating our own GradientDrawable for the background BUG: 23373046 Change-Id: I4b478a23b89d6721ebead62c5bb67505a5737611
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
9ec922c215ed95a4bbd8bd7940e81dcfe6926893 |
|
19-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Fix FAB using ICS APIs on Honeycomb Change-Id: I185c1a44bba205834345a8aa32158ece7855f223
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
1cd777d1e3effedb5f06296ea42dfce59b52d1d9 |
|
15-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Add support for rotating a FAB pre-L" into mnc-ub-dev
|
8c05e5f52fbc790b745e768398d9e69d6b9d9ee1 |
|
12-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Doc fixes BUG: 24807678 BUG: 24808206 BUG: 24807678 Change-Id: Id963e857072961f6360bb828cc304e67db360227
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
d9770e12c8ff2d4417700492c6616572be897e93 |
|
29-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Add support for rotating a FAB pre-L As the shadow is baked into the view pre-L, the shadow is also rotated when the view is rotated. This CLs fixes that by offsetting any view property rotation in both the shadow and border drawables. BUG: 24464887 Change-Id: I8c39fbe90a2251a5a79b3f31328d47e55f74f931
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
6f800ea6be4954897981c6c5e45579bba524573e |
|
24-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "FloatingActionButton fixes" into mnc-ub-dev
|
0ad7ef59b28d8ffafd551d2756b5a8ec47c90682 |
|
18-Sep-2015 |
Mark Wei <markwei@google.com> |
Add a listener to FloatingActionButton show() and hide(). Bug: 24053775 Change-Id: I36495bd56c48afc3249d3e09761c823a9b6c377a
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
18d22257ccfb5cebb3ccd2450736e735ed1fb9bb |
|
21-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
FloatingActionButton fixes - Remove default clickable state - Fix FAB jumping around when used with a Snackbar BUG: 24252795 BUG: 24254664 Change-Id: I8946b2674e5a4147f9fd8b6d4a40fcc5bc0c32ac
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
3531cb37189bcbd3039056f959e0916dff645d0a |
|
10-Aug-2015 |
Chris Banes <chrisbanes@google.com> |
Make FloatingActionButton focusable BUG: 23070205 Change-Id: Ibae1c8472ba8160d80dc7071a1f7777039e203e8
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
809bb62055ad42b88f3a69308be222801b89fbd9 |
|
07-Aug-2015 |
Chris Banes <chrisbanes@google.com> |
Add more helpful exception to design components If a developer doesn't use a AppCompat theme, bad things happen with the design lib. This CL adds an explicit check with a helpful error message. Change-Id: I60c81ed87057fa75b38e26bf8c4b1edbc9ff7a3f
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
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
|