2825 Commits

Author SHA1 Message Date
pubiqq
8cd2341a79 [Internal] Set the outline to a path whenever possible
Resolves https://github.com/material-components/material-components-android/pull/2934

GIT_ORIGIN_REV_ID=2ef0a3a6d9aa130e652fccbfc3d79f1345f2b32c
PiperOrigin-RevId: 478146360
2022-10-03 19:15:11 +00:00
pubiqq
e76eaff716 [TextInputLayout] Fixed counter overflow text color getter
Resolves https://github.com/material-components/material-components-android/pull/3002

GIT_ORIGIN_REV_ID=b9f8e26840e02df2529561cf464e347fe220065d
PiperOrigin-RevId: 478059617
2022-10-03 19:14:09 +00:00
pfthomas
be8b8d44de [MaterialDatePicker][a11y] Announce selection
PiperOrigin-RevId: 478026835
2022-10-03 19:13:28 +00:00
rightnao
c587dd1259 [AppBarLayout] Adding new attribute liftOnScrollColor that disables elevation overlay and allows users to change the app bar color
PiperOrigin-RevId: 477794812
2022-10-03 16:57:13 +00:00
leticiars
2f6ebb4001 [Divider] Integrated M3 tokens and updated color.
PiperOrigin-RevId: 477722114
2022-10-03 16:54:35 +00:00
pekingme
ed77ab36cc [Tokens] Refreshed outdated component token resources files.
PiperOrigin-RevId: 477262742
2022-09-28 00:07:41 +00:00
pubiqq
b6c6600ad8 [MaterialButtonToggleGroup] Added the default Material3 toggleGroupStyle
Resolves https://github.com/material-components/material-components-android/pull/2961

GIT_ORIGIN_REV_ID=94b9206658d66d0b7eaaaf4222bc2e0935fafa9b
PiperOrigin-RevId: 477243702
2022-09-27 23:57:48 +00:00
rightnao
00220d0ad6 [TabLayout] Add selectedTabTextAppearance attribute
Resolves https://github.com/material-components/material-components-android/issues/2159

PiperOrigin-RevId: 477238120
2022-09-27 23:56:23 +00: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
pfthomas
11e98f2d11 [BottomNavigationView][NavigationRailView] Updated active text label to use a bold typeface.
PiperOrigin-RevId: 476415508
2022-09-26 22:11:51 +00:00
afohrman
8dcdd26834 [Translations][Date Picker] Update string translation for datepicker.
PiperOrigin-RevId: 476115968
2022-09-22 17:40:54 +00:00
pekingme
ac6f13c0be [Theme] Added a theme attribute for outline-variant color.
PiperOrigin-RevId: 475881564
2022-09-22 17:40:01 +00:00
pubiqq
88c448ed19 [NavigationView] Fix subheaderInsetEnd setter
Resolves https://github.com/material-components/material-components-android/pull/2979
Resolves https://github.com/material-components/material-components-android/issues/2975
Resolves https://github.com/material-components/material-components-android/issues/2976

GIT_ORIGIN_REV_ID=47659c14a2bc72f5c383e3b59dd9d45b60f6af95
PiperOrigin-RevId: 475868928
2022-09-22 17:36:02 +00:00
conradchen
4a1e6bc42a [Slider] Integrate component tokens
PiperOrigin-RevId: 475405055
2022-09-22 17:34:52 +00:00
pekingme
1ef53e2b37 [Tokens] Upgraded to v0.126 for 1p and 3p.
PiperOrigin-RevId: 475355503
2022-09-20 12:59:30 -04:00
Anyer Castillo
a2ce1dd102 [BottomNavigation] Fix hardcoded number of children
Resolves https://github.com/material-components/material-components-android/pull/2923

