dniz
d5faac589b
Update Catalog to use Container Transform transition for navigation
...
PiperOrigin-RevId: 307096919
2020-04-20 14:57:28 -04:00
dniz
57a8ebdcdd
Fix Activity container transform unexpected flash and fade
...
PiperOrigin-RevId: 307090565
2020-04-17 15:21:26 -04:00
SatoShun
9813cc5666
[MaterialSharedAxis] fix javadoc
...
Resolves https://github.com/material-components/material-components-android/pull/1210
GIT_ORIGIN_REV_ID=04314d6ef1150fc41e125ea6e49a3636413a7282
PiperOrigin-RevId: 307059021
2020-04-17 15:18:58 -04:00
marianomartin
b5533eae6b
Swallow exception setting convex path in MaterialShapeDrawable for pre releases of Q
...
PiperOrigin-RevId: 306874530
2020-04-17 15:17:21 -04:00
connieshi
4fb2375688
Remove AppCompatButton workaround for FloatingToolbar in API 23-25 now that MaterialButton supports android:background.
...
PiperOrigin-RevId: 306841859
2020-04-17 15:10:15 -04:00
dniz
4f33aaca8a
Fix Catalog favorite demo toggle not showing the correct state after click
...
PiperOrigin-RevId: 306474528
2020-04-14 22:13:39 -04:00
marianomartin
cc88816b82
[ProgressIndicator] initial commit
...
ORIGINAL_AUTHOR=pekingme
PiperOrigin-RevId: 306469609
2020-04-14 22:11:45 -04:00
Material Design Team
e802ecaa36
Add documentation to clarify percent units.
...
Otherwise it's pretty ambiguous, a percent logically is out of 100 but this unit is actually a fraction of the height intended to be in range 0-1.
PiperOrigin-RevId: 306281351
2020-04-14 21:37:46 -04:00
hunterstich
9543ed5ccf
Update library version to 1.2.0-alpha06.
...
PiperOrigin-RevId: 306267109
1.2.0-alpha06
2020-04-13 11:08:13 -07:00
hunterstich
d6501c97bc
[Slider] Fix attach/detach behavior when Slider is added in an overlay as part of a Transition.
...
Resolves https://github.com/material-components/material-components-android/issues/1195
A Visibility transition will add Slider to an overlay and then call onAttachToWindow/onDetachFromWindow which looks for an android.R.id.content view, which doen't exist, getting stuck in a loop. This adds an exit strategy for android.R.id.content not being found and fixes Slider in Visibility transitions.
PiperOrigin-RevId: 305886706
2020-04-13 10:21:36 -07:00
Audrius Karosevicius
df84e91819
Automated g4 rollback of changelist 304625391
...
PiperOrigin-RevId: 305727309
2020-04-13 09:47:05 -07:00
connieshi
d3e76d3a61
Alleviate badge being clipped off by calling setClipChildren(false) and setClipToPadding(false) on a tabview's parent.
...
If a long badge is shown on an end tab with a long string, it could still be clipped off. Current workaround is to adjust the badge offset.
Resolves https://github.com/material-components/material-components-android/issues/1168
PiperOrigin-RevId: 305686535
2020-04-13 09:27:58 -07:00
leticiars
d5fc3fd847
[Documentation] Correcting component name.
...
PiperOrigin-RevId: 305492875
2020-04-13 09:24:47 -07:00
connieshi
b6f19d115c
Add toggle to switch between enabling / disabling textfields.
...
Also added a button to toggle between showing/hiding leading icons in the exposed dropdown menu demo.
PiperOrigin-RevId: 305468134
2020-04-09 06:04:41 -07:00
connieshi
72a710bc9a
Update main chip demo to add disable switch.
...
PiperOrigin-RevId: 305340568
2020-04-09 05:44:21 -07:00
leticiars
2df71d156b
[TextInputLayout] Fixing counter RTL not working for all languages.
...
PiperOrigin-RevId: 305286488
2020-04-09 05:19:45 -07:00
Material Design Team
7a300c134f
Fix MaterialAlertDialog getting dismissed on any MotionEvent.
...
PiperOrigin-RevId: 305275984
2020-04-09 05:14:38 -07:00
nickrout
2a2cd41f88
[Documentation] Updating top app bar doc images.
...
PiperOrigin-RevId: 305205790
2020-04-07 12:18:47 -04:00
hunterstich
a265520e42
[MaterialDatePicker] Update datepicker drawable resources to use material_ prefix.
...
Resolves https://github.com/material-components/material-components-android/issues/1166
PiperOrigin-RevId: 305078908
2020-04-06 13:26:41 -07:00
leticiars
300a46f0a4
[Documentation] Updating Dialogs doc.
...
PiperOrigin-RevId: 305041072
2020-04-06 12:50:41 -07:00
Material Design Team
e6e9a07f4b
Automated g4 rollback of changelist 305014223
...
PiperOrigin-RevId: 305017071
2020-04-06 12:47:42 -07:00
hunterstich
2ac7fb75df
[MaterialDatePicker] Prefix drawables with mtrl_ to avoid client confliects.
...
Resolves https://github.com/material-components/material-components-android/issues/1166
PiperOrigin-RevId: 305014223
2020-04-06 12:34:43 -07:00
Mygod
aa8042f498
[BottomSheet] Make touch_outside unfocusable
...
Resolves https://github.com/material-components/material-components-android/pull/974
GIT_ORIGIN_REV_ID=682a8b7ac7eb4bcdc238e04c14349b7beb4a8185
PiperOrigin-RevId: 304632071
2020-04-06 12:31:53 -07:00
Audrius Karosevicius
b7d46c4ba9
Automated g4 rollback of changelist 304610560
...
PiperOrigin-RevId: 304625391
2020-04-03 10:11:25 -07:00
Audrius Karosevicius
a6c0c4c53a
[MaterialButton] Save state
...
Resolves https://github.com/material-components/material-components-android/pull/1123
GIT_ORIGIN_REV_ID=56600d14c8bab0932f3b3569c94d548d1c1523f2
PiperOrigin-RevId: 304610560
2020-04-03 10:06:26 -07:00
hunterstich
2a2792d4fb
[Motion] Remove context parameter from MaterialContainerTransform.
...
PiperOrigin-RevId: 304389543
2020-04-03 09:57:54 -07:00
Nicklas Ansman Giertz
52cf8d9c8f
[Motion] Fix some code formatting issues in documentation
...
Resolves https://github.com/material-components/material-components-android/pull/1124
GIT_ORIGIN_REV_ID=a0279eaf28037564416aeb063f877af2e90d0a8b
PiperOrigin-RevId: 304388257
2020-04-03 09:34:43 -07:00
marianomartin
4ad50666b2
[MaterialCardView] Checked icon is being squeezed with useCompatPadding
...
Resolves https://github.com/material-components/material-components-android/issues/795
PiperOrigin-RevId: 304272773
2020-04-03 09:22:16 -07:00
hunterstich
8bb87cb10f
Fix FadeThrough catalog demo on API 21 and 22.
...
GridLayout needs to use the app: namespace for column and row attributes for API 21 and 22.
PiperOrigin-RevId: 304206794
2020-04-03 09:18:48 -07:00
Material Design Team
74921bbbce
Update warning suppressions.
...
PiperOrigin-RevId: 304119651
2020-04-03 09:09:53 -07:00
leticiars
a3d356fdb4
[TextInputLayout] Fixing placeholder not respecting edit text's gravity.
...
Resolves: https://github.com/material-components/material-components-android/issues/1139
PiperOrigin-RevId: 304037224
2020-04-03 08:53:49 -07:00
melaniegoetz
4e28d9c916
Adjust BottomSheet peek height based on insets
...
PiperOrigin-RevId: 303819564
2020-04-03 08:44:46 -07:00
leticiars
236ce314e8
[ExposedDropdownMenu] Adding styles to public.xml
...
Resolves https://github.com/material-components/material-components-android/issues/1141
PiperOrigin-RevId: 303740794
2020-03-30 15:57:05 -04:00
isabellekim
309d71860f
Respect android:background attribute for MaterialButton.
...
PiperOrigin-RevId: 303732939
2020-03-30 15:52:26 -04:00
hunterstich
148938ca84
[Motion] Update MaterialFadeThrough and MaterialFade to use MaterialVisibility and remove context param.
...
This updaes the remaining transitions to compose themselves of two animators instead of two visibility transitions. This also removes the context parameter from MaterialFadeThrough, MaterialFade and MaterialSharedAxis' constructors.
PiperOrigin-RevId: 303332658
2020-03-27 11:40:38 -04:00
nickrout
70fcccc0e4
[Documentation] Fixing top app bar doc table issues.
...
PiperOrigin-RevId: 302710308
2020-03-24 15:35:58 -04:00
leticiars
d1b35e2a91
[Documentation] updating metadata path of top app bar
...
PiperOrigin-RevId: 302667024
2020-03-24 11:42:25 -04:00
nickrout
2d47ce8938
[Documentation] Updating top app bar doc.
...
PiperOrigin-RevId: 302530702
2020-03-24 11:39:06 -04:00
leticiars
7879953930
[ExposedDropdownMenu] it should be getInt instead of getResourceId in order to properly read android:inputType
...
PiperOrigin-RevId: 302480767
2020-03-24 11:37:26 -04:00
connieshi
1e06188fd2
Fix typo.
...
Resolves https://github.com/material-components/material-components-android/issues/1127
PiperOrigin-RevId: 302197545
2020-03-24 11:35:56 -04:00
Material Design Team
b9428363d7
Add nullness annotations to input parameters
...
PiperOrigin-RevId: 301697159
2020-03-24 11:31:35 -04:00
hunterstich
5b07d02c8e
Refactor MaterialSharedAxis to be composed of two animators.
...
Resolves https://github.com/material-components/material-components-android/issues/1047#issuecomment-594966218
PiperOrigin-RevId: 301619025
2020-03-18 17:37:50 -04:00
leticiars
6e72652310
[ExposedDropdownMenu] Fixing width being too small when it's wrap_content.
...
Resolves https://github.com/material-components/material-components-android/issues/1001
PiperOrigin-RevId: 301415436
2020-03-18 17:34:28 -04:00
leticiars
c4576a416c
Adding README.md to catalog.
...
PiperOrigin-RevId: 301228798
2020-03-16 16:46:24 -04:00
marianomartin
368b54c0ee
Fix setItemRippleColor links
...
PiperOrigin-RevId: 300799013
2020-03-13 16:01:11 -07:00
connieshi
54327efd4e
Delete link to Material Plugin for Sketch which has been deprecated.
...
PiperOrigin-RevId: 300785744
2020-03-13 13:55:40 -04:00
leticiars
a3d97eeb1c
[Documentation] Fixing metadata path of Picker.md
...
PiperOrigin-RevId: 300782133
2020-03-13 13:38:37 -04:00
isabellekim
b70cc90388
Fix javadoc errors in ExpandableBehavior.
...
PiperOrigin-RevId: 300777345
2020-03-13 13:36:21 -04:00
leticiars
2a89fc4307
Adding yaml file to catalog folder so that it can be added as a sample in Android Studio.
...
PiperOrigin-RevId: 300625750
2020-03-13 11:14:44 -04:00
hunterstich
dce680b91a
Fix BottomSheet java doc lint errors
...
PiperOrigin-RevId: 300605854
2020-03-13 11:13:06 -04:00