pekingme
8204856dd4
[Token][Color] Upgraded to v0.170 for tonal surface colors.
...
PiperOrigin-RevId: 555230534
2023-08-09 19:03:25 +00:00
pekingme
9f1caa2c64
[Tokens] Upgraded to v0.162.
...
PiperOrigin-RevId: 517446114
2023-03-20 21:23:07 +00:00
pekingme
23dc14ca3a
[Tokens] Updated to v0.157.
...
PiperOrigin-RevId: 505978081
2023-01-31 20:01:13 +00: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
1322e61c4c
[BottomAppBar] Add attribute to remove shadow on container
...
resolves https://github.com/material-components/material-components-android/issues/2953
PiperOrigin-RevId: 476451267
2022-09-26 22:13:07 +00:00
pekingme
1ef53e2b37
[Tokens] Upgraded to v0.126 for 1p and 3p.
...
PiperOrigin-RevId: 475355503
2022-09-20 12:59:30 -04:00
rightnao
63f98bf5f9
[BottomAppBar] Small bugs and padding adjustments
...
resolves https://github.com/material-components/material-components-android/issues/2879
PiperOrigin-RevId: 464840315
2022-08-04 14:31:53 -04:00
rightnao
53b3001396
[BottomAppBar] Changing default Material3 theme to follow M3 specs
...
PiperOrigin-RevId: 459785651
2022-07-08 13:32:47 -07:00
rightnao
f2f588af82
[BottomAppBar] Token integration
...
PiperOrigin-RevId: 457554326
2022-06-27 17:26:37 -04:00
pekingme
cc317e15d7
[Tokens] Included parent display group names in the output file comments.
...
PiperOrigin-RevId: 457503467
2022-06-27 17:25:31 -04:00
rightnao
f2423de558
[BottomAppBar] Add attribute to remove embedded FAB elevation
...
PiperOrigin-RevId: 457084450
2022-06-27 20:08:08 +00:00
rightnao
88a73ebb8e
[BottomAppBar] Add fab end margin attribute
...
PiperOrigin-RevId: 456907281
2022-06-24 20:25:00 +00:00
rightnao
397e48f279
[BottomAppBar] Add menu alignment attribute
...
PiperOrigin-RevId: 456848323
2022-06-24 20:23:47 +00:00
pekingme
4188995b11
[Tokens][BottomAppBar] Generated resources from tokens.
...
PiperOrigin-RevId: 456827093
2022-06-24 20:20:47 +00:00
rightnao
cab45dd1df
[BottomAppBar] Add new anchor mode attribute for FAB that has an embedded option
...
PiperOrigin-RevId: 455660518
2022-06-23 18:33:35 +00:00
serniebanders
167b1986e7
[M3] BottomAppBar component styles
...
PiperOrigin-RevId: 393779583
2021-08-30 15:27:17 -04:00
haodong
0ed7c7675e
[BottomAppBar] Adding the attr to set the color of navigation icon.
...
PiperOrigin-RevId: 370999656
2021-04-29 14:49:59 -04:00
Material Design Team
6405635df4
Handle horizontal system insets for BottomAppBar.
...
Previously only the bottom inset (navigation bar) would add extra padding to the BottomAppBar which avoided overlapping with the bottom inset when drawing edge-to-edge. A problem arises if the device is rotated horizontally. The FAB (or sometimes the ActionMenuView in RtL layouts) would overlap with the right inset, making usage impossible.
This CL adjusts the FAB and ActionMenuView X translations when necessary to avoid the horizontal system insets. Two new stylable attributes have been added to enable/disable this behavior, analogous to the existing attribute for bottom padding.
PiperOrigin-RevId: 286419669
2019-12-19 15:45:44 -05:00
cketcham
b9f8ee94b3
Adding option to enable and disable bottom inset padding for BottomAppBar
...
Resolves https://github.com/material-components/material-components-android/issues/580
This adds the paddingBottomSystemWindowInsets attribute which is a databinding extension that will probably be part of https://github.com/chrisbanes/insetter
PiperOrigin-RevId: 277139485
2019-11-01 13:28:40 -07:00
dniz
72cfef981b
Rename prefix mtrl_ to material_ in public resources
...
PiperOrigin-RevId: 265729121
2019-08-29 12:16:13 -04:00
dniz
37534561f2
Add component styles that swap between primary and surface styles depending on light vs dark theme
...
Makes it easier for devs to implement: https://material.io/design/color/dark-theme.html#custom-application
PiperOrigin-RevId: 256208965
2019-07-03 14:11:49 -04:00
dniz
8f622283d1
Remove CSL theme attribute workarounds
...
Also update androidx dependencies to get latest fixes: appcompat to 1.1.0-alpha04 and core to 1.1.0-alpha05
PiperOrigin-RevId: 246804285
2019-05-06 10:34:04 -04:00
cketcham
7c72808f96
Fix FAB vertical offset bug when BAB is hidden
...
Because the FAB is anchored to the top of the BAB, the animation which hides the BAB also moves down the FAB. This removes the extra animation for the FAB. Because the two animations were running at the same time, the distance between the FAB and the BAB was being calculated incorrectly. This was causing the BAB to think the FAB was higher than it was which resulted in the cutout being drawn too high.
PiperOrigin-RevId: 233844627
2019-02-24 14:13:07 -05:00
dniz
3637c23078
Dark theme color palette
...
PiperOrigin-RevId: 219143246
2018-11-01 16:05:24 -07:00
cketcham
560c982284
Enable shadows for BottomAppBar
...
PiperOrigin-RevId: 218868156
2018-10-28 21:44:27 -04:00
dniz
ea40a1d406
Update Toolbar to use new color system
...
PiperOrigin-RevId: 216770087
2018-10-11 18:31:53 -04:00
cketcham
e951ecbd1b
Add color system support for BottomAppBar
...
PiperOrigin-RevId: 215374247
2018-10-02 14:54:08 -04:00
cketcham
f2aba00d8a
Set maxButtonHeight for BottomAppBar to avoid alignment issues
...
PiperOrigin-RevId: 210763592
2018-08-31 11:11:26 -04:00
cketcham
abee218646
Fix height of BottomAppBar in landscape
...
BottomAppBar was incorrectly using the Toolbar min height which is less tall in landscape. It should always be 56dp.
PiperOrigin-RevId: 210362480
2018-08-28 16:41:25 -04:00
cketcham
71f5ea1415
Add alternate animations for BottomAppBar mode changes
...
PiperOrigin-RevId: 210096177
2018-08-28 16:40:25 -04:00
cketcham
841ba156fc
Automated g4 rollback of changelist 199530791
...
PiperOrigin-RevId: 201188669
2018-06-20 17:29:57 -04:00
afohrman
b087cbad7a
Roll back deletion of FAB attachment functionality.
...
PiperOrigin-RevId: 199530791
2018-06-20 17:24:55 -04:00
cketcham
cdb99838c6
Don't allow the fab to be detached from the BottomAppBar unless the fab isn't visible, or the BottomAppBar is scrolled off the screen
...
PiperOrigin-RevId: 199511216
2018-06-20 17:24:01 -04:00
cketcham
c172562488
Update BottomAppBar fab margin to represent the distance between the cutout and the fab rather than twice the distance
...
PiperOrigin-RevId: 197939692
2018-05-30 17:32:51 -04:00
marianomartin
1e4a3d17fb
Dynamically getting size of the fab button. Using that plus a margin defined in style to get the proper size for the cutout
...
PiperOrigin-RevId: 194232804
2018-04-30 12:01:20 -04:00
dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00