3695 Commits

Author SHA1 Message Date
haodong
2a6715f464 [ProgressIndicator] Added other predefined styles in document.
PiperOrigin-RevId: 347914734
2020-12-17 11:26:31 -05:00
dniz
4af9eabe8a [TimePicker] Renamed ThemeOverlay.MaterialComponents.MaterialTimePicker to ThemeOverlay.MaterialComponents.TimePicker to be more consistent with other time picker styles
PiperOrigin-RevId: 347692913
2020-12-15 17:49:51 -05:00
nickrout
00dc4c6b5a [Documentation] Updated Navigation Drawer doc.
PiperOrigin-RevId: 347660119
2020-12-15 15:06:07 -05:00
haodong
9ccad21510 [ProgressIndicator] Fixed incorrect visibility when used in the recycler view.
Resolves https://github.com/material-components/material-components-android/issues/1902
Resolves https://github.com/material-components/material-components-android/issues/1914

PiperOrigin-RevId: 347417506
2020-12-14 15:12:08 -05:00
marianomartin
cbef0d3c1b [TimePicker] Change text input view to a view stub
PiperOrigin-RevId: 347387465
2020-12-14 15:10:26 -05:00
cketcham
c574e9ea23 [BottomSheet] Add flag to opt in to edge to edge behavior rather than only relying on the navigationBarColor
PiperOrigin-RevId: 347387288
2020-12-14 15:08:19 -05:00
nickrout
2eacbfd848 [Documentation] Updated FloatingActionButton alt-text for A11Y refresh.
PiperOrigin-RevId: 347379844
2020-12-14 15:07:21 -05:00
nickrout
90e3a66962 [Documentation] Updated Tabs alt-text for A11Y refresh.
PiperOrigin-RevId: 347372557
2020-12-14 15:05:03 -05:00
cketcham
b1812b9a6b Internal Change
PiperOrigin-RevId: 347042445
2020-12-11 14:47:53 -05:00
cketcham
3037cf046c Automated g4 rollback of changelist 343006492
PiperOrigin-RevId: 347038837
2020-12-11 14:45:45 -05:00
Material Design Team
a36304ad51 Explicitly annotate tests for LEGACY LooperMode.
PiperOrigin-RevId: 346869695
2020-12-11 14:44:32 -05:00
nickrout
da4642ae8d [Documentation] Updated BottomAppBar alt-text for A11Y refresh.
PiperOrigin-RevId: 346780084
2020-12-10 10:39:56 -05:00
leticiars
40e33a772c [TextInputLayout][a11y] Fixed placeholder text not being properly announced.
PiperOrigin-RevId: 346578367
2020-12-09 15:00:22 -05:00
nickrout
e95aa2ba05 [Documentation] Prepared component docs for material.io update.
PiperOrigin-RevId: 345682770
2020-12-04 13:16:31 -05:00
Amr
dd0e697aca [TextInputLayout] Fix IndexOutOfBoundsException when trying to change end icon
Resolves https://github.com/material-components/material-components-android/pull/1788
Resolves https://github.com/material-components/material-components-android/issues/1724
Resolves https://github.com/material-components/material-components-android/issues/1748

PiperOrigin-RevId: 345541684
2020-12-04 09:47:38 -05:00
haodong
c6deb06397 [Documentation] Updated ProgressIndicator doc.
PiperOrigin-RevId: 345483853
2020-12-03 15:24:13 -05:00
haodong
e5375fcb69 [ProgressIndicator] Renamed indeterminateAnimationType enums "seamless" and "spacing".
PiperOrigin-RevId: 345467359
2020-12-03 14:46:51 -05:00
Valentin Slawicek
ebd3223147 [Snackbar] Fixes remaining NPEs from #917
Resolves https://github.com/material-components/material-components-android/pull/1887

