e2104f4b5c8e3ad63570306a25e61502dfe4c418 |
|
05-Mar-2017 |
Aurimas Liutikas <aurimas@google.com> |
Add all missing @Override annotations. Historically, we could not add @Override for certain methods due to using older SDKs to build support library. That is no longer the case so we can add @Override everywhere now. Test: ./gradlew assemble assembleAndroidTest still works Change-Id: I85e3c1157f0e253e3eab7584189f3bf95cf030e9
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
ee55bf441b2728d359675d9899c6b5efa7bf6a60 |
|
07-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Deprecate and clean up usage of ConfigurationHelper. Bug: 32794064 Test: ./gradlew assemble Change-Id: I7b92c5a6d846336c22b893fe228521bed239e337
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
522c70ab180af24bf9777cec0a1a9b804c77c8d9 |
|
06-Jan-2017 |
Aurimas Liutikas <aurimas@google.com> |
Cleanup FloatingActionButton code to remove unneeded code. Remove code that is no longer needed since minSdk for support library is API 14. This code collapses FloatingActionButtonImpl, FloatingActionButtonGingerbread and FloatingActionButtonIcs into one class. Bug: 32794064 Test: ./gradlew clean assemble still works Change-Id: Id20c0d1807e08ab11ece63883debe2682cfa815f
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
ae7189188acb2bc972b08d9fbd59939f341c7829 |
|
06-Jan-2017 |
Aurimas Liutikas <aurimas@google.com> |
Move to using ValueAnimator directly instead of compat versions. ValueAnimator can now be used directly given that our minSdk is 14. Bug: 32794064 Test: ./gradlew clean assemble still works Change-Id: Ibf0111b104eaea10acf33c8d54a3275fdfa0c1a4
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
e22ae93397361d1bd5568fa51d82e2f7553712e1 |
|
08-Dec-2016 |
Alan Viverette <alanv@google.com> |
Remove unnecessary @TargetApi annotations Bug: 33412815 Test: ./gradlew assemble Change-Id: I0be3358fb97d6e637357c253f3f43f39355a643a
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
cd2d92972081d8f69c31620f54a9d6d32b0b00c5 |
|
16-Nov-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FAB showing as pressed when the user drags off it Test: included BUG: 30588752 Change-Id: I7a4062c57076316e16baccc68d31bd8e595f06c0
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
8e10080c914d1ad0784394fa3026b85535535847 |
|
18-Nov-2016 |
Aurimas Liutikas <aurimas@google.com> |
Move from GROUP_ID to LIBRARY_GROUP annotations - GROUP_ID was deprecated in favor of LIBRARY_GROUP. - Fix import order in touched files. Test: ./gradlew assemble assembleAndroidTest Change-Id: I2a774e93215090f42262fb86cf8e841f2a546a4f
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
c39d9c75590eca86a5e7e32a8824ba04a0d42e9b |
|
25-Aug-2016 |
Alan Viverette <alanv@google.com> |
Add @RestrictTo(GROUP_ID) annotations to match @hide docs annotations Also removes some unnecessary @hide annotations on classes that wouldn't have shown up in docs anyway due to package/private visibility or NO_DOCS. Bug: 27937193 Change-Id: Iab127a5a3ce57a2d61965d3cef782621eb3859f5
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
96a3a5a841741fddc3773f35a22e31cded6bbdd8 |
|
06-Sep-2016 |
Aurimas Liutikas <aurimas@google.com> |
Remove all the extra accessor methods added by javac in support-design. am: 657ea1100f Change-Id: I762e3378d1c7e82139e9f04c3f750324ffd9851c
|
657ea1100fee4750f148f9d0dcb7e7e2028f105e |
|
25-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Remove all the extra accessor methods added by javac in support-design. Change private methods to be package protected to avoid extra methods that get added to be able to access them from inner classes. This CL saves 138 methods in our jar. Bug: 31075707 Change-Id: I9ee192652fe005957e28ccfe35c9707be242aac1
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
3c2f33358e275fadb3a8012f71b620233876b4ca |
|
23-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FloatingActionButton with nested anchors am: c010d657a2 Change-Id: I1207b1e5c6cff1716f68aeb83925e3024782172a
|
c010d657a2553ba49490c3d99e0c0b056c26bad9 |
|
22-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FloatingActionButton with nested anchors BUG: 30971436 Change-Id: I62cd51a007e2941ef9a46357090778b143b2b51a
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
b6e7e4c2bcefc6bba852f9e36a02c6c2519f6466 |
|
20-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Add getRippleColor to FloatingActionButton BUG: 30222560 Change-Id: I9ddb02950445d6c30c832e91c77228f728d2cd4f
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
26c07a84cf70ddf44516f7009fe4ce3b5ed65513 |
|
13-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Improve CoordinatorLayout's inset edge funtionality Currently the gravity handling only supports literal single gravity values which makes it less useful. Also made the edge detection work with animations by correctly employing our pre-draw listener. Tidied up some of the dispatch code in CoordinatorLayout so that we have just one method which dispatches any events. Means that we don't have to copy code everywhere. Also added support for the functionality in Snackbar and FloatingActionButton since that is what most people will be trying to use it with. Removed our old baked in functionality from FAB since we can use the new CoordinatorLayout functionality. BUG: 30107168 Change-Id: Ib23fa740c4c4f4f733a3894ceb2cc1a2e95b35cd
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
4cf1d92509224fab3ca69b419a005c536ab75c5c |
|
13-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
API review fixes BUG: 30088092 BUG: 30088343 Change-Id: I3abc24bd5f7876ff12b42f13a579399123d50470
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
ff6b133ef5d6da43261db69889c84890eff0a5f9 |
|
12-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix FloatingActionButton auto offset functionality" into nyc-support-24.1-dev
|
ee63e6890156724477092fbfaba18b726a47710e |
|
11-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Fix FloatingActionButton auto offset functionality Also added a test for it BUG: 30061839 Change-Id: If6fc8e34536e152516ccf6cecef22628c9a98a16
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
5a0083cc8328f05b15efe0293b7aa83723cdd9ad |
|
05-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Move FloatingActionButton shadow to use ValueAnimatorCompat Moves us away from using the old custom Animation code. Had to change some of the ValueAnimatorCompat API, which is why this CL looks so large (it's not really). BUG: 29974832 Change-Id: I1f66565e0b2053556feccd746f72753ff027fc09
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
a5c36708f8dd136f2a02a79709923630449be5b5 |
|
05-Jul-2016 |
Chris Banes <chrisbanes@google.com> |
Move support libs to use ViewCompat.offset* methods offsetTopAndBottom and offsetLeftAndRight have various issues across the API levels, which are worked around in the ViewCompat versions. BUG: 29970143 Change-Id: Ic0919f438a0c4a6bf4f2e153a6062d5aeb727db1
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
4c99f0e29b0926d8e5de44b7e3980d47f052f04c |
|
24-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Add AppCompatResources.getDrawable() This CL adds the new public method, which just proxies to AppCompatDrawableManager for now. Also moved all internal calls of AppCompatDrawableManager.getDrawable() to the new method. Looks like a huge commit, but it's mostly just moving things to use the new method. BUG: 29564497 Change-Id: Ie1603cc83d58333d70b90aefcfaf21fd367081ae
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
ddf46923b9487ac3a021f01b55d96136d811e8be |
|
07-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Implement password toggle in TextInputLayout This CL implements the new password spec from the Material Design guidelines into TextInputLayout. The icon and tint are customizable via attributes and method calls. Also added getCompoundDrawablesRelative() to TextViewCompat. BUG: 26614707 Change-Id: I3d36277fe92f1be0c9f23567fa55b42c5ba15be1
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
8f8034a4204fc10c4805758051f0cec2159c0e40 |
|
27-May-2016 |
Yuichi Araki <yaraki@google.com> |
Add autoHide to FloatingActionButton Add a new attribute "behavior_autoHide" to FloatingActionButton.Behavior. The FAB automatically hides when there is not enough space for it if behavior_autoHide is set to true. It defaults to true. FAB.Behavior currently supports AppBarLayout and BottomSheetBehavior. This also fixes the issue that CoordinatorLayout stops sending onDependentViewChanged after the child view reaches at an edge of the CoordinatorLayout. Bug: 28962378 Change-Id: Ic17bda6fc448f0c483752f1a3ed0df50fe60a458
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
f4893cfe0dd5314e8c7835e6c7c3907c8765faf8 |
|
10-May-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Clean-up pass over support lib modules * Rename all eclair-mr1 folders and classes to gingerbread * Switch percent to depend on support-compat instead of support-v4 Change-Id: If4f7e43f4698b08554e3a55223e2e4df61df068f
/frameworks/support/design/src/android/support/design/widget/FloatingActionButton.java
|
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
|