raajkumars
5c23affc74
[M3][SearchBar] Updated developer documentation.
...
PiperOrigin-RevId: 499267936
2023-01-05 12:46:02 -05:00
afohrman
dcf24875d9
[Docs][Search][Side Sheet] Add note about the minimum library version required to use the Search and Side Sheets components.
...
Resolves https://github.com/material-components/material-components-android/issues/3159 .
Also removed a broken link to Search's class definition (https://developer.android.com/reference/com/google/android/material/search/SearchView ) that will only work once 1.8.0 stable is released.
The notes should be removed and the class definition should be added once 1.8.0 stable is released.
PiperOrigin-RevId: 498424372
2022-12-29 15:06:16 -05:00
pfthomas
e1688f3d19
[MaterialDatePicker][a11y] Improve date input validation feedback
...
Resolves https://github.com/material-components/material-components-android/issues/2223
Add `TextInputLayout.setErrorAccessibilityLiveRegion` and `TextInputLayout.getErrorAccessibilityLiveRegion` to allow controlling the way the TextInputLayout error is announced.
Example:
```
textInputLayout.setErrorAccessibilityLiveRegion(ViewCompat.ACCESSIBILITY_LIVE_REGION_NONE);
```
PiperOrigin-RevId: 497323465
2022-12-29 00:19:00 -05:00
pfthomas
11c1df9c8f
[MaterialDatePicker] Unhide setFirstDayOfWeek
...
Resolves https://github.com/material-components/material-components-android/issues/1949
PiperOrigin-RevId: 496865765
2022-12-21 21:14:25 +00:00
afohrman
07354f95ab
[Adaptive][Side Sheet][Docs] Added coplanar side sheet documentation.
...
PiperOrigin-RevId: 494731326
2022-12-12 16:38:59 -05:00
afohrman
2e9b39f3dc
[Adaptive][Side Sheet] Added modal side sheet documentation.
...
PiperOrigin-RevId: 494729494
2022-12-12 16:38:00 -05:00
pfthomas
eebd04e11b
[NavSuite] Update documentation
...
PiperOrigin-RevId: 493353336
2022-12-06 15:24:59 -05:00
leticiars
6c85b59a58
[Documentation] Added warning about known issue in slider where label doesn't scroll along with the screen.
...
PiperOrigin-RevId: 492574073
2022-12-02 18:40:27 -05:00
minwang1
7bbbe3925e
[Slider] Added API for setting the radius of active/inactive tick in xml and Java.
...
Resolves https://github.com/material-components/material-components-android/pull/2994
Resolves https://github.com/material-components/material-components-android/issues/1920
GIT_ORIGIN_REV_ID=7bf15fb545496cb8e63f8b6ecf653229b1f203f8
PiperOrigin-RevId: 492557754
2022-12-02 18:36:26 -05:00
pekingme
989d574dbb
[Color] Added tonal surface color theme attributes and updated themes.
...
PiperOrigin-RevId: 492316991
2022-12-02 16:01:22 +00:00
RoneyThomas
ee5240620e
[SearchBar][SearchView] Fixed package path in developer documentation.
...
Resolves https://github.com/material-components/material-components-android/issues/3108
Resolves https://github.com/material-components/material-components-android/pull/3109
GIT_ORIGIN_REV_ID=0ffbcd8845e38f396da6355f43e81815b1eb3a5b
PiperOrigin-RevId: 492313989
2022-12-02 16:00:26 +00:00
conradchen
3dbffd3f22
[Doc] Internal change
...
PiperOrigin-RevId: 491990430
2022-12-01 16:04:38 -05:00
raajkumars
978ffdf0aa
[M3][SearchBar][SearchView] Renamed search style attributes to add "material" prefix.
...
PiperOrigin-RevId: 490260853
2022-11-22 12:36:54 -05:00
raajkumars
d1bacf55db
[M3][SearchBar] Added new SearchBar and SearchView components
...
PiperOrigin-RevId: 490002827
2022-11-21 13:02:32 -05:00
pubiqq
cb1905dbff
[TabLayout] Fix default tabTextAppearance
...
Resolves https://github.com/material-components/material-components-android/pull/3085
GIT_ORIGIN_REV_ID=5c801bb6b6e9df227094106dedc5defa24b99077
PiperOrigin-RevId: 489517504
2022-11-18 16:57:53 -05:00
raajkumars
4d4a2e25ab
[M3][SearchBar][SearchView] Added developer documentation.
...
PiperOrigin-RevId: 487595100
2022-11-18 16:52:31 -05:00
rightnao
d5b41c185f
[ExtendedFloatingActionButton] Add a extendToWrapContent attribute that can disable the current eFAB behavior of extending to wrap content (thus allowing extend to return to its original width before shrinking)
...
Resolves https://github.com/material-components/material-components-android/issues/3006
PiperOrigin-RevId: 487376415
2022-11-10 18:23:28 +00:00
rightnao
e3937483c3
[BottomNavigationView] Remove elevation shadows
...
PiperOrigin-RevId: 483721316
2022-10-28 07:42:47 -07:00
afohrman
4364c4f5fb
[Adaptive][Side Sheet] Add standard side sheet documentation.
...
PiperOrigin-RevId: 482800309
2022-10-21 16:29:12 +00:00
conradchen
00c9ce51dd
[Doc][Switch] Add android dev doc and source link to the Material dev doc
...
PiperOrigin-RevId: 482644772
2022-10-21 16:28:39 +00:00
rightnao
6cf56a5ebe
[BottomSheet] Update elevation to match specs
...
PiperOrigin-RevId: 482255576
2022-10-21 16:25:14 +00:00
conradchen
bdb8253247
[Doc] Update spec link to the new Material3 site
...
PiperOrigin-RevId: 481979753
2022-10-19 09:16:11 -07:00
Nissan Ahmed
ad0d73a247
[Doc] Fix broken column due to extra newline
...
Resolves https://github.com/material-components/material-components-android/pull/3030
GIT_ORIGIN_REV_ID=b5c1320b8dd372841266e56ecb7c59dc0afca257
PiperOrigin-RevId: 481759510
2022-10-17 22:50:28 +00:00
conradchen
f99e39df8c
Automated g4 rollback of changelist 479423629
...
PiperOrigin-RevId: 479636961
2022-10-11 14:01:31 +00:00
rightnao
617e5822f9
[BottomSheet] Update elevation to match specs
...
PiperOrigin-RevId: 479423629
2022-10-11 14:00:59 +00:00
Blue
e8bfad5644
[MaterialButtonToggleGroup] handle setEnable childs
...
Resolves https://github.com/material-components/material-components-android/pull/2974
Resolves https://github.com/material-components/material-components-android/issues/2962
Resolves https://github.com/material-components/material-components-android/issues/1813
GIT_ORIGIN_REV_ID=e8f6b7cb1ca143f0ed1e2ec8d501164568dac2d9
PiperOrigin-RevId: 479403809
2022-10-11 14:00:17 +00:00
rightnao
c587dd1259
[AppBarLayout] Adding new attribute liftOnScrollColor that disables elevation overlay and allows users to change the app bar color
...
PiperOrigin-RevId: 477794812
2022-10-03 16:57:13 +00:00
rightnao
00220d0ad6
[TabLayout] Add selectedTabTextAppearance attribute
...
Resolves https://github.com/material-components/material-components-android/issues/2159
PiperOrigin-RevId: 477238120
2022-09-27 23:56:23 +00:00
rightnao
1322e61c4c
[BottomAppBar] Add attribute to remove shadow on container
...
resolves https://github.com/material-components/material-components-android/issues/2953
PiperOrigin-RevId: 476451267
2022-09-26 22:13:07 +00:00
pekingme
ac6f13c0be
[Theme] Added a theme attribute for outline-variant color.
...
PiperOrigin-RevId: 475881564
2022-09-22 17:40:01 +00:00
pubiqq
bde2092116
[Docs] Update docs to remove links to Kotlin docs and remove Kotlin from dependency
...
Resolves https://github.com/material-components/material-components-android/pull/2947
GIT_ORIGIN_REV_ID=294d1f1963e4bfddd998673f78d67242a5ee3d1c
PiperOrigin-RevId: 471823400
2022-09-02 13:02:17 -07:00
pfthomas
aff6a94539
[MaterialDatePicker] Update doc to include DayViewDecorator.
...
PiperOrigin-RevId: 471583125
2022-09-01 17:21:20 -07:00
leticiars
ae788ac481
[Documentation] Update text field doc to include information about android:textColorHighlight
...
Resolves https://github.com/material-components/material-components-android/issues/2808
PiperOrigin-RevId: 471240135
2022-08-31 15:55:04 -07:00
pubiqq
a52668b724
[Documentation][Shape] Update documentation
...
Resolves https://github.com/material-components/material-components-android/pull/2917
GIT_ORIGIN_REV_ID=b4588de155c5ece6dbe892f558b9868f0ee52da3
PiperOrigin-RevId: 468521881
2022-08-19 10:59:16 -04:00
Material Design Team
2527cc25c8
[Docs] Changing the name for the AGP compatibility variable so that the IDE points to the right documentation.
...
PiperOrigin-RevId: 466720315
2022-08-10 16:32:50 -04:00
leticiars
7d64767af1
[Checkbox][Documentation] Updated checkbox documentation.
...
PiperOrigin-RevId: 466097416
2022-08-09 18:36:33 +00:00
leticiars
8f149b10dc
[Checkbox] Added indeterminate state support to the checkbox.
...
A MaterialCheckBox can now be checked, unchecked, or indeterminate.
Resolves https://github.com/material-components/material-components-android/issues/857
PiperOrigin-RevId: 465598224
2022-08-08 10:58:39 -04:00
rightnao
276a0a3c51
[BottomAppBar] Updating dev docs
...
PiperOrigin-RevId: 465149290
2022-08-04 14:48:24 -04:00
pekingme
f3952f83df
[Slider] Ensured the minimum touch size of handle is 48dp
...
PiperOrigin-RevId: 465125601
2022-08-04 14:47:42 -04:00
hunterstich
32f41ff41a
[TopAppBar] Added documentation for status bar foreground on scrolling app bars.
...
PiperOrigin-RevId: 464788174
2022-08-04 14:29:56 -04:00
pekingme
bc1ec5af8f
[Docs] Update typography guideline to M3.
...
PiperOrigin-RevId: 464149276
2022-08-04 14:23:28 -04:00
conradchen
a6df2545ef
[Switch] Update dev doc with the new switch design
...
PiperOrigin-RevId: 463922188
2022-07-28 17:46:30 -04:00
pfthomas
cbc0711ca3
[MaterialTimePicker][24H Redesign] 2-ring support for 24H clock
...
Resolves https://github.com/material-components/material-components-android/issues/1450
This replaces the current implementation of the 24H clock mode from 1 ring to 2 rings.
The 24H picker now also defaults to text input mode.
PiperOrigin-RevId: 463652374
2022-07-28 17:42:05 -04:00
rightnao
d845db8979
[BottomSheetBehavior] Add attribute for significant velocity threshold
...
resolves https://github.com/material-components/material-components-android/issues/2034
PiperOrigin-RevId: 463458591
2022-07-28 17:38:16 -04:00
rightnao
e284e57d64
[TextInputLayout] Add scale type setters/getters for start and end image buttons in the TextInputLayout
...
Resolves https://github.com/material-components/material-components-android/issues/2080
PiperOrigin-RevId: 463381963
2022-07-28 17:36:31 -04:00
afohrman
48656398cb
[Bottom Sheet] [Docs] Corrected guidance to use modal bottom sheet default style theme attribute for standard bottom sheets and added a callout explaining that there is no default style theme attribute for standard bottom sheets.
...
PiperOrigin-RevId: 462465244
2022-07-22 15:24:37 +00:00
leticiars
8fae47a39e
[Checkbox] Updated checkbox to M3 look.
...
The checkbox is now composed of an `app:buttonCompat` button drawable (the squared
icon) and an `app:buttonIcon` icon drawable (the checkmark icon) layered on top
of it. The animation has also been updated.
PiperOrigin-RevId: 462244130
2022-07-22 15:22:30 +00:00
rightnao
633b3cecfa
[TextInputLayout] Adding set/get methods to control minimum width and height for start/end icons
...
Resolves https://github.com/material-components/material-components-android/issues/2080
PiperOrigin-RevId: 461939723
2022-07-20 21:44:40 +00:00
conradchen
e968929c08
[Switch] Update to AppCompat 1.5.0-beta01 and remove workarounds (also update compileSdkVersion/targetSdkVersion to 32)
...
PiperOrigin-RevId: 460970462
2022-07-14 18:18:56 +00:00
conradchen
ac7b761294
[BottomSheet] Create a drag handle view which support accessibility control
...
PiperOrigin-RevId: 457939228
2022-06-29 14:38:43 +00:00