pubiqq
b77824fcc7
[Internal] Remove pre-Lollipop resources
...
Resolves https://github.com/material-components/material-components-android/pull/4280
GIT_ORIGIN_REV_ID=88ee02b5c93b51a154503b7a1f1b85ddeea3cb57
PiperOrigin-RevId: 676472901
2024-09-20 19:49:20 +00:00
pekingme
47cbd7e81a
[Tokens] Upgraded to 10.0.1
...
PiperOrigin-RevId: 676467444
2024-09-20 19:48:02 +00:00
pubiqq
23aca03255
[Internal] Remove pre-Lollipop checks
...
Resolves https://github.com/material-components/material-components-android/pull/4266
GIT_ORIGIN_REV_ID=1de7808e66dd6666c893217c76c7499afe2df6a3
PiperOrigin-RevId: 669688797
2024-09-03 13:31:29 +00:00
pekingme
87076dd20b
[Tokens] Upgraded to 8.0.0.
...
PiperOrigin-RevId: 669673113
2024-09-03 13:28:26 +00:00
pekingme
9188b8f6ab
[Tokens] Upgraded to 7.1.0.
...
PiperOrigin-RevId: 669087033
2024-08-30 18:49:53 +00:00
pekingme
b65df32b0f
[Tokens] Upgraded to 7.0.0
...
PiperOrigin-RevId: 668133320
2024-08-28 22:34:40 +00:00
pekingme
8731cad96a
[Tokens] Upgraded to v6.1.0.
...
PiperOrigin-RevId: 665569215
2024-08-21 17:24:43 +00:00
pekingme
da0b738679
[Tokens] Upgraded to v5.0.0.
...
PiperOrigin-RevId: 663358341
2024-08-16 17:33:16 +00:00
pubiqq
a89e38c0cf
[BottomSheet] Recycle the TypedArray after usage
...
Resolves https://github.com/material-components/material-components-android/pull/4032
GIT_ORIGIN_REV_ID=f9ac4cf68c6ef7cd41d0bbdca2c7d09b0f99f5d9
PiperOrigin-RevId: 633632973
2024-05-15 16:57:50 +00:00
dsn5ft
9b6ceac72a
[i18n] Update string translations
...
PiperOrigin-RevId: 633623911
2024-05-14 17:16:18 +00:00
pubiqq
510881a469
[Internal] Stop using deprecated androidx.core.view.* methods
...
Resolves https://github.com/material-components/material-components-android/pull/4117
GIT_ORIGIN_REV_ID=dd157e8360c2511810496693cec1616fce578655
PiperOrigin-RevId: 632284856
2024-05-13 17:37:38 +00:00
Ga\u00ebtan Muller
b3fe6a7f61
[Cleanup] Remove redundant version checks for api <= 19.
...
Resolves https://github.com/material-components/material-components-android/pull/3849
GIT_ORIGIN_REV_ID=47bb2fcc8031740e5a7d4f741f1ada2af025e126
PiperOrigin-RevId: 632154861
2024-05-09 18:46:02 +00:00
Material Design Team
a7a234bf07
[Bottom Sheet] Prevents nested scroll from occurring in a scroll session when the bottom sheet is already being resized.
...
Previously, the bottom sheet could be fixed at any height while resizing it by triggering a fling in the opposite direction.
PiperOrigin-RevId: 628170687
2024-04-26 17:52:32 +00:00
pfthomas
9b09b693d9
[Tokens] Update tokens to v4.0.0
...
PiperOrigin-RevId: 626141198
2024-04-19 21:18:49 +00:00
dsn5ft
d056cc352f
[Bottom Sheet] Allow dragging the sheet on overscroll when draggableOnNestedScroll=false
...
PiperOrigin-RevId: 624269903
2024-04-15 17:59:25 +00:00
dsn5ft
a35b6b835c
[Bottom Sheet] Add ability to disable dragging/expanding/collapsing the sheet when touching/scrolling the nested scrolling child view
...
PiperOrigin-RevId: 624204480
2024-04-12 20:03:30 +00:00
pekingme
28cc2441d0
[Tokens] Updated to version 2.3.4.
...
PiperOrigin-RevId: 610835532
2024-02-29 08:36:02 -08:00
pekingme
ee7b4bddb4
[Tokens] Added formatting to break long lines and differentiate different comments.
...
PiperOrigin-RevId: 605684816
2024-02-12 18:03:59 +00:00
pekingme
89212044a9
[Tokens] Updated to v0.213.
...
PiperOrigin-RevId: 603749766
2024-02-06 14:30:16 +00:00
pekingme
08d7ded67b
[Tokens] Upgraded to v0.207.
...
PiperOrigin-RevId: 600947836
2024-01-24 21:05:53 +00:00
pekingme
4ccaaaa31d
[Tokens] Upgraded to v0.203
...
PiperOrigin-RevId: 579928128
2023-11-08 15:12:21 +00:00
pekingme
637362d597
[Tokens] Upgraded to v0.195
...
PiperOrigin-RevId: 579905417
2023-11-06 20:27:15 +00:00
pekingme
0463c507d7
[Tokens] Upgraded to v0.185
...
PiperOrigin-RevId: 579904837
2023-11-06 20:26:18 +00:00
pekingme
bfee8a74d7
[Tokens] Upgraded to v0.175.
...
PiperOrigin-RevId: 572648883
2023-10-12 11:04:28 -07:00
pubiqq
0663019f45
[Color] Add ColorStateListDrawable support
...
Resolves https://github.com/material-components/material-components-android/pull/3538
GIT_ORIGIN_REV_ID=1bf9e320dc148e1bc959e7577372d3a393f35574
PiperOrigin-RevId: 563258432
2023-09-07 12:37:54 +00:00
pubiqq
de271320e4
[BottomSheet] Fix sheet corners animation
...
Resolves https://github.com/material-components/material-components-android/pull/3541
Resolves https://github.com/material-components/material-components-android/issues/3540
GIT_ORIGIN_REV_ID=747db4e9eeed0b14ea1f949862176346afc4944a
PiperOrigin-RevId: 560143863
2023-08-25 19:25:16 +00:00
pekingme
8204856dd4
[Token][Color] Upgraded to v0.170 for tonal surface colors.
...
PiperOrigin-RevId: 555230534
2023-08-09 19:03:25 +00:00
rightnao
e3b255b3a0
[Docs] Crosslink github docs in javadocs
...
PiperOrigin-RevId: 546393704
2023-07-11 19:37:37 +00:00
afohrman
f2e70d2d66
[Android U] Replaced BuildCompat#isAtLeastU() method calls with explicit SDK checks for UPSIDE_DOWN_CAKE.
...
Before 1.12.0-alpha01 which was released on 6/7, BuildCompat#isAtLeastU() only returns true if API level is greater than 33 and the version running is a pre-release. Two things happened on 6/7 -- the version became a "platform stable" version, and core library version 1.12.0-alpha01 was released, which changes BuildCompat#isAtLeastU() to return true if the version is 34 and stable.
PiperOrigin-RevId: 540304068
2023-06-14 12:45:51 -07:00
hunterstich
a67a885668
[Predictive Back] Update components to use BackEventCompat
...
Clients should prefer listening to back events using androidx.activity.OnBackPressedCallback which has been updated to forward BackEventCompat objects in androidx.activity:activity:1.8.0-alpha05. This updates component predictive back APIs to take in BackEventCompat objects instead of android.window.BackEvent objects to simplify usage - getting rid of the need for version checks and object conversions.
PiperOrigin-RevId: 540290323
2023-06-14 12:44:53 -07:00
rightnao
86cd9d70bf
[BottomSheet] Integrate tokens
...
PiperOrigin-RevId: 525177708
2023-04-19 13:55:04 -07:00
dsn5ft
c8a0d47825
[Bottom Sheet] Add method to allow programmatically changing shouldRemoveExpandedCorners behavior
...
PiperOrigin-RevId: 525155162
2023-04-19 13:54:32 -07:00
dsn5ft
1c01e82297
[Bottom Sheet] Update expanded corner removal to check if sheet view is actually at top of screen
...
PiperOrigin-RevId: 524275157
2023-04-17 12:16:37 -07:00
Material Design Team
9c4b73da3a
[BottomSheetBehavior] Fix for detached from bottom sheet behavior.
...
When max height of BottomSheetBehavior is specified the calculations of top inset do not account for the max height parameter and may override internal `childHeight` variable used for inset calculation with parentHeight. This may cause top inset to be too small and end up letting BottomSheetBehavior content be scrolled above bottom of the screen (the content might end up "floating" above the bottom of the screen).
The CL ensures that overridden `childHeight` is coerced to a min value of parent or maxHeight parameter in cases when maxHeight was set.
PiperOrigin-RevId: 523126749
2023-04-11 19:55:56 -07:00
dsn5ft
2c23d2a158
[Predictive Back][Bottom Sheet] Fix bug where standard hideable bottom sheets don't stay hidden after predictive back
...
It wasn't an issue for modal bottom sheets because they dismiss the whole window when the bottom sheet behavior is hidden
Also updated Bottom App Bar demo drawer to opt into predictive back, which is a standard hideable bottom sheet
PiperOrigin-RevId: 520312905
2023-03-29 19:16:12 +00:00
dsn5ft
d6fad952c6
[Predictive Back][Bottom Sheet] Update Bottom Sheet to support predictive back
...
- Enable predictive back by default for Bottom Sheet dialogs
- Update Catalog demo to enable predictive back for persistent/standard bottom sheet
PiperOrigin-RevId: 518896205
2023-03-23 18:15:27 +00:00
pekingme
9f1caa2c64
[Tokens] Upgraded to v0.162.
...
PiperOrigin-RevId: 517446114
2023-03-20 21:23:07 +00:00
dsn5ft
5689ce2608
[i18n] Update string translations
...
PiperOrigin-RevId: 513006191
2023-02-28 22:08:20 +00:00
Material Design Team
d8c01c1859
[BottomSheetBehavior] Ignore ACTION_MOVE events in BottomSheetBehavior that weren't preceded by an ACTION_DOWN event.
...
PiperOrigin-RevId: 512670230
2023-02-27 20:47:48 +00:00
dsn5ft
697d93a854
[Bottom Sheet] Animate bottom sheet position when keyboard is shown using WindowInsetsAnimationCompat API
...
Note: android:windowSoftInputMode="adjustResize" is required in order for inset animation API to propagate the correct values, otherwise this is a no-op. This change also updates the M3 modal Bottom Sheet themes / theme overlays to use adjustResize by default (can still be overridden by the client).
PiperOrigin-RevId: 508351766
2023-02-09 14:08:51 +00:00
pekingme
23dc14ca3a
[Tokens] Updated to v0.157.
...
PiperOrigin-RevId: 505978081
2023-01-31 20:01:13 +00:00
rightnao
dfb9e81eeb
[Motion] Motion tweaks
...
PiperOrigin-RevId: 493105642
2022-12-06 15:22:34 -05:00
pekingme
2019bf90be
[Tokens] Upgraded to version v0.147.
...
PiperOrigin-RevId: 492551875
2022-12-02 18:34:12 -05:00
pekingme
17e3581642
[Tokens] Upgraded to v0.145
...
PiperOrigin-RevId: 492291163
2022-12-02 15:11:37 +00:00
pekingme
8ee6c00f73
[Tokens] Upgraded to v0.142
...
Added lStar CSLs for new neutral palettes in v31 and above.
PiperOrigin-RevId: 491693724
2022-11-30 17:31:11 -05:00
pekingme
12ef329276
[Tokens] Upgraded to v0.141
...
PiperOrigin-RevId: 490324728
2022-11-23 15:13:20 -05:00
pekingme
b2b546b205
[Tokens] Internal updates.
...
PiperOrigin-RevId: 490295053
2022-11-23 15:11:19 -05:00
rightnao
1cdb371c30
[BottomSheet] Update motion attributes for bottom sheet dialog animation
...
PiperOrigin-RevId: 487605720
2022-11-18 16:54:23 -05:00
rightnao
e474cf4796
[BottomSheet] Token integration
...
PiperOrigin-RevId: 482901648
2022-10-25 05:22:05 -07:00
afohrman
1d3e374387
[Adaptive Sheets][Side Sheets] Moved behavior_draggable attribute to the resources package.
...
PiperOrigin-RevId: 482590917
2022-10-21 16:28:01 +00:00