950 Commits

Author SHA1 Message Date
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
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
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
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
afohrman
7241e7181f Hide CornerFamily documentation and restrict the annotation.
PiperOrigin-RevId: 260144206
2019-07-29 16:39:19 -04:00
dniz
bfcaf43715 Hide BaseTransientBottomBar IntDef annotations
PiperOrigin-RevId: 260144023
2019-07-29 16:38:30 -04:00
Material Design Team
ab8906e1b6 Automated g4 rollback of changelist 260061540
PiperOrigin-RevId: 260066674
2019-07-29 16:37:50 -04:00
isabellekim
b2e9ce4fc4 Adding annotations to BottomSheetBehavior
PiperOrigin-RevId: 260061540
2019-07-29 16:36:59 -04:00
connieshi
276bec8385 Update BottomNavigation to respect bottom system insets
PiperOrigin-RevId: 260031378
2019-07-29 16:35:59 -04:00
dniz
949e64475e Update Snackbar#setAnchorView(int) javadoc to explain how anchor view is found
PiperOrigin-RevId: 259991025
2019-07-29 16:31:45 -04:00
dniz
52c1a4d50d Add materialButtonOutlinedStyle and materialButtonToggleGroupStyle to public.xml
Resolves https://github.com/material-components/material-components-android/pull/453

PiperOrigin-RevId: 259959541
2019-07-25 13:14:06 -04:00
ldjesper
ec856cdeae Deprecate fields from the public API of ShapePath
PiperOrigin-RevId: 259830158
2019-07-25 13:13:11 -04:00
connieshi
5a20fb0d4d Rename TransformationListener to TransformationCallback.
PiperOrigin-RevId: 259827772
2019-07-25 13:12:10 -04:00
dniz
52ebd29fa6 Add setBackgroundTintList to Snackbar
PiperOrigin-RevId: 259812607
2019-07-25 13:11:25 -04:00
connieshi
e1248f8771 Update BadgeDrawable's documentation to include information about badge's gravity mode.
PiperOrigin-RevId: 259775790
2019-07-24 15:11:50 -04:00
cketcham
310fc88fc6 Update javadoc for HideBottomViewOnScrollBehavior#setAdditionalHiddenOffsetY()
PiperOrigin-RevId: 259772561
2019-07-24 15:10:52 -04:00
marianomartin
2241380dba Internal cleanup
PiperOrigin-RevId: 259753640
2019-07-24 15:09:18 -04:00
ldjesper
2b11de3162 Increase CHAR_LIMIT for Farsi in MaterialDatePicker
PiperOrigin-RevId: 259746717
2019-07-24 15:08:17 -04:00
marianomartin
b4c21e7826 [SwipeDismissBehavior] doesn't work as expected
PiperOrigin-RevId: 259587056
2019-07-23 15:32:37 -04:00
ldjesper
5d58de9499 Add MaterialDatePicker and CalendarConstraints to the public API.
PiperOrigin-RevId: 259585701
2019-07-23 15:29:11 -04:00
dniz
eab505c42f Update uses-sdk in AndroidManifest.xml files and fix some lint warnings
PiperOrigin-RevId: 259545645
2019-07-23 12:12:58 -04:00
dniz
cc73c2a630 Update TODOs
PiperOrigin-RevId: 259535844
2019-07-23 11:21:39 -04:00
leticiars
6a88f2b7d7 Adding option to set TextInputLayout icons to be not checkable.
Also updating clear text end icon to be not checkable, so that screen readers don't announce the icon's checked state as it's not relevant (differently from the password toggle icon, for example).

PiperOrigin-RevId: 259532643
2019-07-23 11:14:44 -04:00
dniz
8dc2eefd19 Update comments
PiperOrigin-RevId: 259405175
2019-07-22 21:20:09 -04:00
marianomartin
11e6dd134e Cleanup BaseTransientBottomBar and write test making sure touch events are handled properly
PiperOrigin-RevId: 259260862
2019-07-22 12:22:46 -04:00
connieshi
0558a36c9a Add support for configuring badge gravity.
PiperOrigin-RevId: 259223232
2019-07-22 12:22:00 -04:00
dniz
0512f776c5 Remove sub-package AndroidManifest.xml files from lib directory
PiperOrigin-RevId: 258390736
2019-07-16 13:18:32 -04:00
dniz
ff04684ecf Remove/fix unneeded dependencies from textview package
PiperOrigin-RevId: 258262937
2019-07-15 20:02:30 -04:00
ldjesper
2a40e2cfe9 Rename GridSelector to DateSelector
PiperOrigin-RevId: 258173492
2019-07-15 19:21:34 -04:00
ldjesper
de3a04c269 Add Override statements for clarity to GridSelector
PiperOrigin-RevId: 257878720
2019-07-15 19:20:44 -04:00
isabellekim
a628bf516b Revert the library to compile with Java 7: revert lambdas, add necessary casts, and make some variables final.
Continue compile shrine demo, catalog, and tests with Java 8.

PiperOrigin-RevId: 257874888
2019-07-15 19:19:23 -04:00
ldjesper
e6ee275d97 Validate TextInput dates in MaterialDatePicker
PiperOrigin-RevId: 257857397
2019-07-15 19:16:13 -04:00