1001 Commits

Author SHA1 Message Date
cketcham
101d757b3a Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264850312
2019-08-26 11:37:01 -04:00
dniz
c1098453fc Update Snackbars to respect bottom system gesture inset on Android Q
Ensures that the Snackbar swipe to dismiss gesture doesn't conflict with the Quick Switch gesture

PiperOrigin-RevId: 264836552
2019-08-26 11:34:02 -04:00
cketcham
12d213270f Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264825271
2019-08-26 11:32:53 -04:00
cketcham
06342a1ad7 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264825115
2019-08-26 11:32:16 -04:00
cketcham
0f5198603b Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264824851
2019-08-26 11:31:13 -04:00
cketcham
244650faa3 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264824691
2019-08-26 11:30:05 -04:00
cketcham
9fff60d21d Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264824214
2019-08-26 11:26:20 -04:00
cketcham
3c4c77d49c Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264750701
2019-08-26 11:24:43 -04:00
cketcham
08a26c929e Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264750215
2019-08-26 11:21:15 -04:00
cketcham
81e708e1bb Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264745164
2019-08-26 11:19:28 -04:00
cketcham
530f3678d6 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264744296
2019-08-26 11:18:29 -04:00
cketcham
fd8fc1d02e Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264744273
2019-08-26 11:17:49 -04:00
connieshi
238fad4560 Update Chip's AccessibilityDelegate to avoid setting classname /type description when chip is not clickable or checkable.
PiperOrigin-RevId: 264676607
2019-08-26 11:12:38 -04:00
cketcham
9d9909ac51 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264624045
2019-08-26 11:11:08 -04:00
cketcham
cb1674662a Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264619150
2019-08-26 11:01:22 -04:00
cketcham
cdd41a24dc Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264619086
2019-08-26 10:57:03 -04:00
cketcham
4b1aa74a9e Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264619042
2019-08-26 10:56:12 -04:00
cketcham
c60fbda391 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264615617
2019-08-26 10:54:07 -04:00
cketcham
bf933c069d Fix comparison between days in the MonthAdapter
PiperOrigin-RevId: 264436912
2019-08-26 10:48:05 -04:00
Material Design Team
ac9ca51be2 Fix inconsistent material shape animations in bottom sheet
PiperOrigin-RevId: 264410715
2019-08-26 10:44:33 -04:00
Material Design Team
322cbaae8a Automated g4 rollback of changelist 264230778
PiperOrigin-RevId: 264382083
2019-08-20 11:22:09 -04:00
afohrman
04955f6421 Add placeholder text functionality to TextInputLayout.
This is the initial implementation of placeholder text; it does not contain motion. At this stage, TextInputLayout sets the placeholder text visibility based on whether or not it should show.

PiperOrigin-RevId: 264230778
2019-08-20 11:19:02 -04:00
cketcham
df1ca820a4 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264227575
2019-08-20 11:18:31 -04:00
cketcham
adcfec51d8 Add @NonNull and @Nullable annotations
PiperOrigin-RevId: 264204239
2019-08-20 11:17:20 -04:00
gauthams
3f4ae91ebc Don't include padding in idealHeight measurement for TabLayout child view
PiperOrigin-RevId: 264194304
2019-08-20 11:13:51 -04:00
cketcham
a1a763dde9 Fixing NavigationView scrims
NavigationView tries to determine if it is behind the status bar by checking if it's at the top of the screen. If it is and there are insets, it will draw a scrim. It also tries to determine if it is under the system nav. If it is and the system nav isn't fully transparent, it will also draw a scrim.

PiperOrigin-RevId: 264167166
2019-08-20 11:13:04 -04:00
Ernest Zamelczyk
7d6ba16eee Moved sdk version constraints from Manifest to build script
Resolves https://github.com/material-components/material-components-android/pull/507
Resolves https://github.com/material-components/material-components-android/issues/506

GIT_ORIGIN_REV_ID=16d00c5166222c30607932f42f6758d1a10984b0
PiperOrigin-RevId: 263825498
2019-08-16 16:23:43 -04:00
ldjesper
29c12b4cf2 Improve a11y heading navigation for fullscreen MaterialDatePicker
PiperOrigin-RevId: 263723989
2019-08-16 16:21:24 -04:00
leticiars
48d775dc0e Adding OnLongClickListener setters for text field icons.
PiperOrigin-RevId: 263429758
2019-08-16 16:13:44 -04:00
connieshi
a6f066c0bf Chip is an unsupported item type according to Accessibility Scanner.
Set the class name on chip's AccessibilityNodeInfo as either android.widget.Button or android.widget.CompoundButton depending on whether chip is checkable.

