dniz
9ca33544ac
Update package name to com.google.android.material
...
PiperOrigin-RevId: 193236235
2018-04-30 11:24:23 -04:00
Material Design Team
197c76911a
[ally] change default password_toggle_content_description from "Toggle password visibility" to "Show password"
...
PiperOrigin-RevId: 192837950
2018-04-17 15:56:35 -04:00
afohrman
0d71bffb1d
Use chip text in close icon's content description to clarify the icon's contentDescription.
...
To make it clearer what the close icon does, use the chip text inside the actual content description, and change "close" to "remove".
If the chip text is not usable (ex: it's an input chip and only spaces were entered), the screen reader will read out "chip" in place of the chip's content.
PiperOrigin-RevId: 192823693
2018-04-17 15:56:04 -04:00
Material Design Team
2351c425b6
Automated g4 rollback of changelist 192719656
...
PiperOrigin-RevId: 192788678
2018-04-17 15:55:45 -04:00
gauthams
90c70f85e1
Update button to use textappearance theme attributes
...
PiperOrigin-RevId: 192719656
2018-04-17 15:55:12 -04:00
gauthams
d691163717
Update AlertDialog to use our ThemeOverlay dialog themes
...
PiperOrigin-RevId: 192719625
2018-04-17 15:54:48 -04:00
afohrman
2055801374
Add feedback for selected bottom navigation items.
...
Set the BottomNavigationItemView to selected in setChecked to fix an issue where there was no feedback when a bottom nav item was selected. The solution here also allows for removing the override of onInitializeAccessibilityNodeInfo in favor of BottomNavigationItemView getting selection behavior "for free" from View.
PiperOrigin-RevId: 192717626
2018-04-17 15:54:22 -04:00
afohrman
93e63fa38a
Distinguish selected navigation items from unselected navigation items.
...
Override onInitializeAccessibilityNodeInfo to set the selected state based on whether or not the item is checked. It would be more intuitive to set the AcccessibilityNodeInfo to be checked, since the menu API used for bottom navigation uses checking as opposed to selection, but setChecked does not produce the desire behavior in talkback.
Before this change: Activated item is read out with no indication of its selected state.(ex: "Page 2")
After this change: Activated item is read out with "selected" before its label (ex: "selected, Page 2")
This new behavior is the same behavior seen in tabs.
PiperOrigin-RevId: 192696908
2018-04-17 15:53:51 -04:00
Material Design Team
52556c7c36
Automated g4 rollback of changelist 192314650
...
PiperOrigin-RevId: 192328732
2018-04-17 15:53:33 -04:00
Material Design Team
5f23ba11f2
[a11y] Use hint text correctly for TextInputLayout. This causes the TextInputLayout itself to be ignored by accessibility and the EditText and helper text within TextInputLayout to be exposed to accessibility correctly.
...
PiperOrigin-RevId: 192314650
2018-04-17 15:53:04 -04:00
Material Design Team
04c14f2b55
Allow users of Snackbars to set custom behaviors.
...
PiperOrigin-RevId: 191940647
2018-04-17 15:52:12 -04:00
cketcham
dfc85ffd8d
Move AppBarLayout methods to allow for widget migration
...
PiperOrigin-RevId: 191764375
2018-04-17 15:51:53 -04:00
cketcham
a9180a5256
Remove reflection for CoordinatorLayout#getLastWindowInsets() as it is now public
...
PiperOrigin-RevId: 191601519
2018-04-17 15:51:14 -04:00
cketcham
f86f266d92
Fix behavior to allow for the widget migration
...
PiperOrigin-RevId: 191488254
2018-04-17 15:50:54 -04:00
cketcham
92a5a10b7b
Automated g4 rollback of changelist 191463510
...
PiperOrigin-RevId: 191478910
2018-04-17 15:50:33 -04:00
Material Design Team
db499557f5
Automated g4 rollback of changelist 191469563
...
PiperOrigin-RevId: 191476123
2018-04-17 15:50:14 -04:00
cketcham
ed779ec084
Add methods to AppBarLayout to allow for widget migration
...
PiperOrigin-RevId: 191469563
2018-04-17 15:49:47 -04:00
cketcham
2e0a4ebbc8
Fix behavior to allow for the widget migration
...
PiperOrigin-RevId: 191463510
2018-04-17 15:49:03 -04:00
cketcham
438ba25c58
Add BottomAppBar attribute to the theme
...
PiperOrigin-RevId: 191448308
2018-04-03 12:10:36 -04:00
dniz
9ae3538d6e
Mark Shapes APIs as experimental
...
PiperOrigin-RevId: 191444301
2018-04-03 12:09:59 -04:00
cketcham
a1f27dfe0b
Fix AppBarLayout generics to allow for widget migration
...
PiperOrigin-RevId: 191439480
2018-04-03 12:09:41 -04:00
dniz
3ea78dd02b
Fix CoordinatorLayout getLastWindowInsets() reflection
...
PiperOrigin-RevId: 191304626
2018-04-03 12:09:09 -04:00
dniz
3f6ba81d6e
Remove library references to widget package
...
PiperOrigin-RevId: 191302154
2018-04-03 12:07:57 -04:00
dniz
2306141b16
Preserve Snackbar inheritence with BaseTransientBottomBar and SwipeDismissBehavior
...
PiperOrigin-RevId: 191293691
2018-04-03 12:05:22 -04:00
dniz
910961412d
Move Snackbar classes and resources from widget/internal to snackbar package
...
PiperOrigin-RevId: 191070265
2018-04-03 12:04:39 -04:00
dniz
0bc8f38d8a
Automated g4 rollback of changelist 190996602
...
PiperOrigin-RevId: 191011241
2018-04-03 12:03:30 -04:00
dniz
85b2b08aec
Move Snackbar classes and resources from widget/internal to snackbar package
...
PiperOrigin-RevId: 190996602
2018-04-03 12:02:29 -04:00
dcarlsson
fa28916b56
Make method to control text field password visibility public instead of private so that clients can override the method.
...
PiperOrigin-RevId: 190932469
2018-04-03 12:02:11 -04:00
Material Design Team
ba1d44b46e
Automated g4 rollback of changelist 190859922
...
PiperOrigin-RevId: 190866477
2018-04-03 12:01:50 -04:00
cketcham
6722bd39ca
Add BottomAppBar attribute to the theme
...
PiperOrigin-RevId: 190859922
2018-04-03 12:00:52 -04:00
cketcham
a87d71a4ae
Move components out of widget
...
PiperOrigin-RevId: 190828084
2018-04-03 11:55:32 -04:00
Material Design Team
704691488d
Small fix for aapt2 regression
...
PiperOrigin-RevId: 190778936
2018-04-03 11:53:04 -04:00
dniz
ade4df00cb
Change Gradle build to output single Maven artifact
...
PiperOrigin-RevId: 190774454
2018-04-03 11:49:01 -04:00
gauthams
45c73bffb0
Only propagate tabIconTint and tabIconTintMode to default icon views, not to custom icon views.
...
PiperOrigin-RevId: 190546523
2018-04-03 11:47:25 -04:00
Material Design Team
e677734c9f
Adds setHelperTextColor() and setErrorTextColor() to TextInputLayout so that colors can be set directly without using text appearance in resource files.
...
PiperOrigin-RevId: 190117856
2018-04-03 11:46:57 -04:00
dniz
886dc4e182
Fix NavigationView MaterialComponents style (remove maxWidth=0)
...
PiperOrigin-RevId: 189904912
2018-04-03 11:46:09 -04:00
cketcham
848795fa39
Add Documentation for BottomAppBar
...
PiperOrigin-RevId: 189775730
2018-04-03 11:45:43 -04:00
Material Design Team
6f9d059ab5
Fix a live crash bug caused by a NullPointerException in BottomSheetBehavior.
...
PiperOrigin-RevId: 189730590
2018-04-03 11:45:25 -04:00
Material Design Team
98c248d5d7
Update Chip content description to announce chip's label without "Chip." prefix.
...
User doesn't need to know the implementation detail that this is the Chip.
PiperOrigin-RevId: 189722701
2018-04-03 11:45:11 -04:00
cketcham
b3494e18c0
Add option to hide BottomAppBar on scroll
...
PiperOrigin-RevId: 189632650
2018-04-03 11:44:44 -04:00
Material Design Team
aab05a3e92
Improve scrolling of HideBottomViewOnScrollBehavior
...
PiperOrigin-RevId: 189228089
2018-04-03 11:43:48 -04:00
cketcham
9084341299
Stop MaterialShapeDrawable shadow being offset in x direction
...
PiperOrigin-RevId: 189073416
2018-03-15 10:58:33 -04:00
cketcham
4da653a284
Fix FAB vertical alignment with different height BottomAppBar
...
Instead of using the height of the BottomAppBar it should use the height of the FAB. The default is for these heights to be the same which is why it was working before.
PiperOrigin-RevId: 189054684
2018-03-15 10:58:11 -04:00
Material Design Team
7363fa5210
Support setting hint text colors in TextInputLayout.
...
PiperOrigin-RevId: 188822351
2018-03-15 10:57:37 -04:00
Material Design Team
0100f31585
Automated g4 rollback of changelist 188751614
...
PiperOrigin-RevId: 188794252
2018-03-12 19:34:02 -04:00
afohrman
3b0ed4aa6c
Fix typos in theme/attrs.xml.
...
PiperOrigin-RevId: 188790462
2018-03-12 19:32:39 -04:00
Material Design Team
16fb95014d
Update TextInputLayout to support setting the default and hint text colors.
...
This is necessary to support changing hint text color at runtime when the color is not already stored as a resource.
PiperOrigin-RevId: 188751614
2018-03-12 19:28:35 -04:00
dniz
81bdf025ca
Update MaterialCardView to use foreground instead of background for stroke
...
- Fixes issue where cardUseCompatPadding attribute was not being respected due to overriding of CardView's background
PiperOrigin-RevId: 188484199
2018-03-12 12:57:24 -04:00
gauthams
8dbb9b24a2
Add snackbarButtonStyle attribute
...
PiperOrigin-RevId: 188410794
2018-03-12 12:57:07 -04:00
gauthams
320b5b38d3
Fix crash in BottomSheetBehavior
...
PiperOrigin-RevId: 188410031
2018-03-12 12:56:46 -04:00