GIT_ORIGIN_REV_ID=54a68268367a3f0efda6928e10b5f9c299502121
Co-authored-by: imhappi
PiperOrigin-RevId: 475346937
2022-09-20 12:58:29 -04:00
pfthomas
7bc5689789 [MaterialDatePicker] Add method to specify a content description to decorated views
PiperOrigin-RevId: 474622363
2022-09-16 13:56:02 -04:00
pekingme
ab063b7b7f [ProgressIndicator] Integrates tokens into M3 styles.
PiperOrigin-RevId: 474592726
2022-09-15 14:20:29 -04:00
Material Design Team
e804957628 [TextInputLayout] Fix code formatting.
PiperOrigin-RevId: 474180631
2022-09-15 14:18:55 -04:00
leticiars
e7697c235b [TextInputLayout] Integrated tokens for text fields and the exposed dropdown menu.
PiperOrigin-RevId: 474105090
2022-09-15 14:15:10 -04:00
conradchen
6631abbdb5 [BottomSheet] Only remove round corners in M3 styles when it's fullscreen
PiperOrigin-RevId: 473065385
2022-09-12 12:26:02 -04:00
rightnao
3c0c9e75f5 [TabLayout] Setting a custom view on the tab should replace the current custom view
PiperOrigin-RevId: 473057129
2022-09-12 12:25:10 -04:00
rightnao
6643695c3e [DatePicker] Make new public getter methods for start/end/openAt values with long return types for CalendarConstraints
Resolves https://github.com/material-components/material-components-android/issues/2907

PiperOrigin-RevId: 473053039
2022-09-12 12:24:13 -04:00
pekingme
02327c3325 [Tokens] Updated to correctly convert shape tokens with asymmetric shape value.
PiperOrigin-RevId: 473036665
2022-09-08 14:25:16 -04:00
pubiqq
bcb551b8a0 [Slider] Fix compat halo visibility
Resolves https://github.com/material-components/material-components-android/pull/2951

GIT_ORIGIN_REV_ID=f3cd8ddc7a7b1fee6fac9378515ce3668fcc6b70
PiperOrigin-RevId: 472846843
2022-09-08 14:23:16 -04:00
leticiars
fbd75ec5b0 [TextInputLayout] Updated cursor color on error for APIs >= 29.
Resolves https://github.com/material-components/material-components-android/issues/2719

PiperOrigin-RevId: 472535969
2022-09-08 13:41:59 -04:00
rightnao
3975a2e908 [MaterialCardView] Update motion specs for Z-shadow
PiperOrigin-RevId: 472535721
2022-09-08 13:40:46 -04:00
rightnao
a4f6a1e02a [TimePicker] Update motion specs
PiperOrigin-RevId: 472531602
2022-09-08 13:38:52 -04:00
rightnao
7c56473a58 [Translations] Update string translations
PiperOrigin-RevId: 472531245
2022-09-08 13:25:10 -04:00
rightnao
c98480c019 [TextInputLayout] Update motion attributes for textfield animations
PiperOrigin-RevId: 472525831
2022-09-08 13:24:09 -04:00
Material Design Team
347cb9e711 [M3][Colors] Add additional condition to check dynamic color supported devices
PiperOrigin-RevId: 472412113
2022-09-08 13:22:56 -04:00
pubiqq
d68c0f8dc5 [TabLayout] Do not impose margins in custom tab views
Resolves https://github.com/material-components/material-components-android/pull/2910

GIT_ORIGIN_REV_ID=d9ba645464601814cccff5c30118807e8f3f4ef6
PiperOrigin-RevId: 471814138
2022-09-02 13:01:35 -07:00
pubiqq
a137c28b77 [Slider] Do not capture inflation parameters for reuse
Resolves https://github.com/material-components/material-components-android/pull/2931

GIT_ORIGIN_REV_ID=6fd66149c9f67df309f29770e39d7a95eac2deea
PiperOrigin-RevId: 471813225
2022-09-02 13:01:02 -07:00
OxygenCobalt
158a413629 [BottomSheetBehavior] Add internal method to disable hiding gestures
Resolves https://github.com/material-components/material-components-android/pull/2880

