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
marianomartin
006e4af031
Internal cleanup
...
PiperOrigin-RevId: 255258571
2019-06-26 19:19:36 -04:00
connieshi
55f449d958
Add switch to disable/enable expanding a bottom sheet in the catalog demo.
...
PiperOrigin-RevId: 255246800
2019-06-26 19:18:25 -04:00
marianomartin
d8eeb000c6
Internal cleanup
...
PiperOrigin-RevId: 254963494
2019-06-26 11:21:03 -04:00
marianomartin
bd4005b78f
[MaterialCardView][Catalog] Radio buttons in the Card States demo are cut off when display size is set to largest
...
PiperOrigin-RevId: 254769715
2019-06-24 17:29:08 -04:00
Material Design Team
0940c5f073
Automated g4 rollback of changelist 254569710
...
PiperOrigin-RevId: 254571145
2019-06-24 17:26:52 -04:00
marianomartin
cebb0d9039
Internal cleanup
...
PiperOrigin-RevId: 254569710
2019-06-24 17:25:54 -04:00
connieshi
31e2683393
Update bottom sheet demo in catalog app to include interactable content (switch and button).
...
PiperOrigin-RevId: 254511035
2019-06-24 17:24:58 -04:00
ldjesper
ce2d7dec5e
Alternate Theme layout demos. Correct usage of shapeAppearance attributes based on screensize. Range pickers default to dialog mode when screens are larger than 480dp.
...
PiperOrigin-RevId: 254324320
2019-06-24 17:11:24 -04:00
marianomartin
c946144645
Internal cleanup
...
PiperOrigin-RevId: 254305776
2019-06-24 17:06:45 -04:00
marianomartin
c836066067
Add actions for drag and drop list of cards
...
Test plan:
- Navigate to list card view activity
- turn talkback on
- listen for actions in Card (down, up)
- Verify swapping cards works with the actions.
PiperOrigin-RevId: 254240105
2019-06-24 17:04:49 -04:00
ldjesper
fd686f2074
MaterialCalendar Listeners added. Updated catalog demo to use listeners.
...
PiperOrigin-RevId: 254122526
2019-06-24 16:56:23 -04:00
marianomartin
2de39fafe0
Internal cleanup
...
PiperOrigin-RevId: 253799644
2019-06-18 13:57:49 -04:00
marianomartin
8002fb7954
Internal cleanup
...
PiperOrigin-RevId: 253615769
2019-06-18 13:41:56 -04:00
Material Design Team
63387d1b12
Migrate from Has*Injector types to HasAndroidInjector
...
Update to Dagger 2.23.1 to get the new APIs.
PiperOrigin-RevId: 253586274
2019-06-18 13:40:56 -04:00
connieshi
0a6de9f979
Add switch to Buttons demo to toggle enabled / disabled state.
...
PiperOrigin-RevId: 253582470
2019-06-18 13:39:07 -04:00
dniz
6783f9e1cd
Clean up naming of elevation overlay methods and attributes
...
PiperOrigin-RevId: 253283047
2019-06-18 13:34:29 -04:00
marianomartin
450300d973
Internal cleanup
...
PiperOrigin-RevId: 253249607
2019-06-18 13:30:04 -04:00
connieshi
ee913784dc
Rename BottomNavigationView#showBadge to BottomNavigationView#getOrCreateBadge(). No longer ensures that the badge is visible. User should call BadgeDrawable#setVisible(boolean).
...
PiperOrigin-RevId: 253231582
2019-06-18 13:28:31 -04:00
connieshi
0525b102db
Update Bottom Nav catalog demo to use filled icons for checked stated and outlined icons for unchecked state.
...
PiperOrigin-RevId: 253087691
2019-06-18 13:26:53 -04:00
cketcham
bff75f2d3e
Update to lamdas
...
PiperOrigin-RevId: 252846439
2019-06-18 13:21:02 -04:00
marianomartin
5a5d311a36
Check more lint warnings, show warnings as errors.
...
PiperOrigin-RevId: 252822573
2019-06-18 13:20:15 -04:00
connieshi
b3980237a4
Rename Tab#showBadge to Tab#getOrCreateBadge(). No longer ensures that the badge is visible. User should call BadgeDrawable#setVisible(boolean).
...
PiperOrigin-RevId: 252635742
2019-06-18 11:57:19 -04:00
connieshi
63fed94c90
s/clearBadgeNumber/clearNumber
...
PiperOrigin-RevId: 251693601
2019-06-10 08:57:49 -07:00
connieshi
50d1c1013e
Update demos that can add badge number to hide and reset badge number instead of removing/deleting the badge all together.
...
PiperOrigin-RevId: 251252951
2019-06-10 08:38:23 -07:00
connieshi
111cd001f5
Update TabLayout demos in MDC catalog to include badging.
...
PiperOrigin-RevId: 250356916
2019-05-29 16:26:32 -04:00
leticiars
23aed1798c
Updating Menus catalog demo.
...
PiperOrigin-RevId: 250284784
2019-05-29 16:23:21 -04:00
Jan Skrasek
084177e1ba
Remove rounded bottom corners of bottomsheets
...
Resolves https://github.com/material-components/material-components-android/pull/348
GIT_ORIGIN_REV_ID=3af172c871c111e109cc2c7413bec04d28f385c5
PiperOrigin-RevId: 249482184
2019-05-24 14:20:39 -04:00
Material Design Team
318085f2ca
Automated g4 rollback of changelist 249279193
...
PiperOrigin-RevId: 249309312
2019-05-24 14:15:20 -04:00
leticiars
cc63b8672f
Updating Menus catalog demo
...
PiperOrigin-RevId: 249279193
2019-05-24 14:13:51 -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
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
Material Design Team
54df381127
Migrate viewpager android support libraries to androidx.
...
PiperOrigin-RevId: 247499141
2019-05-16 12:39:13 -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
melaniegoetz
3560a3afb3
Allow Bottomsheet to settle to Half-expanded state on drag
...
PiperOrigin-RevId: 247061538
2019-05-07 17:28:56 -04:00
leticiars
4e38a97dda
Updating Dropdown Menu demo.
...
PiperOrigin-RevId: 246869846
2019-05-06 19:26:25 -04:00
dniz
9f692ecb16
Update Catalog dark theme toggle to be a menu with System default option
...
PiperOrigin-RevId: 246841272
2019-05-06 12:51:48 -04:00
dniz
8f622283d1
Remove CSL theme attribute workarounds
...
Also update androidx dependencies to get latest fixes: appcompat to 1.1.0-alpha04 and core to 1.1.0-alpha05
PiperOrigin-RevId: 246804285
2019-05-06 10:34:04 -04:00
dniz
2735069208
Update Catalog Dark Theme toggle to switch between MODE_FOLLOW_SYSTEM and MODE_YES
...
PiperOrigin-RevId: 246514518
2019-05-03 12:59:49 -04:00