Material Design Team
54df381127
Migrate viewpager android support libraries to androidx.
...
PiperOrigin-RevId: 247499141
2019-05-16 12:39:13 -04:00
afohrman
ab87dd51fb
Add shaped selected item background to NavigationView and update the item background color.
...
PiperOrigin-RevId: 247490949
2019-05-16 12:38:14 -04:00
leticiars
650c8ae063
Fixing typo in dropdown content description string.
...
PiperOrigin-RevId: 247306870
2019-05-16 12:36:32 -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
Material Design Team
e1222dd07f
Notch support for bottom sheet behavior
...
PiperOrigin-RevId: 246952688
2019-05-07 17:26:40 -04:00
connieshi
488f4873bb
Add note about BadgeDrawable being under development and not supporting the full range of customization expected of a Material Android component. (e.g. themed attributes)
...
PiperOrigin-RevId: 246891342
2019-05-06 19:27:34 -04:00
Material Design Team
0a09c19dc6
Fix input focus handling inside Chips.
...
PiperOrigin-RevId: 246850628
2019-05-06 19:22:53 -04:00
dniz
10d2e63e31
Fix elevationOverlaysEnabled in Theme.MaterialComponents.Light.DarkActionBar.Bridge
...
PiperOrigin-RevId: 246847640
2019-05-06 13:18:18 -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
ldjesper
61ee09e6e8
Fix JavaDoc to MotionSpec for Chip
...
PiperOrigin-RevId: 246525931
2019-05-03 13:00:40 -04:00
ldjcmu
b0af4f0fb6
Revert "[Chip] setShowMotionSpec and setHideMotionSpec take a MotionSpec args"
2019-05-03 12:34:37 -04:00
ldjcmu
ad16e04d7d
Merge pull request #336 from satoshun/fix/chip_document
...
[Chip] setShowMotionSpec and setHideMotionSpec take a MotionSpec args
2019-05-03 12:32:33 -04:00
connieshi
f1255d9adf
Update choice chip to align with spec and use primary color to denote selection.
...
PiperOrigin-RevId: 246504982
2019-05-03 11:05:26 -04:00
Material Design Team
2bb0fa112e
Adding ViewPager2 as dependency to MDC
...
This paves the way to add TabLayoutMediator to MDC's tabs library, which
makes it possible for a ViewPager2 to be linked to a TabLayout similarly
to how a ViewPager was linked to TabLayout.
PiperOrigin-RevId: 246496849
2019-05-03 11:04:35 -04:00
marianomartin
213f93e842
set RippleColor doesnt update ripples in cards
...
PiperOrigin-RevId: 246391887
2019-05-03 11:02:47 -04:00
marianomartin
0f0921dbd1
Fix ripple in Fab Minis
...
PiperOrigin-RevId: 246370664
2019-05-03 11:01:54 -04:00
leticiars
c71b6ccb13
Exposed Dropdown Menu ( https://material.io/design/components/menus.html#exposed-dropdown-menu ).
...
An AutoCompleteTextView should be used in the place of a TextInputEditText, along with with a Widget.MaterialComponents.TextInputLayout.(...).ExposedMenuDropdown style.
PiperOrigin-RevId: 246343749
2019-05-03 10:58:36 -04:00
connieshi
71f0a71cc9
s/StringRes/PluralsRes
...
Add null check before trying to use the PluralsRes containing savedState.contentDescriptionQuantityStrings
PiperOrigin-RevId: 246203433
2019-05-03 10:55:18 -04:00
dniz
808e92c07f
Add missing themes to res-public
...
PiperOrigin-RevId: 246134028
2019-05-03 10:54:31 -04:00
Material Design Team
32a28f5acf
Annotate arg MaterialButton.setIcon(@Nullable)
...
PiperOrigin-RevId: 245728195
2019-04-29 15:59:08 -07:00
marianomartin
0e9513a86f
Fix getter in text input layout
...
PiperOrigin-RevId: 245479204
2019-04-29 15:57:13 -07:00
connieshi
7a4ecb0392
Update TextDrawableHelper's constructor to take a delegate.
...
Update ChipDrawable and BadgeDrwable to pass a delegate when they instantiate TextDrawbleHelper.
PiperOrigin-RevId: 245469285
2019-04-29 15:56:31 -07:00
cketcham
1df3a6a44d
Update BottomAppBar to reposition the FAB when the vertical offset is changed
...
PiperOrigin-RevId: 245446154
2019-04-29 15:55:06 -07:00
connieshi
fc109fa13b
Save badge states in BottomNavigationMenuView.
...
PiperOrigin-RevId: 245446090
2019-04-29 15:54:12 -07:00
gauthams
71048025ef
Update MaterialButton documentation to clarify usage of '.Icon' styles
...
PiperOrigin-RevId: 245317272
2019-04-29 15:52:46 -07:00
afohrman
56efa7f634
Add elevation overlay support for NavigationView.
...
PiperOrigin-RevId: 245312138
2019-04-29 15:49:56 -07:00
dniz
058ac81494
Add enforceMaterialTheme attr to public.txt
...
PiperOrigin-RevId: 245308588
2019-04-29 15:46:51 -07:00
cketcham
e081f9d005
Use platform widget classes for the a11y class name
...
PiperOrigin-RevId: 245300502
2019-04-29 15:44:22 -07:00
ldjesper
8349219be3
Allow limiting of MaterialCalendar to a start and end month. Allow setting of an opening month.
...
PiperOrigin-RevId: 245269687
2019-04-29 15:41:49 -07:00
marianomartin
b488d4a0e5
Fix crash in FAB in some APIs
...
PiperOrigin-RevId: 245244018
2019-04-29 15:40:27 -07:00
dniz
34a3a46f61
Update Tabs to default to surface style in Dark Theme
...
PiperOrigin-RevId: 245217332
2019-04-29 15:39:42 -07:00
Material Design Team
ab7779d771
Make disableShapeAnimations() public.
...
This is necessary to make the tweak accessible from external tests.
PiperOrigin-RevId: 245195115
2019-04-29 15:38:29 -07:00
marianomartin
faf8b8d757
Add Context Menu Styles
...
Style context menus with the same background as overflow and popup menus.
The attribute only available API 23 and up. So previous APIs are unchanged.
PiperOrigin-RevId: 245087463
2019-04-29 15:36:41 -07:00
leticiars
9a53656172
Renaming clear text button drawable file for consistency.
...
PiperOrigin-RevId: 245057763
2019-04-29 15:35:11 -07:00
ldjesper
eb6aec99b1
Add a button bar to control the current month to MaterialCalendar.
...
PiperOrigin-RevId: 245057453
2019-04-29 15:34:06 -07:00
dniz
d5ab5910dc
Update Bottom Navigation to default to surface style in Dark Theme
...
PiperOrigin-RevId: 245041248
2019-04-29 15:31:01 -07:00
dniz
5249f54ab1
Update AppBarLayout and ActionBar to default to surface style in Dark Theme
...
Also update Dark Theme colorPrimaryDark to be #000000 to match
PiperOrigin-RevId: 245028116
2019-04-29 15:30:11 -07:00
melaniegoetz
e53eff870f
Api to allow for corner transition animations in BottomSheet to be disabled for testing
...
PiperOrigin-RevId: 244924319
2019-04-29 15:29:15 -07:00
connieshi
3ad423e6b9
Update BottomNavigationItemView to include BadgeDrawable's content description.
...
Add setter for numberless and numbered badge content descriptions.
PiperOrigin-RevId: 244910418
2019-04-29 15:28:30 -07:00
isabellekim
ff90193b32
Update baseline surface, background, error, primary variant, and secondary variant colors for dark themes.
...
PiperOrigin-RevId: 244882440
2019-04-29 15:25:59 -07:00
ldjesper
afad587e69
Replace custom listener in MonthFragment with standard OnClickListener. Use MonthPagerAdapter only as a pass-through for the Calendar listener instead of creator.
...
PiperOrigin-RevId: 244719218
2019-04-29 15:25:11 -07:00
connieshi
9d73854a97
Add SavedState for BadgeDrawable.
...
PiperOrigin-RevId: 244672502
2019-04-29 15:20:48 -07:00
afohrman
d77864bbbf
Support ColorDrawables as the basis for MaterialShapeDrawable initialization in
...
BottomNavigationView.
This commit removes backgroundTint from the BottomNavigationView styles and instead sets the respective default colors as ColorDrawable backgrounds of the BottomNavigationView. This allows BottomNavigationView to respect colors set in android:background without requiring the client to override backgroundTint.
PiperOrigin-RevId: 244669964
2019-04-29 15:16:23 -07:00
ldjesper
946dfad19d
Limit scopes to package from public when possible
...
PiperOrigin-RevId: 244663611
2019-04-29 15:14:13 -07:00
dniz
3ffa3d2ccd
Update BottomSheetBehavior to check API level before reading elevation attribute
...
PiperOrigin-RevId: 244660854
2019-04-29 15:13:13 -07:00
SatoShun
83a876ce3c
setShowMotionSpec and setHideMotionSpec take a MotionSpec args
2019-04-29 08:20:55 +00:00
gauthams
c42eb1e239
Add support for end-aligned iconGravity in MaterialButton
...
PiperOrigin-RevId: 244431572
2019-04-19 22:07:04 -04:00
ldjesper
b92e18b9eb
Page Months with a ViewPager
...
PiperOrigin-RevId: 244395413
2019-04-19 22:02:35 -04:00
dniz
18f30248c1
Add ElevationOverlayProvider util method for getting surface color with overlay
...
Also rename getColorSurface method to getSurfaceColor
PiperOrigin-RevId: 244392744
2019-04-19 22:00:45 -04:00
ldjesper
39895914a6
Remove InYear naming
...
PiperOrigin-RevId: 244357311
2019-04-19 21:58:53 -04:00