415 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
nickrout
00dc4c6b5a [Documentation] Updated Navigation Drawer doc.
PiperOrigin-RevId: 347660119
2020-12-15 15:06:07 -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
nickrout
da4642ae8d [Documentation] Updated BottomAppBar alt-text for A11Y refresh.
PiperOrigin-RevId: 346780084
2020-12-10 10:39:56 -05:00
nickrout
e95aa2ba05 [Documentation] Prepared component docs for material.io update.
PiperOrigin-RevId: 345682770
2020-12-04 13:16:31 -05:00
haodong
c6deb06397 [Documentation] Updated ProgressIndicator doc.
PiperOrigin-RevId: 345483853
2020-12-03 15:24:13 -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
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
nickrout
72052f3ec9 [Documentation] Mentioned supported states for MaterialCheckBox.
PiperOrigin-RevId: 343848227
2020-11-23 13:20:13 -05:00
haodong
9d7ae04e0e [ProgressIndicator] Renamed some attributes.
PiperOrigin-RevId: 343299956
2020-11-19 12:33:42 -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
isabellekim
a12519d009 [Documentation] Fix at typo.
PiperOrigin-RevId: 342333454
2020-11-14 10:14:57 -05:00
haodong
e1d979631d [ProgressIndicator] Combined attributes show/hideBehaviorLinear and show/hideBehaviorCircular.
PiperOrigin-RevId: 342086777
2020-11-14 10:07:06 -05:00
haodong
b1ef02a16b [ProgressIndicator] Cleaned up deprecated class and resources.
PiperOrigin-RevId: 342076767
2020-11-12 13:53:23 -05:00
haodong
c76665bc11 [ProgressIndicator] Deprecated LINEAR type in ProgressIndicator and ProgressIndicator.
PiperOrigin-RevId: 342069665
2020-11-12 13:49:35 -05:00
leticiars
f664c111c0 [Documentation] Updated bottomnav a11y alt text.
PiperOrigin-RevId: 341834204
2020-11-12 10:32:30 -05:00
leticiars
4ab20d7f7f [Documentation] Updated a11y alt-text for dialog and topappbar
PiperOrigin-RevId: 341404118
2020-11-09 12:02:00 -05:00
Joshua Kovach
dc1a7fb7c1 [Snapshots] Add note about required scope for accessing snapshot repo
Resolves https://github.com/material-components/material-components-android/pull/1809

GIT_ORIGIN_REV_ID=8be49f3880de2691d85faabcde809e878f83b498
PiperOrigin-RevId: 340224359
2020-11-03 11:10:25 -05:00
nickrout
191a48bd8a [Documentation] Updating Card doc with new a11y alt-text.
PiperOrigin-RevId: 339664183
2020-10-29 15:18:43 -04:00
Haruki Hasegawa
0d26a3502a [Document] Remove outdated notes about android-maven-gradle-plugin
Resolves https://github.com/material-components/material-components-android/pull/1822

GIT_ORIGIN_REV_ID=15dbe27b5ff3b5b6e3412c7c371100c19defea6d
PiperOrigin-RevId: 339478116
2020-10-29 15:17:19 -04:00
haodong
b6643204a6 [ProgressIndicator] Added LinearProgressIndicator and LinearProgressIndicatorSpec.
PiperOrigin-RevId: 338738646
2020-10-27 04:35:45 -07:00
dniz
7d77162e02 [Motion] Updated doc to include ActivityOptions Bundle in Activity transition examples
PiperOrigin-RevId: 338353182
2020-10-21 15:57:10 -07:00
haodong
a7f1430f62 [ProgressIndicator] Deprecated CIRCULAR type in ProgressIndicator.
PiperOrigin-RevId: 337590517
2020-10-19 05:57:40 -07:00
hunterstich
0afcb48f14 [TabLayout] Automated g4 rollback of changelist 337128442.
*** Reason for rollback ***

[TabLayout] Roll forward with dot indicator fix

*** Original change description ***

Automated g4 rollback of changelist 337092676

PiperOrigin-RevId: 337484043
2020-10-16 05:54:50 -07:00
leticiars
8c6a164113 [Documentation] Fixing docs titles to be H1
PiperOrigin-RevId: 337308305
2020-10-15 13:39:33 -07:00
hunterstich
91589f4c24 Automated g4 rollback of changelist 337092676
PiperOrigin-RevId: 337128442
2020-10-15 13:28:59 -07:00
hunterstich
f0a80c4e41 [TabLayout] Automated g4 rollback of changelist 336764852.
*** Reason for rollback ***

