315 Commits

Author SHA1 Message Date
cketcham
97ca231d70 Allow the radius of the thumb and halo around the thumb to be set by the style
PiperOrigin-RevId: 268735380
2019-09-18 13:01:22 -04:00
marianomartin
167663ae45 Internal cleanup
PiperOrigin-RevId: 268698913
2019-09-12 14:29:01 -04:00
marianomartin
a4138293df Internal cleanup
PiperOrigin-RevId: 268507643
2019-09-12 14:12:53 -04:00
connieshi
d4d0e7f5e9 Update badge gravity enum values to use Gravity values. Add unit test.
PiperOrigin-RevId: 268485092
2019-09-12 14:09:30 -04:00
ldjesper
801172e401 Update DateValidator JavaDocs in MaterialDatePicker
PiperOrigin-RevId: 268451832
2019-09-12 14:05:41 -04:00
ldjesper
fe56e2ecc7 Allow setting of MaterialDatePicker title via CharSequence plus JavaDoc updates
PiperOrigin-RevId: 268445763
2019-09-12 14:03:01 -04:00
ldjesper
d78d93577f Remove Month from the public API
PiperOrigin-RevId: 268242042
2019-09-12 13:57:19 -04:00
marianomartin
c178633441 Internal cleanup
PiperOrigin-RevId: 268017966
2019-09-12 13:55:18 -04:00
marianomartin
aee272bb41 Fix crash in catalog demos
Resolves https://github.com/material-components/material-components-android/issues/572

PiperOrigin-RevId: 267997380
2019-09-12 13:54:18 -04:00
ldjesper
38e01beb1d MaterialDatePicker forces UTC
PiperOrigin-RevId: 267992416
2019-09-12 13:52:21 -04:00
marianomartin
215a839598 Internal cleanup
PiperOrigin-RevId: 267504117
2019-09-12 13:48:16 -04:00
marianomartin
53d4185ff9 Internal cleanup
PiperOrigin-RevId: 267368841
2019-09-12 13:47:15 -04:00
ldjesper
72d54c653c Change picker package to com.google.android.material.datepicker
PiperOrigin-RevId: 267004501
2019-09-04 18:07:59 -04:00
ldjesper
3e55f14f7b Fix status and nav bar color in catalog for edge to edge mode
PiperOrigin-RevId: 266467749
2019-09-04 18:02:19 -04:00
dniz
fcef3c1927 Update Catalog DemoActivity to apply Edge to Edge config before views are added
PiperOrigin-RevId: 266420752
2019-09-04 17:59:48 -04:00
Material Design Team
a41d340b0d Add more a11y support to BottomSheetBehavior.
PiperOrigin-RevId: 266403799
2019-09-04 17:56:27 -04:00
cketcham
7bb525ff59 Update usages of ShapeAppearanceModel to use Builder pattern
PiperOrigin-RevId: 266144471
2019-08-29 15:39:51 -04:00
marianomartin
0d4515cb46 Internal cleanup
PiperOrigin-RevId: 265971745
2019-08-29 14:59:20 -04:00
dniz
72cfef981b Rename prefix mtrl_ to material_ in public resources
PiperOrigin-RevId: 265729121
2019-08-29 12:16:13 -04:00
marianomartin
f5c9026efa Internal cleanup
PiperOrigin-RevId: 265550877
2019-08-29 11:39:58 -04:00
marianomartin
a5a300e171 Internal cleanup
PiperOrigin-RevId: 265503887
2019-08-29 11:26:23 -04:00
marianomartin
64e6fd4b9c Fix status bar icons are invisible against a white status bar and navigation bar icons are invisible when content goes edge to edge for API 27
PiperOrigin-RevId: 265113352
2019-08-29 11:14:25 -04:00
marianomartin
ca199c8ec7 Update the FontMain demo to support edge to edge with transparent status and navigation bars on Q
PiperOrigin-RevId: 264699892
2019-08-26 11:15:54 -04:00
connieshi
83c223980e Fix regression to the main Tabs demo.
PiperOrigin-RevId: 264623490
2019-08-26 11:09:49 -04:00
marianomartin
5f331fd768 Internal cleanup
PiperOrigin-RevId: 264522907
2019-08-26 10:51:41 -04:00
marianomartin
03963112d2 Fix FAB demos in edge to edge
PiperOrigin-RevId: 264448758
2019-08-26 10:49:04 -04:00
Material Design Team
322cbaae8a Automated g4 rollback of changelist 264230778
PiperOrigin-RevId: 264382083
2019-08-20 11:22:09 -04:00
afohrman
04955f6421 Add placeholder text functionality to TextInputLayout.
This is the initial implementation of placeholder text; it does not contain motion. At this stage, TextInputLayout sets the placeholder text visibility based on whether or not it should show.

