334 Commits

Author SHA1 Message Date
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
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
hunterstich
7d2f4f58f0 Add BottomAppBar hide on scroll toggle to catalog
PiperOrigin-RevId: 273547176
2019-10-10 15:49:27 -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
marianomartin
4d719031e4 Refactor layoutbenchmark to be a test rule
PiperOrigin-RevId: 272512317
2019-10-02 17:08:04 -04:00
marianomartin
059351988d Fix broken build
PiperOrigin-RevId: 272099587
2019-10-01 04:11:54 -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
fd13d16292 Support registering multiple BottomSheetCallbacks
PiperOrigin-RevId: 271650665
2019-10-01 03:59:15 -04:00
cketcham
1c926a02ae Remove extra layout from Slider catalog demos
PiperOrigin-RevId: 271624450
2019-09-27 16:03:33 -04:00
hunterstich
4f70ac8955 Update FloatingActionButton to implement the Shapeable interface.
PiperOrigin-RevId: 271566824
2019-09-27 14:06:05 -04:00
ldjesper
dc3289849c Update travis ci to force jdk 8 to fix error: Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
PiperOrigin-RevId: 271442687
2019-09-27 14:04:32 -04:00
connieshi
952e40e16d Update bottom app bar demo so that the buttons meet the recommended minimum touch target size.
PiperOrigin-RevId: 271179558
2019-09-26 17:56:45 -04:00
leticiars
d1444e22c4 Adding prefix and suffix demo.
PiperOrigin-RevId: 270342820
2019-09-24 12:21:32 -04:00
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
cketcham
8a26d84ac4 Add initial Slider implementation
PiperOrigin-RevId: 268558997
2019-09-12 14:22:38 -04:00
cketcham
e448ca24e0 Update gradle lint baseline files
PiperOrigin-RevId: 268513443
2019-09-12 14:16:15 -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
e89564aadd Internal cleanup
PiperOrigin-RevId: 265685660
2019-08-29 11:58:31 -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
marianomartin
674b462e68 Fix Catalog CardSwipeDismissFragmentTest
PiperOrigin-RevId: 263620016
2019-08-16 16:18:45 -04:00