398 Commits

Author SHA1 Message Date
haodong
d57d05425b [ProgressIndicator] Renamed some attributes.
PiperOrigin-RevId: 343299956
(cherry picked from commit 9d7ae04e0e2fa6b0f6a077e41aa20b0faab21364)
2020-11-24 10:49:51 -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
Gabriele Mariotti
df0401bd29 [MaterialCardView] Added options to set custom checkedIcon size and margin
Resolves https://github.com/material-components/material-components-android/pull/1613

GIT_ORIGIN_REV_ID=ace8cb8b2e55806760e4d28214bd72afb46a6592
PiperOrigin-RevId: 330932167
2020-09-10 11:14:31 -04:00
haodong
d615d2ac37 [SwitchMaterial] Added processing status.
PiperOrigin-RevId: 328982034
2020-08-28 18:05:07 -04:00
dniz
474f912c22 [Motion] Update doc with guidance about "Container transform: fade through variant"
Suggestion from https://github.com/material-components/material-components-android/issues/1307#issuecomment-679327386

PiperOrigin-RevId: 328946547
2020-08-28 18:02:46 -04:00
dniz
77c71f389e [Motion] Added resource links to documentation
PiperOrigin-RevId: 328788844
2020-08-28 10:11:15 -04:00
Gabriele Mariotti
487e321497 [Slider] Added options to set thumbStrokeColor and thumbStrokeWidth
Resolves https://github.com/material-components/material-components-android/pull/1653
Resolves https://github.com/material-components/material-components-android/issues/1652

GIT_ORIGIN_REV_ID=ba5cab25a210a34e9d6396101ad045c8cfc8cb92
PiperOrigin-RevId: 328542122
2020-08-26 17:40:22 -04:00
leticiars
d09b416370 [Documentation] Renamed timepicker to TimePicker
PiperOrigin-RevId: 328334332
2020-08-26 09:46:50 -04:00
hunterstich
35b914e438 [Motion] Swapped shared axis code snippet order for better readability
PiperOrigin-RevId: 328145615
2020-08-24 18:03:05 -04:00
Gabriele Mariotti
d88ff770be [Doc] Updated FloatingActionButton doc
Resolves https://github.com/material-components/material-components-android/pull/1619

GIT_ORIGIN_REV_ID=a04d0e15497d545483d75cad986ecf1dc71f632b
PiperOrigin-RevId: 327242012
2020-08-18 16:32:01 -04:00
dniz
f00cd57f13 [Motion] Formatted AndroidX vs Platform transitions info in Motion.md doc
PiperOrigin-RevId: 326497065
2020-08-13 16:54:52 -04:00
marianomartin
255a23f467 [Docs] Changed path for timepicker.md
PiperOrigin-RevId: 326438581
2020-08-13 13:21:13 -04:00
marianomartin
c11ef51890 [TimePicker] Added docs
PiperOrigin-RevId: 326435948
2020-08-13 09:48:17 -04:00
dniz
245d5137f0 Internal change
PiperOrigin-RevId: 325844588
2020-08-10 14:31:54 -04:00
Shohei Kawano
4d35ec65e1 [Menu] Remove unnecessary backticks from Menu.md
Resolves https://github.com/material-components/material-components-android/pull/1599

GIT_ORIGIN_REV_ID=68755a9c3d75375aa83d0dc34f83bdb65a2ac8e0
PiperOrigin-RevId: 325840223
2020-08-10 14:29:28 -04:00
Gabriele Mariotti
d24c6d8a3e [Doc] Slider - added tickVisible
Resolves https://github.com/material-components/material-components-android/pull/1582

GIT_ORIGIN_REV_ID=cdaed54bd8cccea91fe4575968376a727328a184
PiperOrigin-RevId: 325456901
2020-08-07 15:28:04 -04:00
haodong
77582b5e21 [ProgressIndicator] Renamed indicatorWidth with indicatorSize to eliminate the confusion of indicatorWidth controlling view height in LINEAR types.
Resolves https://github.com/material-components/material-components-android/issues/1491

PiperOrigin-RevId: 325045868
2020-08-05 16:25:19 -04:00
dniz
eb1c8a6d01 [Motion] Updated library version in doc to 1.2.0 stable
PiperOrigin-RevId: 324986786
2020-08-05 10:58:09 -04:00
Material Design Team
f6700fb2ac [Documentation] Fix typos.
PiperOrigin-RevId: 324261236
2020-07-31 15:43:50 -04:00