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
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
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