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/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|
3d81c900316412b4130bf40e0dd8b0d3d3a93e78 |
|
04-Nov-2015 |
Chris Banes <chrisbanes@google.com> |
Add getter for FAB content background BUG: 25450451 Change-Id: I513e5fe2f9e0fb7013f03f6d1f8edd957d5ab8dd
/frameworks/support/design/lollipop/android/support/design/widget/FloatingActionButtonLollipop.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/lollipop/android/support/design/widget/FloatingActionButtonLollipop.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/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|
9ec922c215ed95a4bbd8bd7940e81dcfe6926893 |
|
19-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Fix FAB using ICS APIs on Honeycomb Change-Id: I185c1a44bba205834345a8aa32158ece7855f223
/frameworks/support/design/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|
8603357c9433b9aef1805413a3bfc4a4f8decc50 |
|
15-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Make sure that FAB's border respects tint updates BUG: 24699109 Change-Id: I15469769242abfe9edf8b87b2f88f46dac7aa3de
/frameworks/support/design/lollipop/android/support/design/widget/FloatingActionButtonLollipop.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/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|
a0f7a48850082ad48cf2639579331d8c792dbade |
|
28-Jul-2015 |
Chris Banes <chrisbanes@google.com> |
Mutate FAB backgrounds before tinting BUG: 22782850 Change-Id: I6c3281f7194c7f2e7989ad270469bcd8eaf953b6
/frameworks/support/design/lollipop/android/support/design/widget/FloatingActionButtonLollipop.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/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|
5e690a713ed3e3a7d4092838e5ac24c761a8c527 |
|
03-Jun-2015 |
Chris Banes <chrisbanes@google.com> |
Fix setRippleColor on FloatingActionButton BUG: 21613667 Change-Id: I962acc51e3a4cffee18b11303b300399fe7598fa
/frameworks/support/design/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|
80de0674c28a2bd9ade11f24a3b0e46ea83b6847 |
|
14-May-2015 |
Chris Banes <chrisbanes@google.com> |
Improve FloatingActionButton border implementation The previous impl had overdraw issues as it draw a whole oval behind another large opaque oval. This implementation moves us to a custom Drawable which draw a stroke oval. It also allows us to move to a custom LinearGradient shader to more closely match UX's spec. Change-Id: I93f2c3c444d0a23fd542f2a35ac1d43d4f699bd6
/frameworks/support/design/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|
e67ce4f1db321ca743748ae3f9f21c5607e0566f |
|
14-May-2015 |
Chris Banes <chrisbanes@google.com> |
Fix FloatingActionButton empty background on L Caused my GradientDrawable not support tinting on L. Need to make sure that DrawableCompat.wrap() is given the GradientDrawable, not a wrapper. Change-Id: I320c1ba851576e40b98419500f12c74a75c1e28b
/frameworks/support/design/lollipop/android/support/design/widget/FloatingActionButtonLollipop.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/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|
124d52000d70f3a0ef64b1c70b72238441cbf0ed |
|
18-Feb-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Support FAB in LayoutLib. LayoutLib doesn't support interpolator. Skip it in design mode. Change-Id: I736cc9f0a5c0d165cad80939b5fcf0db3abc6cbe
/frameworks/support/design/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|
7e82b99953680915596eaf0eb35927388e574ca8 |
|
27-Jan-2015 |
Chris Banes <chrisbanes@google.com> |
Add tintable Drawables to support-v4 Works by using AppCompat's tinting Drawbale wrapper in support v4. I've also moved over AppCompat and design lib to use DrawableCompat. I've also added a workaround due to GradientDrawable not supporting tinting of Lollipop. Change-Id: Ifa178eae99207051bf72ba6b9f3148cdcbe1579f
/frameworks/support/design/lollipop/android/support/design/widget/FloatingActionButtonLollipop.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/lollipop/android/support/design/widget/FloatingActionButtonLollipop.java
|