GIT_ORIGIN_REV_ID=331d064eb02cb4ff1a2b84f274b8d2c98848e9d4
PiperOrigin-RevId: 345283901
2020-12-03 14:45:59 -05:00
dniz
036cff7c33 [CollapsingToolbarLayout] Updated CollapsingToolbarLayout to support framework android.widget.Toolbar (<Toolbar)
PiperOrigin-RevId: 345236307
2020-12-02 15:04:30 -05:00
marianomartin
074ed18255 [TimePicker] Remove hint setting
PiperOrigin-RevId: 345071902
2020-12-02 10:07:59 -05:00
marianomartin
9f791574ec [TimePicker] Use MaterialColors to correctly read CSLs with theme attributes
PiperOrigin-RevId: 345068246
2020-12-02 10:00:18 -05:00
raajkumars
aca5bfb6f7 [Bottom Navigation] Extracted common logic from bottom navigation component into navigation package.
PiperOrigin-RevId: 345029590
2020-12-02 09:55:26 -05:00
Carsten Hagemann
1f76fcc70f [Slider] Improve listener documentation, fix #1900
Resolves https://github.com/material-components/material-components-android/issues/1900
Resolves https://github.com/material-components/material-components-android/pull/1901

GIT_ORIGIN_REV_ID=70b2b0a1f2bc5798165913cb7dd2e015ff55abdf
PiperOrigin-RevId: 345003325
2020-12-01 09:30:36 -05:00
haodong
80b5cf61b3 [ProgressIndicator] Removed unnecessary style attributes from catalog.
PiperOrigin-RevId: 344914335
2020-12-01 09:29:20 -05:00
dniz
7e578e4b13 [Motion] Changed motionPath theme attr format to enum|string
PiperOrigin-RevId: 344865393
2020-12-01 09:28:06 -05:00
leticiars
6213498cde [Documentation] Updated Menu assets images.
Also updated instances of 'gray' to 'grey' to match material.io

PiperOrigin-RevId: 344857374
2020-12-01 09:26:38 -05:00
dniz
a8c4823797 [Docs] Updated dark theme doc Maven repo link
PiperOrigin-RevId: 344826827
2020-11-30 13:44:55 -05:00
connieshi
c15db83873 [Chip] Fix typo.
PiperOrigin-RevId: 344823557
2020-11-30 13:44:06 -05:00
connieshi
725d78deb5 [i18n] Added or updated string translations for i18n / l10n
PiperOrigin-RevId: 344821092
2020-11-30 13:42:11 -05:00
Sasikanth Miriyampalli
890b727dcb [MaterialTimePicker] Make default theme overlay public
Resolves https://github.com/material-components/material-components-android/pull/1892

GIT_ORIGIN_REV_ID=da647ca589d4da3f2cebcfaef422ff7504296f09
PiperOrigin-RevId: 344275691
2020-11-29 11:12:58 -05:00
isabellekim
738cccb433 [Chip] Update javadocs @see methods to match the actual methods.
PiperOrigin-RevId: 344160354
2020-11-25 10:28:33 -05:00
haodong
4ab8cb1d4c [ProgressIndicator] Added sized styles for circular type.
PiperOrigin-RevId: 344141496
2020-11-25 10:26:48 -05:00
dniz
5154eeae32 [Motion] Applied easing, duration, and path theme attributes to MaterialContainerTransform
Also removed custom dagger container transform config from Catalog so that these motion theme changes are observable

PiperOrigin-RevId: 344118337
2020-11-25 10:25:26 -05:00
Mattia Pagini
2b95793ea6 [BaseTransientBottomBar] Check for nullable AccessibilityService
Resolves https://github.com/material-components/material-components-android/issues/1885
Resolves https://github.com/material-components/material-components-android/pull/1888

