296 Commits

Author SHA1 Message Date
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
dniz
8dc2eefd19 Update comments
PiperOrigin-RevId: 259405175
2019-07-22 21:20:09 -04:00
marianomartin
3e42b076ec Add catalog demo for SwipeDismissBehavior
PiperOrigin-RevId: 259377944
2019-07-22 21:17:15 -04:00
connieshi
0558a36c9a Add support for configuring badge gravity.
PiperOrigin-RevId: 259223232
2019-07-22 12:22:00 -04:00
marianomartin
0a5d66ffc0 Internal cleanup
PiperOrigin-RevId: 257802841
2019-07-15 19:07:26 -04:00
connieshi
195ca81648 In Bottom Navigation catalog demo, ensure that the badge on the first menu item is visible.
PiperOrigin-RevId: 257617996
2019-07-11 14:38:12 -04:00
marianomartin
38035ff9aa Internal cleanup
PiperOrigin-RevId: 257606638
2019-07-11 14:36:21 -04:00
connieshi
ca9d11d4e4 Fix BottomNavigation demo crash on pre API 21 devices by enabling AppCompatDelegate#setCompatVectorFromResourcesEnabled
PiperOrigin-RevId: 257596491
2019-07-11 14:35:24 -04:00
dniz
589c969ff9 Use framework Space instead of androidx legacy Space
PiperOrigin-RevId: 257451420
2019-07-10 15:16:21 -04:00
marianomartin
d17243cd21 Internal cleanup
PiperOrigin-RevId: 257436291
2019-07-10 13:49:32 -04:00
ldjesper
fb44b908f4 Use CalendarBounds to invalidate out of bounds dates
PiperOrigin-RevId: 257249906
2019-07-10 13:45:18 -04:00
dniz
d3b7c72446 Cleanup Catalog and Material Theme Builder Top App Bar primary-surface implementations
PiperOrigin-RevId: 257010622
2019-07-09 12:55:13 -04:00
ldjesper
c0fb5ad1af Fix Date Picker Catalog Demo to retain listeners
PiperOrigin-RevId: 256421089
2019-07-03 15:49:03 -04:00
ldjesper
39f4a36d0b Remove Abstract Calendar Pickers in favor of options
PiperOrigin-RevId: 256402016
2019-07-03 14:16:01 -04:00
dniz
37534561f2 Add component styles that swap between primary and surface styles depending on light vs dark theme
Makes it easier for devs to implement: https://material.io/design/color/dark-theme.html#custom-application

PiperOrigin-RevId: 256208965
2019-07-03 14:11:49 -04:00
connieshi
0271cec540 Add dialog examples with outlined or filled buttons.
PiperOrigin-RevId: 256185197
2019-07-03 14:10:51 -04:00
marianomartin
164bf0fabd Internal cleanup
PiperOrigin-RevId: 255609320
2019-07-03 14:02:53 -04:00
ldjesper
39d0dfd1c6 Internal Clean-up
PiperOrigin-RevId: 255488842
2019-07-03 14:02:09 -04:00
connieshi
0e4142effc Bottom sheet demo with nested scrollable content. Hide the demo from the catalog for now, until a nested scrolling bug is fixed.
PiperOrigin-RevId: 255455292
2019-07-03 13:58:47 -04:00
marianomartin
ad8003d8e9 Internal cleanup
PiperOrigin-RevId: 255441067
2019-07-03 13:56:54 -04:00