cketcham
9c19d33906
Add Slider demo to the catalog
...
PiperOrigin-RevId: 274238050
2019-10-21 10:21:59 -04:00
cketcham
23249ebea7
Fix Slider catalog lint errors
...
PiperOrigin-RevId: 274231234
2019-10-21 10:20:56 -04:00
hunterstich
9edf5d3f6c
Update AndroidX Transition dep to 1.2.0 stable.
...
PiperOrigin-RevId: 274171699
2019-10-21 10:20:29 -04:00
cketcham
efbb3e667e
Fix header spacing for Slider doc
...
PiperOrigin-RevId: 274169443
2019-10-21 10:20:05 -04:00
cketcham
10c0f62972
Fix FAB placement relative to the BottomAppBar when system insets change
...
PiperOrigin-RevId: 274158808
2019-10-21 10:19:14 -04:00
Mattia Pagini
a05b3a5c79
[ChipGroup] Added a method to get the selected ids
...
Resolves https://github.com/material-components/material-components-android/pull/667
GIT_ORIGIN_REV_ID=185fec8087c2a9c7186a2565330c797dd994dfb8
PiperOrigin-RevId: 274013304
2019-10-10 15:54:45 -04:00
Gaetan Muller
ecaa6f6046
Update to ViewPager2 1.0.0-beta05
...
Resolves https://github.com/material-components/material-components-android/pull/666
GIT_ORIGIN_REV_ID=181393f995292a37a1620ea7f67f36157001512e
PiperOrigin-RevId: 273962103
2019-10-10 15:54:19 -04:00
leticiars
739dc09e2e
Updating Slider documentation.
...
PiperOrigin-RevId: 273960736
2019-10-10 15:53:43 -04:00
ldjesper
394bac6be0
Add MaterialDatePicker style and theme attributes to public.xml
...
Resolves https://github.com/material-components/material-components-android/issues/664
PiperOrigin-RevId: 273854001
2019-10-10 15:53:13 -04:00
hunterstich
12ece687c1
Update AndroidX Transition gradle dep to 1.2.0
...
Resolves https://github.com/material-components/material-components-android/issues/530
PiperOrigin-RevId: 273792067
2019-10-10 15:52:08 -04:00
ldjesper
60da1489fd
Provide users with more control over a11y handling with BottomSheet
...
Resolves https://github.com/material-components/material-components-android/issues/519
Update the catalog to demonstrate usage
PiperOrigin-RevId: 273757779
2019-10-10 15:51:39 -04:00
leticiars
a58a82354e
Fixing outlined error color when focused.
...
PiperOrigin-RevId: 273742930
2019-10-10 15:51:01 -04:00
ldjesper
9cd22eb30a
Sentence case all non-titles in MaterialDatePicker
...
PiperOrigin-RevId: 273592300
2019-10-10 15:50:29 -04:00
leticiars
dc88b3e45f
Adding setBoxStrokeColorStateList method so that the outlined text field stroke color accepts a color state list.
...
Resolves https://github.com/material-components/material-components-android/issues/593
PiperOrigin-RevId: 273577122
2019-10-10 15:50:02 -04:00
hunterstich
7d2f4f58f0
Add BottomAppBar hide on scroll toggle to catalog
...
PiperOrigin-RevId: 273547176
2019-10-10 15:49:27 -04:00
ldjesper
7dc56dfcdd
Simplify TextField drawable resources
...
https://github.com/material-components/material-components-android/issues/611
PiperOrigin-RevId: 273544807
2019-10-10 15:48:39 -04:00
marianomartin
24ab59af6c
Support orientation VERTICAL in MaterialButtonToggleGroup
...
Resolves https://github.com/material-components/material-components-android/issues/476
PiperOrigin-RevId: 273514626
2019-10-08 10:35:08 -04:00
marianomartin
f71d80a960
[NavigationView] Logic error when drawing nav bar scrim
...
Resolves https://github.com/material-components/material-components-android/issues/629
PiperOrigin-RevId: 273365055
2019-10-08 10:34:29 -04:00
marianomartin
a405dd9664
Change MaterialButtonToggleGroup to extend LinearLayout
...
PiperOrigin-RevId: 272989081
2019-10-04 20:39:01 -04:00
dniz
ab54c23e9b
Fix MaterialShapeDrawable stroke corner bug
...
PiperOrigin-RevId: 272977992
2019-10-04 20:09:24 -04:00
ldjesper
294f12498d
Rename setCornerRadius to setAllCornerSizes
...
PiperOrigin-RevId: 272959729
2019-10-04 20:08:43 -04:00
marianomartin
6f10bd0606
Remove minimun dimens from cards inset drawables
...
Resolves https://github.com/material-components/material-components-android/issues/537
PiperOrigin-RevId: 272951547
2019-10-04 20:08:06 -04:00
ldjesper
a2434cd738
Remove deprecated method setOnTabSelectedListener
...
PiperOrigin-RevId: 272946975
2019-10-04 16:34:41 -04:00
cketcham
a130a0c3e0
Add support for percentages to ShapeAppearanceModel
...
PiperOrigin-RevId: 272946740
2019-10-04 16:33:47 -04:00
ldjesper
8b90f02f2b
Remove unreleased deprecated method BottomSheetBehavior.getBottomSheetCallback before release
...
PiperOrigin-RevId: 272934464
2019-10-04 15:32:08 -04:00
cketcham
0547d2a06b
Uncouple CornerSize from CornerTreatment
...
This allows for more easily updating the CornerSize independently from the CornerTreatment and makes it possible to create different types of CornerSizes such as percentage based corners. However, this means corner sizes can be different depending on the bounds of the shape, so the bounds need to be provided. MaterialShapeDrawable has bounds and the ShapeAppearanceModel, so there are new convenience methods there which return the current corner size for the current bounds of the drawable.
PiperOrigin-RevId: 272908508
2019-10-04 15:23:16 -04:00
ldjesper
17ff72c69a
Remove deprecated getPathForSize not in any stable release
...
PiperOrigin-RevId: 272877489
2019-10-04 11:28:25 -04:00
ldjesper
5afdf00f80
Remove deprecated method not present in stable MaterialShapeDrawable#getStrokeTint
...
PiperOrigin-RevId: 272741709
2019-10-03 19:40:24 -04:00
Seanghay
3d074701a8
[AppBarLayout] Added format to appBarLayoutStyle attribute
...
Resolves https://github.com/material-components/material-components-android/pull/649
GIT_ORIGIN_REV_ID=59f78a367d5a3fe61a51a55b7b5ff88d4cac2b7b
PiperOrigin-RevId: 272719500
2019-10-03 19:40:03 -04:00
cketcham
349f91c07b
Always draw the Slider's label
...
Also adds an option to toggle floating the label above the views around the slider, or adding extra height to the slider to keep the label inside the bounds.
PiperOrigin-RevId: 272713986
2019-10-03 15:43:03 -04:00
ldjesper
747ad12725
Maintain API backwards compatability for BottomSheetBehavior from 1.0.0 by adding a Deprecated constructor.
...
PiperOrigin-RevId: 272683597
2019-10-03 15:42:38 -04:00
dniz
0c8c6f6249
Update Snackbar to respect left/right system window insets
...
PiperOrigin-RevId: 272667571
2019-10-03 11:45:22 -04:00
marianomartin
4f8bc435c4
Fix binary compatibility issues with MaterialShapeDrawable
...
These methods existed in 1.0.0 so they can't be removed.
PiperOrigin-RevId: 272665301
2019-10-03 11:44:57 -04:00
ldjesper
ee37298482
Update BottomSheetDialog to have consistent create and get signatures
...
This prevents extensions from causing a ClassCastException on calls to getDialog
Resolve https://github.com/material-components/material-components-android/issues/632
PiperOrigin-RevId: 272594580
2019-10-03 11:44:30 -04:00
ldjesper
440fea02c8
Make TabView a public final class since a field of that type is in the 1.0.0 public API
...
Reference: https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/tabs/TabLayout.java#L1888
Resolves https://github.com/material-components/material-components-android/issues/581
PiperOrigin-RevId: 272592933
2019-10-03 11:44:06 -04:00
dniz
4974f31a8b
Update Snackbar#setGestureInsetBottomIgnored to return Snackbar
...
PiperOrigin-RevId: 272522128
2019-10-03 11:43:28 -04:00
marianomartin
4d719031e4
Refactor layoutbenchmark to be a test rule
...
PiperOrigin-RevId: 272512317
2019-10-02 17:08:04 -04:00
ldjesper
f5762173cb
Prevent possible NPE in TabLayoutMediator when an item is removed from the Adapter
...
ViewPager2.getCurrentItem() may not exist if the last item was selected and it is removed from the adapter.
Resolves https://github.com/material-components/material-components-android/issues/616
PiperOrigin-RevId: 272511958
2019-10-02 17:07:41 -04:00
dniz
b99709200e
Add support for Snackbar message text styling via snackbarTextViewStyle attr
...
PiperOrigin-RevId: 272198481
2019-10-01 12:35:27 -04:00
marianomartin
059351988d
Fix broken build
...
PiperOrigin-RevId: 272099587
2019-10-01 04:11:54 -04:00
dniz
2efc6c7c01
Escape incorrect ampersands in API Diff XML files
...
PiperOrigin-RevId: 272093244
2019-10-01 04:11:35 -04:00
leticiars
c74120d3d7
Automated g4 rollback of changelist 271432476
...
PiperOrigin-RevId: 272057811
2019-10-01 04:10:55 -04:00
ldjesper
c593b0a4a4
Update Pull Request guidance
...
PiperOrigin-RevId: 272056811
2019-10-01 04:09:51 -04:00
connieshi
195647b64e
Update BottomNavigationView's documentation to refer to updated badge api.
...
Resolves https://github.com/material-components/material-components-android/issues/642
PiperOrigin-RevId: 272041881
2019-10-01 04:09:26 -04:00
leticiars
1217dcfb55
Making the non editable Exposed Dropdown Menu accessible through TalkBack interaction.
...
In TalkBack, once the menu is double tapped the focus automatically changes to the first item on the dropdown list, just like how it would with a Spinner.
Clients may keep using the framework's AutoCompleteTextView inside of the TextInputLayout as before.
PiperOrigin-RevId: 272026973
2019-10-01 04:08:33 -04:00
dniz
b1a6256ac1
Move Material-only default component styles from full themes to bridge themes
...
The Bridge themes are guaranteed to be a no-op when migrating from an AppCompat theme, so we can set any new attributes introduced by Material in the Bridge themes.
Resolves https://github.com/material-components/material-components-android/issues/623
PiperOrigin-RevId: 272021042
2019-10-01 04:07:53 -04:00
marianomartin
55662d0316
Add memory widget that show memory usage in the catalog for Kitkat.
...
PiperOrigin-RevId: 271991386
2019-10-01 04:06:36 -04:00
Material Design Team
2bbb47d48f
Recalculate bottom sheet half expanded offset when setHalfExpandedRatio() is called after
...
the bottom sheet is laid out.
PiperOrigin-RevId: 271985444
2019-10-01 04:05:57 -04:00
Material Design Team
fd13d16292
Support registering multiple BottomSheetCallbacks
...
PiperOrigin-RevId: 271650665
2019-10-01 03:59:15 -04:00
cketcham
cc40b5a134
Add missing attributes to public.xml for Slider
...
PiperOrigin-RevId: 271648920
2019-10-01 03:57:06 -04:00