GIT_ORIGIN_REV_ID=35572a920b4bdd66e416d428c55416df7c498db6
PiperOrigin-RevId: 343873267
2020-11-23 14:41:28 -05:00
isabellekim
a8156be40b [Catalog] Make demo links use minHeight instead of specifying height so they won't be truncated at large font sizes.
PiperOrigin-RevId: 343854737
2020-11-23 13:21:44 -05:00
nickrout
72052f3ec9 [Documentation] Mentioned supported states for MaterialCheckBox.
PiperOrigin-RevId: 343848227
2020-11-23 13:20:13 -05:00
haodong
379519765a [ProgressIndicator] Corrected comments for javadoc.
PiperOrigin-RevId: 343570043
2020-11-23 09:07:44 -05:00
haodong
968fb195dc [ProgressIndicator] Updated track thickness used in standalone demo as 2.5 dp.
PiperOrigin-RevId: 343532292
2020-11-20 15:07:33 -05:00
dniz
186d5ed023 [Motion] Added easing, duration, and path theme attributes, as well as utilities to read them
PiperOrigin-RevId: 343380483
2020-11-20 15:00:13 -05:00
Material Design Team
de5836d530 Import Beam Java SDK at 21fbd918882310df7788d81fa9314ba1d7853b11.
Manual Changes:
- Updates //third_party/gradle to 6.7
- Imports dependencies needed for gradle 6.7

Previously skipped commits now included:
go/beam-commit/37f7eac9e1 Bump Gradle to 6.7 (#13148)

PiperOrigin-RevId: 343325277
2020-11-20 12:32:59 -05:00
haodong
9d7ae04e0e [ProgressIndicator] Renamed some attributes.
PiperOrigin-RevId: 343299956
2020-11-19 12:33:42 -05:00
haodong
5ff62d3098 [ProgressIndicator] Hided AnimatorDurationScaleProvider from API.
PiperOrigin-RevId: 343124032
2020-11-18 16:11:21 -05:00
leticiars
6f99bc1797 [Documentation] Updated Menus doc.
PiperOrigin-RevId: 343101409
2020-11-18 15:38:15 -05:00
cketcham
b163458a3a [BottomSheet] Updates the way BottomSheet handles insets
This updates ThemeOverlay styles to prevent drawing a transparent nav bar and updates BottomSheetBehavior and BottomSheetDialog to handle insets correctly so content isn't drawn behind the status bar or navigation bar.

Resolves https://github.com/material-components/material-components-android/issues/1222
Resolves https://github.com/material-components/material-components-android/issues/267

PiperOrigin-RevId: 343006492
2020-11-18 10:40:16 -05:00
afohrman
151be9bb11 [Motion] Added basic music player and container transform to hero music player demo app.
Added a music player to the hero music player demo app, and a container transition from the FAB to the music player. The music player has a progress indicator and rewind, play, fast forward and volume controls; at this point, they all do nothing.

The transition uses a View to View container transform transition to transition from the FAB to the music player.

As of now, the transition does not touch the album view - it just jumps to underneath the music player for now.

PiperOrigin-RevId: 342915096
2020-11-17 15:54:49 -05:00
Drew Hamilton
c4f7de167f [ShapeableImageView] Support contentPadding
Resolves https://github.com/material-components/material-components-android/pull/1871

GIT_ORIGIN_REV_ID=42b91686512ed77d38f5a70a26cc52157ff4184b
Co-authored-by: ymarian <38727469+ymarian@users.noreply.github.com>
PiperOrigin-RevId: 342906676
2020-11-17 15:52:38 -05:00
haodong
a99966a162 [ProgressIndicator] Made BaseProgressIndicator and BaseProgressIndicatorSpec abstract.
PiperOrigin-RevId: 342737029
2020-11-17 15:50:41 -05:00
haodong
be6ed3da48 [ProgressIndicator] Updated class visibility.
PiperOrigin-RevId: 342664697
2020-11-16 16:40:34 -05:00
connieshi
fd3639092e [Tabs] Show tooltip with tab text or content description (if tab is icon only) when long press.
PiperOrigin-RevId: 342411547
2020-11-14 10:16:08 -05:00
isabellekim
a12519d009 [Documentation] Fix at typo.
PiperOrigin-RevId: 342333454
2020-11-14 10:14:57 -05:00