2479 Commits

Author SHA1 Message Date
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
connieshi
825531b2df Update DemoActivity to support edge to edge.
Affected subclasses: CardSelectionModeActivity, DrawerSideDemoActivity, ElevationOverlayActivity, BaseTopAppBarActionBarDemoActivity, TopAppBarActionBarDemoActivity, TopAppBarDarkActionBarDemoActivity, TopAppBarScrollingTransparentStatusDemoActivity

PiperOrigin-RevId: 262562330
2019-08-16 15:40:22 -04:00
dniz
d9cc67d57b Add Espresso test action for setSystemUiVisibility()
PiperOrigin-RevId: 262561726
2019-08-16 15:39:47 -04:00
connieshi
4118b91472 Update the demo landing pages to support edge to edge.
PiperOrigin-RevId: 262553945
2019-08-16 15:39:14 -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
dniz
12c22feda2 Update androidx dependency versions
core: 1.1.0-rc02 -> 1.1.0-rc03
viewpager2: 1.0.0-beta02 -> 1.0.0-beta03
PiperOrigin-RevId: 262392428
2019-08-16 15:34:35 -04:00
connieshi
4e78a59041 Add button to switch the Catalog app in and out of edge to edge mode.
PiperOrigin-RevId: 262378430
2019-08-16 15:33:44 -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
c85de39424 Change test names from datePickerDialogFragment to MaterialDatePicker to match the class
PiperOrigin-RevId: 262018578
2019-08-16 15:29:54 -04:00
ldjesper
52251fb2ad Remove obsolete MaterialStyledDatePicker tests
PiperOrigin-RevId: 261995645
2019-08-16 15:29:05 -04:00
ldjesper
8b3131902c Move ParcelableTestUtils to less specific package than picker
PiperOrigin-RevId: 261973657
2019-08-16 15:27:56 -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
Felipe Roriz
37bb299f6e Automated g4 rollback of changelist 261796473
PiperOrigin-RevId: 261908197
2019-08-06 15:28:37 -04:00
ldjesper
fc195cfe10 Fix TalkBack content descriptions for MaterialDatePicker and improve scrolling logic
PiperOrigin-RevId: 261849633
2019-08-06 15:27:48 -04:00
ldjesper
3da7ddc314 MaterialDatePicker Header Talkback
PiperOrigin-RevId: 261846463
2019-08-06 15:26:40 -04:00
Felipe Roriz
2c46004075 Automated g4 rollback of changelist 261764987
PiperOrigin-RevId: 261796473
2019-08-06 15:20:14 -04:00
Felipe Roriz
bede31c6b5 [BottomSheet] Updated BottomSheetDialog and Fragment dismiss animation
Resolves https://github.com/material-components/material-components-android/pull/415

GIT_ORIGIN_REV_ID=7aa46483d15c00c102b9b5c4463bf3bd331e4d15
PiperOrigin-RevId: 261764987
2019-08-06 15:18:43 -04:00
melaniegoetz
571b9e427a Adding TabLayoutMediator documentation
PiperOrigin-RevId: 261720156
2019-08-06 15:17:13 -04:00
cketcham
234aa8535c Fix scrim drawing behind NavigationView when used in a BottomDrawer for full screen activities
PiperOrigin-RevId: 261699505
2019-08-06 14:27:11 -04:00
connieshi
c14dee1440 Add null check before trying to find the item view associated with a badge id.
PiperOrigin-RevId: 261694373
2019-08-06 14:25:55 -04:00
leticiars
631c320dea Adding error icon documentation.
PiperOrigin-RevId: 261348566
2019-08-02 15:58:54 -04:00
ldjesper
135df4e4f6 Switch from ViewPager2 to RecyclerView because multiple visible pages are not supported in vertical mode.
PiperOrigin-RevId: 261345144
2019-08-02 15:57:51 -04:00
isabellekim
dfd0800640 Add a test action for resetting the shape appearance model of a Shapeable View.
PiperOrigin-RevId: 261130040
2019-08-02 15:57:08 -04:00
isabellekim
ba024b3486 Add generic types to SnackbarUtils
PiperOrigin-RevId: 261049120
2019-08-02 15:56:14 -04:00
ldjesper
605054192b Fix keyboard navigation in MaterialDatePicker including highlights
PiperOrigin-RevId: 260950071
2019-08-02 15:55:17 -04:00
leticiars
1c4f77c00e Adding a frame wrapper for the TextInputLayout end icon so it simplifies the error icon implementation.
PiperOrigin-RevId: 260934634
2019-08-02 15:53:43 -04:00
connieshi
7633a60328 Automated g4 rollback of changelist 260710940
PiperOrigin-RevId: 260920613
2019-08-02 15:35:40 -04:00
marianomartin
58d2085032 Refactor extended Fab and add test for behavior
PiperOrigin-RevId: 260841260
2019-08-02 15:34:16 -04:00
isabellekim
eb1324d475 Update FAB to use the specified rippleColor instead of creating a CSL based solely on the pressed state's color.
PiperOrigin-RevId: 260802204
2019-08-02 15:11:16 -04:00
marianomartin
f28039a0d7 Change ThemeOverlayUtils to use a map instead of array
PiperOrigin-RevId: 260776832
2019-08-02 15:09:51 -04:00
Material Design Team
a6c469374b Automated g4 rollback of changelist 260577585
PiperOrigin-RevId: 260710940
2019-08-02 15:07:08 -04:00
connieshi
d60fb3fc22 Workaround chip compositing bug that dropped stated_pressed and state_focused.
PiperOrigin-RevId: 260577585
2019-07-29 17:50:23 -04:00
isabellekim
24a3fd4bb0 Add test-only option to turn off pre-L compat shadows for FABs.
PiperOrigin-RevId: 260569896
2019-07-29 17:49:15 -04:00
dniz
1ed60b9655 Update library version to 1.1.0-alpha09
PiperOrigin-RevId: 260538355
1.1.0-alpha09
2019-07-29 16:48:37 -04:00
leticiars
896e432945 Refactoring TextInputLayout.On*Listeners and restricting EndIconMode annotation.
PiperOrigin-RevId: 260516099
2019-07-29 16:47:05 -04:00
isabellekim
858fa6a1d5 Update Chip's close icon Drawable to respect both the chip state (includes state_focused when focusing on the chip) and close icon state (includes state_focused when focusing on the close icon).
PiperOrigin-RevId: 260507798
2019-07-29 16:45:41 -04:00
leticiars
3f73804b57 Implementing error icon for text fields.
They are set by default when the text field is on error state, but can be disabled by setting the error icon drawable to null via the errorIconDrawable attribute or the setErrorIconDrawable method.

PiperOrigin-RevId: 260495196
2019-07-29 16:43:16 -04:00
sharkey
1876bc5d0a @hide shouldInflateAppCompatButton, and restrict use to our library.
PiperOrigin-RevId: 260224154
2019-07-29 16:42:25 -04:00
isabellekim
cb2ba9789f Adding annotations to BottomSheetBehavior
PiperOrigin-RevId: 260217762
2019-07-29 16:41:42 -04:00