pubiqq
3ca41be8f0
[General] Fix typos
...
Resolves https://github.com/material-components/material-components-android/pull/2654
GIT_ORIGIN_REV_ID=b8f6728979875629f2c813ef90d2f671cf56b4eb
PiperOrigin-RevId: 442852630
2022-04-19 14:48:55 -04:00
Material Design Team
4e97f7879b
Suppress new nullness warnings when stub for View.getLayoutParams is added.
...
PiperOrigin-RevId: 433207765
2022-03-09 22:07:00 +00:00
Material Design Team
cfc00aa5a3
Update android core class definitions across material
...
PiperOrigin-RevId: 414839941
2021-12-08 14:56:25 +00:00
Material Design Team
a487c89185
Internal change
...
PiperOrigin-RevId: 412135443
2021-11-29 17:35:39 +00:00
pekingme
9de9319b1e
[Resources] Added styles in res-public.
...
PiperOrigin-RevId: 403451624
2021-10-18 15:31:13 -04:00
Nitish Bhatt
1f7202a953
[FloatingActionButton]add setter for max image size
...
Resolves https://github.com/material-components/material-components-android/pull/2415
GIT_ORIGIN_REV_ID=3f0603a3f169c12d02c127726dff091c94f3561a
PiperOrigin-RevId: 402552778
2021-10-12 11:40:58 -04:00
jeremymuhia
785f5d4895
[M3][FAB] update FAB dev doc
...
PiperOrigin-RevId: 396900654
2021-09-16 13:35:27 -07:00
jeremymuhia
054f1dba1e
[M3][FAB] add tertiary FAB color variant
...
PiperOrigin-RevId: 395721687
2021-09-15 12:22:52 -07:00
jeremymuhia
ca8f4cbb80
[M3][Large FAB] create M3 styles for large FAB
...
PiperOrigin-RevId: 392701548
2021-08-24 15:55:38 -04:00
jeremymuhia
6ba1a9206f
[M3][eFAB] create M3 styles for extended FAB
...
PiperOrigin-RevId: 392502584
2021-08-24 15:42:13 -04:00
jeremymuhia
b06977b5db
[M3][FAB] create M3 styles for regular FAB
...
PiperOrigin-RevId: 392072670
2021-08-23 09:45:13 -07:00
Material Design Team
f9a1b170dd
Internal cleanup.
...
PiperOrigin-RevId: 379505436
2021-06-15 22:02:19 -07:00
Material Design Team
ed719b2ad9
Update @SuppressWarnings annotations for go/nullness diagnostics
...
PiperOrigin-RevId: 377367820
2021-06-09 18:06:34 +00:00
hunterstich
b4cca5b8a4
[FAB] Update FAB to use motion theming for show/hide animation.
...
PiperOrigin-RevId: 368831990
2021-04-16 18:03:35 -04:00
Material Design Team
5c83026c17
[ExtendedFloatingActionButton] Add support for initial show animation.
...
This adds setAnimateShowBeforeLayout() method to override the default behavior. With this change a button which is initially hidden (Visibility.GONE) can be animated in by calling show().
PiperOrigin-RevId: 338508716
2020-10-22 19:21:43 -04:00
Mattia Pagini
14c70f0b11
[ExtendedFloatingActionButton] Fix padding and spacing
...
Resolves https://github.com/material-components/material-components-android/pull/1655
GIT_ORIGIN_REV_ID=739773c36195062d498c741f4030a289e0b5d946
PiperOrigin-RevId: 334532552
2020-09-30 16:59:03 -04:00
haodong
bd731f486a
[ExtendedFloatingActionButton] Added support to configure different size when collapsed.
...
PiperOrigin-RevId: 334209576
2020-09-29 09:17:35 -07:00
hunterstich
7d3cb73ca7
[ExtendedFloatingActionButton] Improved text label expand/collapse animation
...
PiperOrigin-RevId: 331166249
2020-09-11 14:51:59 -04:00
marianomartin
c59c04639c
[MaterialShapeDrawable] Convert ShapeAppearancePathProvider to a singleton.
...
Also allocate less path objects.
PiperOrigin-RevId: 325287653
2020-08-06 21:10:36 -04:00
marianomartin
049ad022a6
Delete components build.gradle files
...
PiperOrigin-RevId: 320944144
2020-07-15 09:38:31 -07:00
marianomartin
61e927ed5a
[ExtendedFloatingActionButton] Fixed ripple issue
...
Resolves https://github.com/material-components/material-components-android/issues/1359
PiperOrigin-RevId: 319038380
2020-06-30 16:07:02 -04:00
marianomartin
555356b03f
Internal cleanup
...
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
Material Design Team
073382034a
Migrate android.support.v4.content.ContextCompat to androidx
...
Android X migration
PiperOrigin-RevId: 315791679
2020-06-11 17:27:51 -07:00
leticiars
2bc442e3fb
[Documentation] Updating FABs doc.
...
Deleting Extended FAB doc as it's now together with regular FAB.
PiperOrigin-RevId: 310161124
2020-05-07 12:18:26 -04:00
nickrout
9df47a8548
[Documentation] Updating FAB javadoc to mention colorSecondary over colorAccent for background tint.
...
PiperOrigin-RevId: 307612259
2020-04-22 15:04:29 -04:00
Material Design Team
74921bbbce
Update warning suppressions.
...
PiperOrigin-RevId: 304119651
2020-04-03 09:09:53 -07:00
marianomartin
f90181efef
Fix javadocs errors for DatePicker, Transformation, and FAB
...
PiperOrigin-RevId: 300553804
2020-03-13 11:00:54 -04:00
marianomartin
d7fbdba796
Automated g4 rollback of changelist 294487710
...
PiperOrigin-RevId: 294746271
2020-02-13 10:24:47 -05:00
marianomartin
56e4c61057
Remove obsolete TODO from Extended Floating Action Button style
...
PiperOrigin-RevId: 294680868
2020-02-13 10:22:40 -05:00
marianomartin
57beb64ddf
Remove stub from Extended Floating Action Button
...
PiperOrigin-RevId: 294487710
2020-02-11 16:14:40 -05:00
isabellekim
55200c3a8f
Fix ExtendedFloatingActionButton to be WRAP_CONTENT when extended so that it will resizes on setText().
...
Resolves https://github.com/material-components/material-components-android/issues/449
PiperOrigin-RevId: 294261399
2020-02-10 17:29:35 -05:00
isabellekim
1f9de68025
[All] Add support for materialThemeOverlay
...
Resolves https://github.com/material-components/material-components-android/pull/948
GIT_ORIGIN_REV_ID=5a8bb35a56c1b813df47d964de8482a26e0da66d
PiperOrigin-RevId: 293839172
2020-02-10 09:55:19 -05:00
isabellekim
e7b729523b
Add public attributes to public.xml for bottom navigation and FAB.
...
PiperOrigin-RevId: 293649570
2020-02-07 10:30:17 -05:00
Nick Rout
94cd734a51
[FloatingActionButton] Add support for enabled/disabled state
...
Resolves https://github.com/material-components/material-components-android/pull/783
GIT_ORIGIN_REV_ID=76d076366145fbaa9ca01af6a6d182491d9a4659
PiperOrigin-RevId: 289017230
2020-01-10 09:08:55 -08:00
Seanghay
63c71bd2cb
[FloatingActionButton] Add reference format to attributes
...
Resolves https://github.com/material-components/material-components-android/pull/878
GIT_ORIGIN_REV_ID=844441afe2f0ffd43930d61cc604edaaf43a18b9
PiperOrigin-RevId: 288752495
2020-01-08 14:10:11 -08:00
cketcham
3c3ac61c91
Add workaround to prevent FloatingActionButton crash on API 26.
...
Resolves https://github.com/material-components/material-components-android/issues/66
PiperOrigin-RevId: 284999697
2019-12-11 17:10:07 -05:00
hunterstich
fdc243959f
Update ExtendedFAB to use ShapeAppearanceModel.PILL
...
PiperOrigin-RevId: 277302581
2019-11-01 13:28:40 -07:00
marianomartin
ffb86260ee
Add back getInsetDodgeRect to preserve compatibility
...
PiperOrigin-RevId: 276202553
2019-11-01 13:28:40 -07:00
marianomartin
115313c0c0
Expose a class for themeoverlay in style
...
This moves functionality from ThemeEnforcement into a stand alone class.
Resolves https://github.com/material-components/material-components-android/issues/665
PiperOrigin-RevId: 275481343
2019-10-21 10:24:19 -04:00
cketcham
a130a0c3e0
Add support for percentages to ShapeAppearanceModel
...
PiperOrigin-RevId: 272946740
2019-10-04 16:33:47 -04:00
cketcham
0547d2a06b
Uncouple CornerSize from CornerTreatment
...
This allows for more easily updating the CornerSize independently from the CornerTreatment and makes it possible to create different types of CornerSizes such as percentage based corners. However, this means corner sizes can be different depending on the bounds of the shape, so the bounds need to be provided. MaterialShapeDrawable has bounds and the ShapeAppearanceModel, so there are new convenience methods there which return the current corner size for the current bounds of the drawable.
PiperOrigin-RevId: 272908508
2019-10-04 15:23:16 -04:00
Material Design Team
5f017cd5cd
Migrate away from deprecated behavior annotation
...
PiperOrigin-RevId: 271616445
2019-09-27 14:59:16 -04:00
hunterstich
4f70ac8955
Update FloatingActionButton to implement the Shapeable interface.
...
PiperOrigin-RevId: 271566824
2019-09-27 14:06:05 -04:00
marianomartin
167663ae45
Internal cleanup
...
PiperOrigin-RevId: 268698913
2019-09-12 14:29:01 -04:00
marianomartin
a4138293df
Internal cleanup
...
PiperOrigin-RevId: 268507643
2019-09-12 14:12:53 -04:00
cketcham
8f6d446ad9
Remove shadowPadding rect from ExtendedFloatingActionButton
...
It seems that shadowPadding was copied over from FloatingActionButton. ExtendedFloatingActionButton extends MaterialButton which uses a MaterialShapeDrawable for its shadow so it shouldn't need to handle this case.
PiperOrigin-RevId: 268057304
2019-09-12 13:56:13 -04:00
marianomartin
c178633441
Internal cleanup
...
PiperOrigin-RevId: 268017966
2019-09-12 13:55:18 -04:00
Material Design Team
5e9b0dd917
Automated g4 rollback of changelist 267646424
...
PiperOrigin-RevId: 267814621
2019-09-12 13:51:28 -04:00
Material Design Team
2d03e4084d
Migrate away from deprecated behavior annotation
...
PiperOrigin-RevId: 267646424
2019-09-12 13:49:58 -04:00
marianomartin
215a839598
Internal cleanup
...
PiperOrigin-RevId: 267504117
2019-09-12 13:48:16 -04:00