2181 Commits

Author SHA1 Message Date
leticiars
cc63b8672f Updating Menus catalog demo
PiperOrigin-RevId: 249279193
2019-05-24 14:13:51 -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
raajkumars
bc68846ab3 Fixed Chips Demo: Single Selection does not prevent more than one chip from being selected.
PiperOrigin-RevId: 249123168
2019-05-21 12:13:39 -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
dniz
31c502b741 Show snackbar on menu item click in top app bar demos
Resolves https://github.com/material-components/material-components-android/issues/370

PiperOrigin-RevId: 249052831
2019-05-21 12:08:27 -04:00
Material Design Team
3c5f9f6cb0 Migrate CoordinatorLayout android support libraries to androidx
PiperOrigin-RevId: 248819271
2019-05-21 12:03:28 -04:00
dniz
6c37b1a0fc Update Catalog theme switcher dialog to use colorControlHighlight for divider color instead of @color/mtrl_on_surface_disabled
PiperOrigin-RevId: 248783786
2019-05-21 11:15:16 -04:00
dniz
c4aee463ed Remove appbar_scrolling_view_behavior override from Shrine
PiperOrigin-RevId: 248772186
2019-05-21 11:13:55 -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
leticiars
5f8f60457a Changing how password toggle end icon updates its checked state.
Now it will automatically change to checked or not checked depending if the EditText's transformation method is changed.

PiperOrigin-RevId: 248185643
2019-05-16 17:12:39 -04:00
connieshi
462150b039 Update javadoc of Chip#ensureAccessibleTouchTarget(int) to describe the return value.
PiperOrigin-RevId: 248146423
2019-05-16 12:50:54 -04:00
dniz
67e4489293 Remove constructor comments from TabLayoutMediator
PiperOrigin-RevId: 248139286
2019-05-16 12:50:03 -04:00
marianomartin
8b98949b5c Remove usages of widget.(AppBarLayout|TextInputLayout|TextInputEditText)
PiperOrigin-RevId: 248134329
2019-05-16 12:48:48 -04:00
Material Design Team
95a93dfa99 Adding TabLayoutMediator to MDC tabs library
The TabLayoutMediator makes it possible for a ViewPager2 to be linked to
a TabLayout similarly to how a ViewPager was linked to TabLayout.

PiperOrigin-RevId: 248127710
2019-05-16 12:47:31 -04:00
Material Design Team
da51a6606b Migrate drawerlayout android support libraries to androidx.
PiperOrigin-RevId: 248016947
2019-05-16 12:46:41 -04:00
Material Design Team
54df381127 Migrate viewpager android support libraries to androidx.
PiperOrigin-RevId: 247499141
2019-05-16 12:39:13 -04:00
afohrman
ab87dd51fb Add shaped selected item background to NavigationView and update the item background color.
PiperOrigin-RevId: 247490949
2019-05-16 12:38:14 -04:00
dniz
fde196d8ab Add Catalog Choose "Light/Dark/System default" Theme to Theme Switcher
Also refactor theme preferences saving and selected item color in choose theme popup menu

PiperOrigin-RevId: 247421563
2019-05-16 12:37:11 -04:00
leticiars
650c8ae063 Fixing typo in dropdown content description string.
PiperOrigin-RevId: 247306870
2019-05-16 12:36:32 -04:00
afohrman
544543d7aa Shape documentation tweaks.
PiperOrigin-RevId: 247273827
2019-05-16 12:35:44 -04:00
afohrman
c0e8dcfa3c Remove explicit MaterialCardView style from MaterialCardView example in shape theming documentation.
Widget styles are set at the theme level, so styles should not be set on widgets unless the theme's widget style should not be used.

PiperOrigin-RevId: 247240560
2019-05-16 12:34:54 -04:00
Ethan Hsu
7865481434 Simplified AVD virtual device emulation within CI
Resolves https://github.com/material-components/material-components-android/pull/338

GIT_ORIGIN_REV_ID=65991c1e6a9c7357e8ef6e9a9be8f87a7d5cf4df
PiperOrigin-RevId: 247219512
2019-05-08 12:30:43 -04:00
dniz
0cf8ef7e90 Update androidx dependency versions
appcompat: 1.1.0-alpha04 -> 1.1.0-alpha05
core: 1.1.0-alpha05 -> 1.1.0-beta01
recyclerview: 1.1.0-alpha01 -> 1.0.0
recyclerview-selection: 1.1.0-alpha01 -> 1.0.0
vectordrawable: 1.1.0-alpha01 -> 1.1.0-beta01
viewpager2: 1.0.0-alpha02 -> 1.0.0-alpha04
PiperOrigin-RevId: 247215600
2019-05-08 12:30:01 -04:00
afohrman
7016a35808 Remove bidirectionality guidance from material.io docs.
PiperOrigin-RevId: 247095107
2019-05-07 17:50:48 -04:00
afohrman
8570f261e3 Change shape theming table formats.
PiperOrigin-RevId: 247083619
2019-05-07 17:32:25 -04:00
dniz
eb05c986a4 Update Dark Theme docs with information and links for Android Q Dark Theme and Material Dark Theme spec
Android Q: https://developer.android.com/preview/features/darktheme
Material Spec: https://material.io/design/color/dark-theme.html

PiperOrigin-RevId: 247082315
2019-05-07 17:31:41 -04:00
dniz
c3918fd332 Add docs metadata to Menu developer doc
PiperOrigin-RevId: 247082057
2019-05-07 17:30:14 -04:00
melaniegoetz
3560a3afb3 Allow Bottomsheet to settle to Half-expanded state on drag
PiperOrigin-RevId: 247061538
2019-05-07 17:28:56 -04:00
afohrman
01beb4a9d4 Add shape theming documentation.
PiperOrigin-RevId: 247059441
2019-05-07 17:28:09 -04:00
Material Design Team
e1222dd07f Notch support for bottom sheet behavior
PiperOrigin-RevId: 246952688
2019-05-07 17:26:40 -04:00
connieshi
721342f394 Fix path in documentation.
PiperOrigin-RevId: 246915530
2019-05-06 19:28:24 -04:00
connieshi
488f4873bb Add note about BadgeDrawable being under development and not supporting the full range of customization expected of a Material Android component. (e.g. themed attributes)
PiperOrigin-RevId: 246891342
2019-05-06 19:27:34 -04:00
leticiars
4e38a97dda Updating Dropdown Menu demo.
PiperOrigin-RevId: 246869846
2019-05-06 19:26:25 -04:00