PiperOrigin-RevId: 263424377
2019-08-16 16:12:47 -04:00
ldjesper
03f043bbba Improve MaterialDatePicker demo to showcase builder and allow initial selection to be at any point within the day
PiperOrigin-RevId: 263194595
2019-08-16 16:00:38 -04:00
ldjesper
1d5337f79c Fix navigation error caused by pre-loading additional side pages in MaterialDatePicker
PiperOrigin-RevId: 262954074
2019-08-16 15:57:58 -04:00
leticiars
58ccce1211 Fixing TextInputLayout not parsing boxStrokeWidth attr and adding boxFocusedStrokeWidth attr.
For the outlined textfields, those attrs control the outline stroke, while for the filled textfields, they control the underline width.

PiperOrigin-RevId: 262933557
2019-08-16 15:57:25 -04:00
Material Design Team
a313efe1f2 Let go of adapter in detach()
Don't hold on to the adapter to prevent memory leaks.

PiperOrigin-RevId: 262918018
2019-08-16 15:56:42 -04:00
ldjesper
795e42e8d9 i18n request to reword move as change in MaterialDatePicker
PiperOrigin-RevId: 262641732
2019-08-16 15:55:28 -04:00
isabellekim
516edcb736 Support buttonTint CSLs for MaterialCheckbox that reference theme attributes.
PiperOrigin-RevId: 262592908
2019-08-16 15:53:19 -04:00
ldjesper
910c940717 Disable MaterialDatePicker ok/confirm button when the selection is not valid
PiperOrigin-RevId: 262573417
2019-08-16 15:49:56 -04:00
cketcham
edbc7a58d2 Fix nullability of getBehavior() method
The behavior isn't available until the view has been inflated. This inflates the view if the behavior is requested before that happens.

PiperOrigin-RevId: 262551174
2019-08-16 15:38:40 -04:00
cketcham
14b7ba53c2 Fix potential IllegalStateException for BottomSheetDialogFragment#dismiss()
PiperOrigin-RevId: 262549163
2019-08-16 15:37:38 -04:00
gauthams
3085967e11 Enable TabLayout to wrap_content for its height if the tab items are taller than the default TabLayout height
PiperOrigin-RevId: 262462019
2019-08-16 15:37:07 -04:00
Material Design Team
290a96d881 Automated g4 rollback of changelist 262421424
PiperOrigin-RevId: 262443338
2019-08-16 15:36:23 -04:00
marianomartin
0ce38bf95e Automated g4 rollback of changelist 262136482
PiperOrigin-RevId: 262421424
2019-08-16 15:35:44 -04:00
ldjesper
6bd22d76dd Set Elevation for MaterialDatePicker darkmode
PiperOrigin-RevId: 262395497
2019-08-16 15:35:06 -04:00
ldjesper
440eec1272 Change flaky swipe tests to test correct paging or just require movement
PiperOrigin-RevId: 262193755
2019-08-16 15:32:42 -04:00
Material Design Team
9a7dfaaae4 Automated g4 rollback of changelist 262133140
PiperOrigin-RevId: 262136482
2019-08-16 15:31:16 -04:00
marianomartin
163d2828b3 Remove internalSetVisibility from ExtendedFab
PiperOrigin-RevId: 262133140
2019-08-16 15:30:29 -04:00
ldjesper
52251fb2ad Remove obsolete MaterialStyledDatePicker tests
PiperOrigin-RevId: 261995645
2019-08-16 15:29:05 -04:00
cketcham
96117da2db Remove unnecessary @hide
PiperOrigin-RevId: 261971189
2019-08-16 15:26:29 -04:00
melaniegoetz
94d2928c17 Rename TabLayoutMediator.OnConfigureTabCallback --> TabLayoutMediator. TabConfigurationStrategy
PiperOrigin-RevId: 261958592
2019-08-06 15:30:57 -04:00
ldjesper
4277809663 Allow an initial selection for MaterialDatePicker
PiperOrigin-RevId: 261949361
2019-08-06 15:29:32 -04:00