1687 Commits

Author SHA1 Message Date
ldjesper
140e23ab68 Remove per day draw style loads in favor of single load per calendar
PiperOrigin-RevId: 251239002
2019-06-10 08:25:06 -07:00
dniz
63c5a54798 Update CheckableImageButton to save instance state
PiperOrigin-RevId: 250929386
2019-06-10 08:23:54 -07:00
leticiars
16a6e72ecc Fixing passwordToggleEnabled="false" not working as expected.
Note: it's advised to use endIconMode instead of passwordToggleEnabled.
PiperOrigin-RevId: 250892878
2019-06-10 08:22:56 -07:00
leticiars
4bbf385a21 Removing overlapAnchor from base Menu styles.
PiperOrigin-RevId: 250714843
2019-05-30 14:03:29 -07:00
gauthams
9e9db60265 Allow selecting start date = end date in date range picker
PiperOrigin-RevId: 250596249
2019-05-30 14:01:22 -07:00
cketcham
cb71e2d582 Update BottomAppBar hideOnScroll offset to account for the shadow drawn at the top of the view.
PiperOrigin-RevId: 250562675
2019-05-30 13:59:24 -07:00
ldjesper
cbdd8f6097 Remove separate range and single date picker styles
PiperOrigin-RevId: 250561429
2019-05-30 13:58:12 -07:00
ldjesper
bc36b699cc Fix MaterialAlertDialogBuilder to resepct setCanceledOnTouchOutside by removing onBackPress call in favor of click with fixed outside location
PiperOrigin-RevId: 250555478
2019-05-29 17:03:26 -04:00
cketcham
a9f95ecbc7 Update BottomAppBar to react to layout changes in FAB
PiperOrigin-RevId: 250527847
2019-05-29 17:01:32 -04:00
dniz
daa3a04069 DayNight Bridge Themes
Also add some non-Base dialog themes that were missing

PiperOrigin-RevId: 250520918
2019-05-29 16:30:39 -04:00
cketcham
188cf279d1 Allow for setting a custom size after the FAB has been laid out already
PiperOrigin-RevId: 250520682
2019-05-29 16:29:43 -04:00
cketcham
6e250a6a0d Add colorSecondary to bridge themes
PiperOrigin-RevId: 250495874
2019-05-29 16:28:16 -04:00
connieshi
b247e00d8a Add Talkback support for badge + TabLayout.
PiperOrigin-RevId: 250397444
2019-05-29 16:27:19 -04:00
connieshi
5fdfd9d107 Begin integrating BadgeDrawable into TabLayout.
PiperOrigin-RevId: 250348653
2019-05-29 16:25:24 -04:00
ldjesper
3e0a88de22 Create range highlight Grid for MaterialCalendar
PiperOrigin-RevId: 250312954
2019-05-29 16:24:30 -04:00
leticiars
23aed1798c Updating Menus catalog demo.
PiperOrigin-RevId: 250284784
2019-05-29 16:23:21 -04:00
connieshi
a9f135b882 Only set clipPadding and clipChildren to false when BottomNavigationItemView is going to display a badge.
PiperOrigin-RevId: 249981675
2019-05-29 15:49:15 -04:00
connieshi
c7d21aec95 Convenience wrapper method for Drawable#setVisible(boolean, boolean) with the second parameter hardcoded to false.
PiperOrigin-RevId: 249981625
2019-05-29 15:43:19 -04:00
connieshi
ddc56c800d Add convenience method to check if VERSION.SDK_INT < VERSION_CODES.JELLY_BEAN_MR2 in BadgeUtils.
PiperOrigin-RevId: 249855393
2019-05-24 14:28:16 -04:00
cketcham
f259def8b6 Force the path to be calculated for a copied MaterialShapeDrawable
PiperOrigin-RevId: 249833111
2019-05-24 14:27:23 -04:00
leticiars
b8f9f5e91a Setting android:contextPopupMenuStyle in dialog themes.
PiperOrigin-RevId: 249679678
2019-05-24 14:26:11 -04:00
marianomartin
da2f538724 Internal cleanup
PiperOrigin-RevId: 249674939
2019-05-24 14:25:13 -04:00
marianomartin
007e1b6b05 Internal cleanup
PiperOrigin-RevId: 249666005
2019-05-24 14:24:02 -04:00
marianomartin
455ba2557b Internal cleanup
PiperOrigin-RevId: 249490219
2019-05-24 14:22:06 -04:00
Jan Skrasek
084177e1ba Remove rounded bottom corners of bottomsheets
Resolves https://github.com/material-components/material-components-android/pull/348

GIT_ORIGIN_REV_ID=3af172c871c111e109cc2c7413bec04d28f385c5
PiperOrigin-RevId: 249482184
2019-05-24 14:20:39 -04:00
marianomartin
4112edaa96 Internal cleanup
PiperOrigin-RevId: 249479167
2019-05-24 14:19:48 -04:00
leticiars
0c0951ce6d Fixing requestLayout() being incorrectly called multiple times.
The end icon dummy drawable should only be set if it's not yet set.