Roll forward with fix

*** Original change description ***

Automated g4 rollback of changelist 336704515

PiperOrigin-RevId: 337092676
2020-10-15 13:25:34 -07:00
connieshi
9487c33b8a Automated g4 rollback of changelist 336347365
PiperOrigin-RevId: 336978123
2020-10-15 13:23:56 -07:00
connieshi
6951bd5179 [Chip] Support elevation overlay.
Resolves https://github.com/material-components/material-components-android/issues/1749

PiperOrigin-RevId: 336930100
2020-10-15 13:21:17 -07:00
Steffan Davies
f698b87e9d [Documentation] Fix anchor links in Getting Started guide
Resolves https://github.com/material-components/material-components-android/pull/1794

GIT_ORIGIN_REV_ID=44ee6a2db66b3a0b113fffe248e1ba12742acfa2
PiperOrigin-RevId: 336877400
2020-10-15 13:18:15 -07:00
dniz
f46880106c [Docs] Changed Widget.MyApp.MyButton to Widget.MyApp.Button in color doc
PiperOrigin-RevId: 336876427
2020-10-15 13:17:14 -07:00
hunterstich
f743057941 Automated g4 rollback of changelist 336704515
PiperOrigin-RevId: 336764852
2020-10-15 13:16:16 -07:00
hunterstich
f8f3d9086e [TabLayout] Added initial indicator interpolation extensibility.
Added a linear and elastic interpolator to handle specing the indicator at any point between two tabs.

PiperOrigin-RevId: 336704515
2020-10-15 13:14:22 -07:00
Material Design Team
0f717f8cce Automated g4 rollback of changelist 336306885
PiperOrigin-RevId: 336347365
2020-10-15 13:01:02 -07:00
haodong
1c135f040c [ProgressIndicator] Added new attributes and styles for LinearProgressIndicator and CircularProgressIndicator.
PiperOrigin-RevId: 336308622
2020-10-15 12:32:41 -07:00
connieshi
5e35d14c18 [Badge] Update badge to support being anchored to any view in pre 18.
In <API18, BadgeDrawable will dynamically 1) wrap the anchor in a FrameLayout and 2) replace the anchor with the FrameLayout in the anchor' view hierarchy. BadgeDrawable will set itself as foreground on the FrameLayout.

If the user does not want BadgeDrawable to manipulate its view hierarchy, the user can pass in an instance of FrameLayout `customBadgeParent` in #attachBadgeDrawable instead.

Labeled BadgeUtils as experimental and removed the RestrictedTo(Scope.Library) annotation.

Updated TopAppBar main demo to show a badge on a toolbar menu item.

PiperOrigin-RevId: 336306885
2020-10-15 12:31:14 -07:00
dniz
e5bed8653c [MaterialToolbar] Renamed navigationIconColor attribute to navigationIconTint
PiperOrigin-RevId: 336079531
2020-10-08 16:35:04 +00:00
isabellekim
d7456a0aba [Documentation] Update documentation for color (re-ordering sections to move "Theming an Individual Component" is immediately followed by "Theming All Instances of One Component")
PiperOrigin-RevId: 335725921
2020-10-08 16:03:23 +00:00
haodong
bd731f486a [ExtendedFloatingActionButton] Added support to configure different size when collapsed.
PiperOrigin-RevId: 334209576
2020-09-29 09:17:35 -07:00
dniz
a6d788f28e [CollapsingToolbarLayout] Added collapsingToolbarLayoutStyle default theme attribute
PiperOrigin-RevId: 333515330
2020-09-24 09:02:13 -07:00
leticiars
fe470c0e08 [Documentation] Updated switch doc name file.
PiperOrigin-RevId: 333108043
2020-09-23 07:58:26 -07:00
dniz
d5eeea6247 [MaterialToolbar] Added navigationIconColor attribute
PiperOrigin-RevId: 332019070
2020-09-16 11:45:41 -07:00
leticiars
22973ff103 [TextFields] Added expandedHintEnabled attribute (true by default). If set to false it allows for the hint to always be in its collapsed state.
If false it also allows for the placeholder text and prefix/suffix to be displayed when the text field is empty.

Resolves https://github.com/material-components/material-components-android/issues/1459
Resolves https://github.com/material-components/material-components-android/issues/1644
Resolves https://github.com/material-components/material-components-android/pull/1645
Resolves https://github.com/material-components/material-components-android/pull/1163

PiperOrigin-RevId: 331181181
2020-09-11 14:52:40 -04:00