GIT_ORIGIN_REV_ID=0dac0b3ca0daeeafca7b71d8cdef6709be17c2a4
PiperOrigin-RevId: 471809209
2022-09-02 13:00:30 -07:00
leticiars
a85204eb75 [TextInputLayout] Updated expanded label color to take error color when on error.
Partially fixes https://github.com/material-components/material-components-android/issues/2719

PiperOrigin-RevId: 471799584
2022-09-02 12:54:09 -07:00
rightnao
7d129eae21 [MaterialCardView] Add fade animation for checked icon drawable
PiperOrigin-RevId: 471663189
2022-09-01 17:23:43 -07:00
rightnao
9df6c9d072 [AppBarLayout] Fix issue with a physical keyboard scroll not collapsing toolbar
PiperOrigin-RevId: 471608866
2022-09-01 17:22:43 -07:00
pubiqq
158d9f012a [ShapeAppearance] Change relative corner size behavior for "vertical" shapes
Resolves https://github.com/material-components/material-components-android/pull/2929

GIT_ORIGIN_REV_ID=38438252c1d43d1ccbeb333bdfc7a76b469033f4
PiperOrigin-RevId: 471564817
2022-09-01 10:25:55 -07:00
rightnao
14415a1308 [AppBarLayout] Make a new setter for scroll effect and make SCROLL_EFFECT_COMPRESS public
resolves https://github.com/material-components/material-components-android/issues/2894

PiperOrigin-RevId: 471289613
2022-08-31 15:55:37 -07:00
Material Design Team
9dd1195ad7 [ButtonGroup] Reduce log tag string length
PiperOrigin-RevId: 470989485
2022-08-30 11:29:46 -04:00
leticiars
08c40d85e5 [TextInputLayout] Added method to set corner family programmatically and a setShapeAppearanceModel method for greater customizability of the box background shape.
Resolves https://github.com/material-components/material-components-android/issues/1957

PiperOrigin-RevId: 470826160
2022-08-30 11:28:55 -04:00
leticiars
b8e1b57804 [Checkbox] Fixed NPE crash due to layer drawable's constant state issue in APIs < 23.
PiperOrigin-RevId: 470825166
2022-08-30 11:28:16 -04:00
rightnao
21b74f90b2 [BottomAppBar][BottomNavigationView] Update motion specs for show/hide bar
PiperOrigin-RevId: 470801900
2022-08-30 11:27:36 -04:00
rightnao
3d3edce956 [Snackbar] Update motion specs
PiperOrigin-RevId: 470790457
2022-08-30 11:21:45 -04:00
pubiqq
0dbea2df1a [MaterialTimePicker] Fix text appearance on the clock display
Resolves https://github.com/material-components/material-components-android/pull/2921

GIT_ORIGIN_REV_ID=4b00dddc1a6eac897de71cefa7f45a88113353cf
Co-authored-by: paulfthomas
PiperOrigin-RevId: 470753559
2022-08-29 10:46:43 -07:00
conradchen
6e6c53a4f4 [BottomSheet] Add shouldRemoveExpandedCorners attribute
PiperOrigin-RevId: 470023917
2022-08-25 15:11:36 -07:00
rightnao
6b53f62aa2 [TextInputLayout] Update motion specs for hint animation
PiperOrigin-RevId: 469753395
2022-08-24 14:41:36 -07:00
rightnao
c5fadac827 Automated g4 rollback of changelist 469291824
PiperOrigin-RevId: 469334903
2022-08-24 14:40:40 -07:00
rightnao
95ab9794cb [DatePicker] Expose CalendarConstraints start and end getter methods
resolves https://github.com/material-components/material-components-android/issues/2907

PiperOrigin-RevId: 469332050
2022-08-24 14:40:13 -07:00
rightnao
fdd8dae982 [BottomAppBar][BottomNavigationView] Update motion specs for show/hide bar
PiperOrigin-RevId: 469291824
2022-08-24 14:38:54 -07:00