PiperOrigin-RevId: 249462027
2019-05-24 14:18:31 -04:00
ldjesper
297f0d8913 Day Selection Styles for MaterialCalendar
PiperOrigin-RevId: 249456817
2019-05-24 14:17:18 -04:00
connieshi
ebaccf5a85 Add support for badgeStyle, a theme level style attribute for customizing the appearance of badges.
PiperOrigin-RevId: 249338990
2019-05-24 14:16:22 -04:00
dniz
53abdffe40 Fix non-base dialog bridge themes
PiperOrigin-RevId: 249255677
2019-05-24 14:12:18 -04:00
leticiars
0f7eaaa94f Adding styling for ListPopupWindow along with dark theme support.
PiperOrigin-RevId: 249244399
2019-05-24 14:10:53 -04:00
marianomartin
90837ec485 Internal cleanup
PiperOrigin-RevId: 249243403
2019-05-21 12:15:07 -04:00
gauthams
dbbf2c6eec Add additional info to Javadoc for MaterialButton's setShapeAppearanceModel method
PiperOrigin-RevId: 249091100
2019-05-21 12:12:52 -04:00
dniz
c32a7b5548 Fix typo in Base.Theme.MaterialComponents.Dialog.MinWidth.Bridge theme name
PiperOrigin-RevId: 249079599
2019-05-21 12:11:23 -04:00
Material Design Team
3c5f9f6cb0 Migrate CoordinatorLayout android support libraries to androidx
PiperOrigin-RevId: 248819271
2019-05-21 12:03:28 -04:00
cketcham
eeaf69da81 Remove ShadowDrawableWrapper as we now use MaterialShapeDrawable to handle shadows
PiperOrigin-RevId: 248769968
2019-05-21 11:12:29 -04:00
connieshi
aa44979c94 Automated g4 rollback of changelist 248597424
PiperOrigin-RevId: 248735545
2019-05-21 10:30:02 -04:00
Material Design Team
2130d86550 Automated g4 rollback of changelist 248530748
PiperOrigin-RevId: 248597424
2019-05-17 16:27:01 -04:00
melaniegoetz
7c76b7db93 Add javadoc for disableShapeAnimations() BottomSheetBehavior method
PiperOrigin-RevId: 248571879
2019-05-16 17:30:34 -04:00
Nick Rout
d7e994afbf [Snackbar] Add support for changing text & background tint color at runtime
Resolves https://github.com/material-components/material-components-android/pull/360

GIT_ORIGIN_REV_ID=ced4885fd03d6117d5ee460253184d1605895e55
PiperOrigin-RevId: 248537604
2019-05-16 17:29:41 -04:00
connieshi
7cb8af269e Add chip close icon ripple for Android L+.
PiperOrigin-RevId: 248530748
2019-05-16 17:28:39 -04:00
ldjesper
93b9859e94 Remove separate selector package
PiperOrigin-RevId: 248530096
2019-05-16 17:26:59 -04:00
Antonin Fouques (CmoaToto)
ccb7fbe8b3 Simplify Meizu fix by forcing creation of a hintLayout
GIT_ORIGIN_REV_ID=5545bb3920a651e8a2e1f1a0586fbecdad7c55bb

Resolves https://github.com/material-components/material-components-android/pull/358

PiperOrigin-RevId: 248391866
2019-05-16 17:25:11 -04:00
gauthams
5ddd08b7e3 Fix equals method in MotionSpec to use instanceof rather than getClass
PiperOrigin-RevId: 248375904
2019-05-16 17:24:13 -04:00
gauthams
6c148904c6 Add missing Javadoc for on*AnimationListener methods in ExtendedFloatingActionButton
PiperOrigin-RevId: 248373312
2019-05-16 17:22:22 -04:00
gauthams
43675ab3a0 Add missing Javadocs in MotionSpec
PiperOrigin-RevId: 248371284
2019-05-16 17:20:59 -04:00
ldjesper
04b68711eb Modify Header Color and Text Appearance of Material Calendar
PiperOrigin-RevId: 248347749
2019-05-16 17:19:26 -04:00
connieshi
5e78ba1440 Fix bug in controllable tabs demo that didn't show icon or label if they were switched from off to on and gravity was set to center.
PiperOrigin-RevId: 248330945
2019-05-16 17:18:15 -04:00
leticiars
837febea61 Adding the EditText as a parameter for onEditTextAttached().
PiperOrigin-RevId: 248218371
2019-05-16 17:17:14 -04:00
dniz
af88a51730 [Picker] @RestrictTo and @hide CalendarBounds
PiperOrigin-RevId: 248197418
2019-05-16 17:15:55 -04:00