ldjesper
ee37298482
Update BottomSheetDialog to have consistent create and get signatures
...
This prevents extensions from causing a ClassCastException on calls to getDialog
Resolve https://github.com/material-components/material-components-android/issues/632
PiperOrigin-RevId: 272594580
2019-10-03 11:44:30 -04:00
leticiars
c74120d3d7
Automated g4 rollback of changelist 271432476
...
PiperOrigin-RevId: 272057811
2019-10-01 04:10:55 -04:00
leticiars
1217dcfb55
Making the non editable Exposed Dropdown Menu accessible through TalkBack interaction.
...
In TalkBack, once the menu is double tapped the focus automatically changes to the first item on the dropdown list, just like how it would with a Spinner.
Clients may keep using the framework's AutoCompleteTextView inside of the TextInputLayout as before.
PiperOrigin-RevId: 272026973
2019-10-01 04:08:33 -04:00
Material Design Team
fd13d16292
Support registering multiple BottomSheetCallbacks
...
PiperOrigin-RevId: 271650665
2019-10-01 03:59:15 -04:00
hunterstich
4f70ac8955
Update FloatingActionButton to implement the Shapeable interface.
...
PiperOrigin-RevId: 271566824
2019-09-27 14:06:05 -04:00
leticiars
544c2af103
Adding hintTextErrorColor color attribute to be used for the collapsed hint text color when an error is being displayed.
...
PiperOrigin-RevId: 271432476
2019-09-26 17:58:11 -04:00
connieshi
230ed9263f
Add null checks to avoid NPE when tabs that have badges are reset .
...
Resolves https://github.com/material-components/material-components-android/issues/620
PiperOrigin-RevId: 271126107
2019-09-26 17:54:25 -04:00
leticiars
88d316e0f4
Adding boxStrokeErrorColor color attribute to be used for the outlined text field stroke color when an error is being displayed.
...
PiperOrigin-RevId: 270088868
2019-09-20 11:00:03 -04:00
ldjesper
ee891219d5
Change text scaling and landscape width for small screens.
...
PiperOrigin-RevId: 269862267
2019-09-20 10:45:32 -04:00
leticiars
6e5ddcfb0e
Adding support for prefix and suffix in text fields.
...
Prefix text can be set via the prefixText attribute or via the setPrefixText(CharSequence) method.
Similarly, suffix text can be set via the suffixText attribute or via setSuffixText(CharSequence)
PiperOrigin-RevId: 269799139
2019-09-18 14:21:37 -04:00
cketcham
c708ee7827
Fix test failure for FAB instrumentation tests from timeouts while waiting for rotation
...
PiperOrigin-RevId: 269576461
2019-09-18 14:18:59 -04:00
leticiars
6f35a22359
Automated g4 rollback of changelist 268680301
...
PiperOrigin-RevId: 268740076
2019-09-18 13:53:59 -04:00
marianomartin
167663ae45
Internal cleanup
...
PiperOrigin-RevId: 268698913
2019-09-12 14:29:01 -04:00
leticiars
55f85bcc6e
Adding support for prefix and suffix in text fields.
...
Prefix text can be set via the prefixText attribute or via the setPrefixText(CharSequence) method.
Similarly, suffix text can be set via the suffixText attribute or via setSuffixText(CharSequence)
PiperOrigin-RevId: 268680301
2019-09-12 14:26:15 -04:00
Material Design Team
76ef7cedc1
Internal update
...
PiperOrigin-RevId: 268560752
2019-09-12 14:24:41 -04:00
ldjesper
d78d93577f
Remove Month from the public API
...
PiperOrigin-RevId: 268242042
2019-09-12 13:57:19 -04:00
marianomartin
c178633441
Internal cleanup
...
PiperOrigin-RevId: 268017966
2019-09-12 13:55:18 -04:00
marianomartin
215a839598
Internal cleanup
...
PiperOrigin-RevId: 267504117
2019-09-12 13:48:16 -04:00
ldjesper
72d54c653c
Change picker package to com.google.android.material.datepicker
...
PiperOrigin-RevId: 267004501
2019-09-04 18:07:59 -04:00
ldjesper
6e9b3c6b30
In MaterialDatePicker after rotation, open to the same page if it was changed via swipe
...
PiperOrigin-RevId: 266462896
2019-09-04 18:01:33 -04:00
Material Design Team
a41d340b0d
Add more a11y support to BottomSheetBehavior.
...
PiperOrigin-RevId: 266403799
2019-09-04 17:56:27 -04:00
cketcham
7bb525ff59
Update usages of ShapeAppearanceModel to use Builder pattern
...
PiperOrigin-RevId: 266144471
2019-08-29 15:39:51 -04:00
marianomartin
0d4515cb46
Internal cleanup
...
PiperOrigin-RevId: 265971745
2019-08-29 14:59:20 -04:00
marianomartin
ac904ac1c9
Internal cleanup
...
PiperOrigin-RevId: 265728855
2019-08-29 12:11:15 -04:00
marianomartin
e89564aadd
Internal cleanup
...
PiperOrigin-RevId: 265685660
2019-08-29 11:58:31 -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
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
marianomartin
674b462e68
Fix Catalog CardSwipeDismissFragmentTest
...
PiperOrigin-RevId: 263620016
2019-08-16 16:18:45 -04:00
leticiars
48d775dc0e
Adding OnLongClickListener setters for text field icons.
...
PiperOrigin-RevId: 263429758
2019-08-16 16:13:44 -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
dniz
d9cc67d57b
Add Espresso test action for setSystemUiVisibility()
...
PiperOrigin-RevId: 262561726
2019-08-16 15:39:47 -04:00
cketcham
14b7ba53c2
Fix potential IllegalStateException for BottomSheetDialogFragment#dismiss()
...
PiperOrigin-RevId: 262549163
2019-08-16 15:37:38 -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
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
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
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
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
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
marianomartin
2241380dba
Internal cleanup
...
PiperOrigin-RevId: 259753640
2019-07-24 15:09:18 -04:00
dniz
cc73c2a630
Update TODOs
...
PiperOrigin-RevId: 259535844
2019-07-23 11:21:39 -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
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
marianomartin
b5ec7135c5
Rollback accidental changes to snackbar
...
PiperOrigin-RevId: 257821452
2019-07-15 19:13:06 -04:00
marianomartin
0a5d66ffc0
Internal cleanup
...
PiperOrigin-RevId: 257802841
2019-07-15 19:07:26 -04:00
ldjesper
6eb692d3eb
Add CalendarConstraints Builder
...
PiperOrigin-RevId: 257651910
2019-07-15 19:06:00 -04:00
marianomartin
d17243cd21
Internal cleanup
...
PiperOrigin-RevId: 257436291
2019-07-10 13:49:32 -04:00
ldjesper
fb44b908f4
Use CalendarBounds to invalidate out of bounds dates
...
PiperOrigin-RevId: 257249906
2019-07-10 13:45:18 -04:00