PiperOrigin-RevId: 264230778
2019-08-20 11:19:02 -04:00
leticiars
ba3d79015a Update TabsControllableDemoFragment to support small screen, landscape and edge to edge with transparent status and navigation bars on Q.
PiperOrigin-RevId: 264210502
2019-08-20 11:17:57 -04:00
connieshi
3107e00414 Update catalog app's table of contents fragment to support edge to edge.
PiperOrigin-RevId: 263792984
2019-08-16 16:22:56 -04:00
connieshi
1493fcdf3d Update BottomNavigationAnimatedDemoFragment to support edge to edge.
PiperOrigin-RevId: 263787052
2019-08-16 16:21:55 -04:00
connieshi
5f6930e25d Update demo fragment to support edge to edge.
Add convenience method to DemoUtils that will add a space to offset the bottom WindowInsets when needed.

Updated DemoLandingFragment to call this utils method as well.

PiperOrigin-RevId: 263622027
2019-08-16 16:20:06 -04:00
connieshi
ed593d9a5a Update the edge to edge button to be start aligned.
PiperOrigin-RevId: 263407977
2019-08-16 16:12:13 -04:00
ldjesper
03f043bbba Improve MaterialDatePicker demo to showcase builder and allow initial selection to be at any point within the day
PiperOrigin-RevId: 263194595
2019-08-16 16:00:38 -04:00
connieshi
b3c450f6d6 Update the demo landing pages in the catalog app to ensure that clickable content is obstructed behind the navigation bar.
PiperOrigin-RevId: 263139517
2019-08-16 15:58:57 -04:00
connieshi
6b664ad482 Update bottom app bar demo in the catalog app to support edge to edge.
PiperOrigin-RevId: 262669471
2019-08-16 15:56:11 -04:00
connieshi
825531b2df Update DemoActivity to support edge to edge.
Affected subclasses: CardSelectionModeActivity, DrawerSideDemoActivity, ElevationOverlayActivity, BaseTopAppBarActionBarDemoActivity, TopAppBarActionBarDemoActivity, TopAppBarDarkActionBarDemoActivity, TopAppBarScrollingTransparentStatusDemoActivity

PiperOrigin-RevId: 262562330
2019-08-16 15:40:22 -04:00
connieshi
4118b91472 Update the demo landing pages to support edge to edge.
PiperOrigin-RevId: 262553945
2019-08-16 15:39:14 -04:00
connieshi
4e78a59041 Add button to switch the Catalog app in and out of edge to edge mode.
PiperOrigin-RevId: 262378430
2019-08-16 15:33:44 -04:00
Felipe Roriz
37bb299f6e Automated g4 rollback of changelist 261796473
PiperOrigin-RevId: 261908197
2019-08-06 15:28:37 -04:00
Felipe Roriz
2c46004075 Automated g4 rollback of changelist 261764987
PiperOrigin-RevId: 261796473
2019-08-06 15:20:14 -04:00
Felipe Roriz
bede31c6b5 [BottomSheet] Updated BottomSheetDialog and Fragment dismiss animation
Resolves https://github.com/material-components/material-components-android/pull/415

GIT_ORIGIN_REV_ID=7aa46483d15c00c102b9b5c4463bf3bd331e4d15
PiperOrigin-RevId: 261764987
2019-08-06 15:18:43 -04:00
marianomartin
f28039a0d7 Change ThemeOverlayUtils to use a map instead of array
PiperOrigin-RevId: 260776832
2019-08-02 15:09:51 -04:00
dniz
dc69263ffe Update Catalog Button demo to use CoordinatorLayout, which enables Snackbar swipe to dismiss behavior
PiperOrigin-RevId: 260193185
2019-07-29 16:40:54 -04:00
marianomartin
2241380dba Internal cleanup
PiperOrigin-RevId: 259753640
2019-07-24 15:09:18 -04:00
connieshi
87f9e535f8 Update Tabs demo in catalog app to support configuring badge gravity.
PiperOrigin-RevId: 259725939
2019-07-24 15:07:00 -04:00
ldjesper
5d58de9499 Add MaterialDatePicker and CalendarConstraints to the public API.
PiperOrigin-RevId: 259585701
2019-07-23 15:29:11 -04:00
connieshi
f3fee09577 Update "EditText" dialog demo catalog to return the user input and show it in a toast.
PiperOrigin-RevId: 259567469
2019-07-23 13:51:23 -04:00
dniz
eab505c42f Update uses-sdk in AndroidManifest.xml files and fix some lint warnings
PiperOrigin-RevId: 259545645
2019-07-23 12:12:58 -04:00
dniz
cc73c2a630 Update TODOs
PiperOrigin-RevId: 259535844
2019-07-23 11:21:39 -04:00