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/base/android/support/design/widget/VisibilityAwareImageButton.java
|
b0f719227b3fa5d5bb7683bd835f7df504fcc733 |
|
18-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix some rough edges in AppCompat + VDC - Make the Resources in AppCompatActivity, more efficient and allows all calls to getResources().getDrawable() to work for vectors. - Make FloatingActionButton extend from AppCompat's ImageButton. This allows it to support vector assets. BUG: 27238402 Change-Id: Id39c6d7a8c431ed811bd552e14eba583311c5693
/frameworks/support/design/base/android/support/design/widget/VisibilityAwareImageButton.java
|
9d42ab847a9187fe54c53553a0593fad0aea9263 |
|
27-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Fix crash in FAB background tint Caused by moving the base class to AppCompatImageButton. That class's functionality interferes with FAB. BUG: 25302006 Change-Id: I283508caa8ddf5664a5b15209cfff06c464ec187
/frameworks/support/design/base/android/support/design/widget/VisibilityAwareImageButton.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/base/android/support/design/widget/VisibilityAwareImageButton.java
|