Android cc模块,Android模块化和可定制的 Material Design UI 组件

1.4.0-beta01

Compare

Choose a tag to compare

Search for a tag

86a592852f13029b12aa9c2c96188288.png ymarian released this

May 7, 2021

Compile SDK Version changed to API 30.

Dependency Updates

Dependency

Previous version

New version

androidx.core

1.2.0

1.5.0-rc01

Library Updates

NavigationBarView

Moves OnNavigationItem listeners to the NavigationBarView class (0ad4a8d)

TextInputLayout

Fixed cutout padding so text field outline doesn't overlap collapsed hint. (1c7b75f)

MaterialButton

Updated Material Button style to set the preferred maximum width to 320dp. (eb5453c)

Documentation

Improving navigation rail documentation. (dabdef9)

CollapsingToolbarLayout

Updated fade mode to allow expanded title to translate 1:1 with scrolling content. (1445e6d)

Added title line spacing and hyphenation frequency setters (3ea60e6)

Fixed multiline animation for fade title collapse mode (a29c93a)

Updated default multiline hyphenation frequency to StaticLayout.HYPHENATION_FREQUENCY_NORMAL (2c45dcc)

Added support for multiline RTL when using fade title mode (ffef9f6)

Added getLineCount() method (c9f7a61)

BottomAppBar

change cornersize to float to avoid truncation errors (7ffa571)

BottomSheet

read the edgeToEdgeEnabled value earlier in the lifecycle (9c842a2)

Adding a max width for bottom sheets to optimize for large screens. (63d01aa)

Other

Update compile sdk version to 30 (1234385)

Updated TextAppearance to load font synchronously if its cached. Also updates lib to depend on 1.5.0-rc01 for the

ResourcesCompat#getCachedFont method. (d301145)

Full list of changes

1.4.0-alpha02

Compare

Choose a tag to compare

Search for a tag

e3c2c9f4731efaece83c8a6797b83d86.gif wcshi released this

Mar 31, 2021

Dependency Updates

No dependency updates.

Library Updates

Catalog

Updated catalog to showcase header view inside a Navigation Rail View. (6a37a55)

Updated catalog to demonstrate navigation rail in compact style. (ae8b185)

Updated Navigation Rail catalog demo to showcase a colored navigation rail with animated icons. (4ff1440)

Updated Navigtaion Rail catalog demo to showcase label visibility mode and menu gravity. (6cd0737)

Updated catalog demo to showcase navigation rail component. (547979e)

Other

Increment mdcLibraryVersion to 1.4.0-alpha02 (9bae8a7)

API Fixes (fed90a9)

Added setTheme api in builder to support passing theme via builder (6416467)

Fixed javadoc formatting issue for lerp function (06993c8)

Updated navigation rail documentation to update images and related example code. (b8ed2da)

Added support for centering title and subtitle (cbf528e)

Update packaging.yaml (a9a493f)

BottomSheet

Sets default for BottomSheetBehavior paddingTopSystemWindowInsets to true (6f220b1)

Allow opting out of edge to edge on the top (28c3254)

Only add OnApplyWindowInsetsListener if edgeToEdgeEnabled is true (33f5aef)

ProgressIndicator

Move canvas to the middle of the bounds, rather than by half the width/height. (dca33e3)

CollapsingToolbarLayout

Added support for fade out/in title collapse mode (9c75ad0)

Fixed Toolbar link errors in javadoc due to androidx vs framework Toolbar support (1f6ebe9)

Documentation

Updated progress indicator document to clarify a usage requirement for linear contiguous animation. (ca285ea)

Updating date picker doc. (be5d96d)

Transitions / Motion

Updated FadeThroughProvider to allow customization of the fade through threshold. (5d65278)

TextInputLayout

Adding setMinWidth and setMaxWidth methods on the TextInputLayout so it works as expected. (f97560d)

Fixed clear icon being displayed when the text field is not focused. (740a3d2)

Adding default, max and min widths for text fields to optimize for large screens. (81273ac)

BottomAppBar

Support fab with rounded corners in cradle (ef8ad4d)

Badging

Fix badge offset bug when attached and detached from a menu item on a toolbar. (948738e)

MaterialButtonToggleGroup

Fixed issues with uncheck and check methods (ffb2ad1)

Full list of changes

1.4.0-alpha01

Compare

Choose a tag to compare

Search for a tag

6c3b685db09dfff52ac55bc3091e4a7e.png hunterstich released this

Feb 22, 2021

Library Updates

NavigationRail

Added Navigation Rail component to the library. (e13610e)

🎉

Added documentation for navigation rail view component. (853c695)

Fixed spacing issue between destination icon and label. (585e0ff)

Fixed issue that caused navigation rail to show label for active destination in compact mode. (1c872e8)

Fixed issue that caused destination views to be smaller than the rail width. (42a19ab)

Extracted common logic from bottom navigation component into navigation package. (aca5bfb)

BottomSheet

Prevent adding half expanded accessibility action if fitToContents is true (2933600)

Automatically enable insets for ThemeOverlay style (c15139a)

Added flag to opt in to edge to edge behavior rather than only relying on the navigationBarColor (c574e9e)

Updated the way BottomSheet handles insets (b163458)

Documentation

Removed broken @link from MaterialButton Javadoc (25bf03e)

Fixed theme attr name for floatingActionButtonStyle (5b32b25)

ProgressIndicator

Updated "indicatorSize" in CircularProgressIndicatorSpec to be never less than twice of "trackThickness". (1fb57bc)

Fixed NPE while setting progress in the indeterminate mode after inflation. (7a9e3f6)

Fixed visibility bug in RecyclerView. (5910955)

Fixed not hidden when committed hiding is interrupted by window hiding (i.e., home button pressed). (196116f)

Fixed determinate drawable not fully shown when switched from indeterminate mode for the second time in SDK 19/21/23. (712f5f3)

Fixed indeterminate animation not playing after inflation/being visible in SDK 21. (86b70d7)

Updated linear indeterminate animation. (fdb420f)

Updated circular indeterminate animation. (2163e3d)

Added other predefined styles in document. (2a6715f)

Fixed incorrect visibility when used in the recycler view. (9ccad21)

Renamed indeterminateAnimationType enums "seamless" and "spacing". (e5375fc)

Removed unnecessary style attributes from catalog. (80b5cf6)

Added sized styles for circular type. (4ab8cb1)

Corrected comments for javadoc. (3795197)

Updated track thickness used in standalone demo as 2.5 dp. (968fb19)

Renamed some attributes. (9d7ae04)

Hid AnimatorDurationScaleProvider from API. (5ff62d3)

Transitions / Motion

Updated documentation to include motion theming (3d4a341)

Added theming to MaterialFadeThrough transition. (655caed)

Added theming to MaterialSharedAxis transition. (478b412)

Added theming to MaterialFade transition. (8e79c7e)

Changed motionPath theme attr format to enum|string (7e578e4)

Applied easing, duration, and path theme attributes to MaterialContainerTransform (5154eea)

Added easing, duration, and path theme attributes, as well as utilities to read them (186d5ed)

Catalog

Make demo links use minHeight instead of specifying height so they won't be truncated at large font sizes. (a8156be)

TimePicker

Fixed issues when re-using dialog instance (11169ce)

Changed clock face size to be dynamic (bf0d11b)

Fixed numbers glitching on first show of time picker (74350de)

Fixed text input mode to correctly restore state (76cf0eb)

Added dev docs (3eddfb9)

Renamed ThemeOverlay.MaterialComponents.MaterialTimePicker to ThemeOverlay.MaterialComponents.TimePicker to be more consistent with other time picker styles (4af9eab)

Changed text input view to a view stub (cbef0d3)

Removed hint setting (074ed18)

Use MaterialColors to correctly read CSLs with theme attributes (9f79157)

Make default theme overlay public (890b727)

Slider

Improve listener documentation (1f76fcc)

CollapsingToolbarLayout

Updated CollapsingToolbarLayout to support framework android.widget.Toolbar (

Snackbar

Fixed NPEs (a3b8be8, ebd3223)

TextInputLayout

Adjusted background of collapsed hint to not overlap with edit text's background. (6015a4e)

Fixed placeholder text not being properly announced. (40e33a7)

Fixed IndexOutOfBoundsException when trying to change end icon (dd0e697)

MaterialDatePicker

Fixed incorrect date being selected on scrollable months. (db42490)

Fixed NullPointerException on MonthAdapter.updateSelectedState (00e3320)

Localized numbers in month (3e79942)

Fixed day of week adapter localization for APIs before O (bec2de9)

Other

Do not show tooltip on long press for L and M devices to avoid freezing devices on repeated long press. (da2d826)

Remove duplicate state from BottomSheetBehavior#getState doc. (8f77050)

1.3.0

Compare

Choose a tag to compare

Search for a tag

f5b148770e9507b6a8bcfd2f92ebed12.png raajkumars released this

Feb 4, 2021

What's New Since 1.2.0?

Time Picker (docs)

Progress Indicator (docs)

Dependency Updates

Dependency

Previous version

New version

constraintlayout

1.1.3

2.0.1

Full list of changes

1.2.1...1.3.0

1.3.0-rc01

Compare

Choose a tag to compare

Search for a tag

d6a48f6796466f8bac382f89e9144e98.png ikim24 released this

Jan 15, 2021

Dependency Updates

No dependency updates.

Library Updates

TimePicker

Fixed numbers glitching on first show of time picker (182b297)

Fixed text input mode to correctly restore state (f97779e)

MaterialDatePicker

Fixed incorrect date being selected on scrollable months. (d523523)

Fix NullPointerException on MonthAdapter.updateSelectedState(MonthAda… (dad7752)

Localized numbers in month (206699f)

Fixed day of week adapter localization for APIs before O (b4b624e)

ProgressIndicator

Fixed NPE while setting progress in the indeterminate mode after inflation. (c78c1ef)

Fixed the visibility bug in RecyclerView. (e9fcdf0)

Fixed not hidden when committed hiding is interrupted by window hiding (i.e., home button pressed). (814ce6d)

Fixed determinate drawable not fully shown when switched from indeterminate mode for the second time in SDK 19/21/23. (04ae5d7)

Fixed indeterminate animation not playing after inflation/being visible in SDK 21. (46d8fba)

Updated linear indeterminate animation. (1ff2d6a)

Updated circular indeterminate animation. (4dd1d84)

1.3.0-beta01

Compare

Choose a tag to compare

Search for a tag

3e3f34dbf65c1a055a0eef6532cffa28.png leticiarossi released this

Dec 16, 2020

Dependency Updates

No dependency updates.

Library Updates

ProgressIndicator (new!)

Fixed incorrect visibility when used in the recycler view. (60723fd)

Renamed indeterminateAnimationType enums "seamless" and "spacing". (77cf940)

Removed unnecessary style attributes from catalog. (f7c4056)

Added sized styles for circular type. (e2a54da)

TimePicker (new!)

Renamed ThemeOverlay.MaterialComponents.MaterialTimePicker to ThemeOverlay.MaterialComponents.TimePicker to be more consistent with other time picker styles (130993d)

Changed text input view to a view stub (3a00d7a)

Removed hint setting (7915087)

Using MaterialColors to correctly read CSLs with theme attributes (9c9e6c4)

Making default theme overlay public (0e04c9d)

Chip

Updated javadocs @see methods to match the actual methods. (3a0de84)

CollapsingToolbarLayout

Updated CollapsingToolbarLayout to support framework android.widget.Toolbar (

Snackbar

Fixed remaining NPEs from #917 (291486c)

TextInputLayout

Fixed placeholder text not being properly announced. (1290f82)

Fixed IndexOutOfBoundsException when trying to change end icon (963ad14)

Other

Added or updated string translations for i18n / l10n (39f7d34)

1.3.0-alpha04

Compare

Choose a tag to compare

Search for a tag

3a685a9d44433eb7036afe1699be20b5.gif wcshi released this

Nov 24, 2020

Dependency Updates

No dependency updates.

Library Updates

TimePicker

Fixed typo in TextAppearance.MaterialComponents.TimePicker.Title (c6351c4)

Add default style attribute (materialClockStyle) to the time picker theme overlay for the clock face and clock hand, making all colors on the clock customizable. (22467b4)

Update title color to be in typography. (7ef5308)

Increased touch target size of AM/PM toggle (37c7f26)

Update image button appearance (4aeb6a9)

Moved TimePicker.Button style to MaterialTimePicker theme overlay. (eec282b)

Added a style for timepicker to customize icons (8da7336)

Added a style for the input mode button (172e7ba)

Added Theme Overlay to set default styles for widgets (7303181, e619132)

Update ripple color on the mode button for time picker to be based on the content color. (1cc34a0)

Changed dimens according to spec (98c090d)

Updated some strings translations for i18n (0ba1ecf)

ProgressIndicator

Updated track thickness used in standalone demo as 2.5 dp. (23b5eb0)

Renamed some attributes. (d57d054)

Hided AnimatorDurationScaleProvider from API. (4ac0fe0)

Made BaseProgressIndicator and BaseProgressIndicatorSpec abstract. (a99966a)

Updated class visibility. (be6ed3d)

Combined attributes show/hideBehaviorLinear and show/hideBehaviorCircular. (e1d9796)

Cleaned up deprecated class and resources. (b1ef02a)

Deprecated LINEAR type in ProgressIndicator and ProgressIndicator. (c76665b)

Fixed incorrect visibility when RecyclerView is used. (a5890bf)

Updated LINEAR type to LinearProgressIndicator in catalog. (8bc3f13)

Made LinearProgressIndicator functional and optimized readability of CircularProgressIndicator. (298dbe7)

Use LinearProgressIndicatorSpec in LINEAR type. (757b4fa)

Added LinearProgressIndicator and LinearProgressIndicatorSpec. (b664320)

Fixed attribute's references and added spec validation to setting indicatorSize in CircularProgressIndicator. (e019b02)

Deprecated CIRCULAR type in ProgressIndicator. (a7f1430)

Updated MDC catalog to replace ProgressIndicator (CIRCULAR type) with CircularProgressIndicator. (f021ef5)

Moved the logic from ProgressIndicator to BaseProgressIndicator and made CircularProgressIndicator functional. (10e7349)

Use CircularProgressIndicatorSpec in CIRCULAR type. (113bff7, 9215166)

Added CircularProgressIndicator and CircularProgressIndicatorSpec. (0a75c74, 5cfcc2e)

Updated ProgressIndicatorSpec to use BaseProgressIndicatorSpec. (9567746, 80aefb3)

Updated MDC catalog to replace ProgressIndicator (CIRCULAR type) with CircularProgressIndicator. (6d0e89a)

Moved the logic from ProgressIndicator to BaseProgressIndicator and made CircularProgressIndicator functional. (322d073)

Added BaseProgressIndicator and BaseProgressIndicatorSpec. (e73d383)

Detach spec object from the drawable classes. (df6334f)

Let indeterminate animator delegate classes use spec directly. (1acb23b)

Let drawing delegate classes use spec directly. (e77fe1e)

Added new attributes and styles for LinearProgressIndicator and CircularProgressIndicator. (1c135f0)

Text fields

Fixed clear text icon hide on double click (8ab270e)

Updated text fields measurements to match spec. (c8197e3)

Added comments explaining edit text padding values. (7bb8c4d)

BottomNavigationView

Updated BottomNavigationView to draw compat shadows and elevation overlays in pre-21 and remove top divider for non-legacy backgrounds. (9a5192a)

Slider

Fixed slider doesn't slide in Horizontal Recycler View (b2b87dd)

Fix touch tracking callbacks (64843c9)

Stop checking for scroll if not in a scrolling container (aad88a0)

Added animation to scale in/out label above thumbs. (1fc5e8c)

Invalidate after new ColorStateList and return early if same (416b8cb)

Badging

Updated getBadgeText to return a string representation of the number formatted using system Locale. (492e50f)

Fix lint error. (bea6978)

Save and restore visibility on config change. (bcb1486)

Update badge to support being anchored to any view in pre 18. (5e35d14)

Tabs

Add a localized a11y string for a tab (cf9027f)

Added initial indicator interpolation extensibility. (f8f3d90)

Show tooltip with tab text or content description (if tab is icon only) when long press. (fd36390)

Chip

If a close icon is purely decorative (e.g. no closeIconClickListener is specified), the close icon should not intercept the click and instead let the superclass manages the touch event for the overall chip. (93f4f16)

Avoid flickering when using downlodable fonts. (bc1bd23)

Support elevation overlay. (6951bd5)

MaterialDatePicker

Fixed overzealous smooth scrolling when horizontally swiping between months (90929ee)

Changes to allow the MaterialCalendar to exist inside a scrollable view. (ffcf70a)

Update string translations (6ad8301)

CollapsingToolbarLayout

Fixed scrolling sibling view bottom cut off issue (a21a300)

Transitions / Motion

Added basic music player and container transform to hero music player demo app. (151be9b)

Updated MaterialContainerTransform to support overshoot and added OvershootInterpolator, AnticipateOvershootInterpolator, and BounceInterpolator options to Catalog demos (ad1d173)

Update ScaleProvider and SlideDistanceProvider to respect and restore a targets original scale/translation. (d4d0dcd)

Added shared axis Activity demo to catalog (4ae97e5)

Updated FadeProvider and FadeThroughProvider to support Activity alpha. (5d0e032)

Updated doc to include ActivityOptions Bundle in Activity transition examples (7d77162)

Updated FadeThroughProvider and FadeProvider to restore target's original alpha value. (49ad522)

ExtendedFloatingActionButton

Add support for initial show animation. (5c83026)

Documentation

Updated bottomnav a11y alt text. (f664c11)

Updated a11y alt-text for dialog and topappbar (4ab20d7)

Updating Card doc with new a11y alt-text. (191a48b)

Fixing docs titles to be H1 (8c6a164)

Fix anchor links in Getting Started guide (f698b87)

Changed Widget.MyApp.MyButton to Widget.MyApp.Button in color doc (f468801)

Update documentation for color (re-ordering sections to move "Theming an Individual Component" is immediately followed by "Theming All Instances of One Component") (d7456a0)

Catalog

change fragment name to be one line max (6076715)

Fixed crash in TransitionMusicAlbumDemoFragment (5642d5f)

Snackbar

Add support for passing a Context to Snackbar.make() (9659a53)

Check for nullable AccessibilityService (b526c77)

ShapeableImageView

Support contentPadding (c4f7de1)

Call invalidateOutline when shape is changed (af73a17)

Other

Moved common ids from bottom navigation to central location so that it can be reused. (be616ab)

Update demo to add an enabled option to the radio group that previously only contained disabled options. (5398d6f)

Update paddings to match spec. (948bb32)

Updated custom background warning message to be more informative. (fe58a4c)

Renamed navigationIconColor attribute to navigationIconTint (e5bed86)

Full list of changes

1.2.1

Compare

Choose a tag to compare

Search for a tag

39a194d5595ec837b2977120e7db2f96.png ymarian released this

Sep 2, 2020

Bug fix release

Library Updates

Slider

Added a warning message if the stepSize or any values are set to float values with a decimal to suggest using integers. (ec7f7cb)

Fixed the validation of the slider step size and values. (194a0aa)

Added XML enabled property to constructor attrs evaluation (86ab1ae)

BottomSheet

Fixed issue where peekHeight is more than the height of the contents (bb0bfe1)

Changed bottom gesture inset handling to ensure a minimum peek height with a buffer built in, instead of always adding the inset to the peek height (when gesture nav is enabled) (53d49e3)

Added missing defensive checks to viewDragHelper calls (775d286)

Transitions / Motion

Removed internal listener from container transform after transition ends. (42b03b3)

Improved MaterialContainerTransform approximation of native elevation shadows by using location of bounds on screen (c9e2ba0)

ShapeableImageView

Fixed shadows for non round rects (821bf26)

MaterialCardView

Fixed NPE if android:onClick is defined in the layout (475e63b)

NavigationView

Fixed obtaining Activity in setupInsetScrimsListener (8059ac1)

Other

Removed re-throw of exception on ViewOverlayApi14 (bc7b108)

1.2.0

Compare

Choose a tag to compare

Search for a tag

3a685a9d44433eb7036afe1699be20b5.gif wcshi released this

Aug 4, 2020

What's New Since 1.1.0?

Transition/Motion subsystem

Slider

ShapeableImageView

Dependency Updates

Dependency

Previous version

New version

Android Gradle plugin

3.3.2

4.0.0

androidx-core

1.1.0

1.2.0

annotation-experimental

N/A

1.0.0

Library Updates

MaterialButton added support for android:background

BottomSheet added support for window insets when peeking

Opened access to MaterialColors

Accessibility improvements

Developer docs updates

Stability and quality improvements

Improvements to the following components:

Button

Badge

Bottom App Bar

Card

Chip

CollapsingToolbarLayout

Date Picker

Floating Action Button

Menu

Snackbar

TabLayout

Text Field

Toggle Button Group

more...

Full list of changes

1.1.0...1.2.0

1.3.0-alpha02

Compare

Choose a tag to compare

Search for a tag

bb9e2f5e19d1079f6cdb2d17ad1eaa9d.png dsn5ft released this

Jul 23, 2020

Dependency Updates

Dependency

Previous version

New version

constraintlayout

1.1.3

2.0.0-beta7

Library Updates

ProgressIndicator

Fixed incorrect visibility change when the component's parent is not visible. (ea9cce8)

Changed class visibility of CircularDrawingDelegate. (aca5307)

Added the function in ProgressIndicatorSpec to load from style. (4005294)

Revived the argument (restart) in setVisible of drawables. (c4f44d2)

Changed drawables to detect system animator duration scale by themselves. (f7bad9a)

Removed explicitly disabling animators. (2803960)

Changed logic to guarantee the indeterminate arc fully collapsed before showing determinate arc. (764f063)

Updated system animation duration scale more frequently. (92aca74)

Updated the drawable setters. (28177cb)

Separated the padding when calculating drawable's intrinsic size. (380c21a)

Invalidated indicator colors properly in animator delegate. (43fe75f)

Unregistered animator complete callback on detach from window to prevent memory leak. (fabd36f)

Replaced ProgressIndicator references in drawable&delegate classes to prevent memory leak and prepare for the stand-along drawable feature. (4ff3031)

Forward fixed "ripple" bug from the fix for indeterminate animation not respecting to system animator scale. (cf98f94)

Added logic to respond to system animation scale settings for determinate types. (984738c)

Fixed indeterminate types disco when system animation duration scale is off. (4ccec4f)

Fixed incorrectly setting drawable's visibility when switching indeterminate mode for API19. (26021ed)

Changed interpolator for seamless linear indeterminate type from LINEAR_OUT_SLOW_IN to FAST_OUT_SLOW_IN. (0b443ad)

Relocated the logic of animator disabling. (e44804f)

Fixed wrong attribute used in indeterminate mode catalog fragment. (90e3839)

Fixed CircularIndeterminateDrawable not resetting animator properly after switching to determinate mode. (c5f900b)

Add new minHideDelay property (924ac3f)

Added auto-cap to limit the indicator corner radius equal to or less than half of the indicator width. (5febeba)

Added support of rounded corners. (48c4ef0)

Fix for non dismissable progress indicator (584d725)

Exposed progress indicator demo. (7b9cd66)

Slider

Added min separation support (b8f4b22)

Fixed exception when restoring instance state (cc03196)

Move static inner classes outside base slider class (34f621d)

Fixed number of values changing in RangeSlider (4eea03d)

Changed slider thumbs to prevent crossing each other (71fcb73)

Changed slider to support very small widths (ba9c2e6)

Keyboard navigation fix (3e3bc41, a49e886)

Transitions / Motion

Removed extra transition background fade duration from MaterialContainerTransformSharedElementCallback in favor of nulling out sharedElementReenterTransition to prevent extra transition from happening (88ca5c9)

Added extra transition background fade duration to MaterialContainerTransformSharedElementCallback to prevent extra Activity transition from happening (889fca5)

Changed MaterialContainerTransform to skip transition instead of crash when no view bounds (6b63c11)

Fix zero-length motion path container transform bug. (3c9096d)

Updated MaterialElevationScale default scale value to 0.85 (ef64df5)

Added MaterialElevationScale transition (3379c45)

BottomSheet

Updated a11y focus to move to bottom sheet when expanded and siblings are hidden from a11y services. (b93042d)

Updated peek height gesture inset behavior to only add extra inset if necessary (7b62003)

MaterialDatePicker

Set min width on the confirm OK button. (d868be2)

Remove datepicker proguard-recyclerview rule (3dcc3ce)

Fixed crash when GridView has not rendered the last child (811d452)

Fixed issue that causes the Datepicker to highlight the wrong day as today. (712a2ce)

ShapeableImageView

Made stroke field nullable (ef3f09d)

MaterialButton

Do not update the checked state of any child buttons during onPressedChanged callback. (15c048c)

Align icon on top (a284edd)

TextInputLayout

Fixed padding for prefix/suffix and label in RTL being wrong. (7b5aea2)

Changing hint announcement. (b274a4a)

Changed prefix/suffix demo it shows number keyboards for the inputs. (3ed776a)

Fixed clear icon and placeholder text being displayed when the text field is initialized with input text. (9b0a8d9)

Fixed icon tint not being applied properly when calling set*IconDrawable (855602b)

MaterialAutoCompleteTextView

NullPointerException on Meizu devices closes #1347 (c59acae)

BottomAppBar

Update menu replacement animation to coordinate with fab alignment animation. (d4a5702)

A11y

Changed the editable exposed dropdown menu's a11y class name to be EditText instead of a drop down since the primary action for the user is to type. (023e518)

Chip

Added standalone drawable demo with Chip in catalog. (5229b3f)

Support setting text size without changing TextAppearance (e5f7951)

Include font padding. (8544f7a)

MaterialShapeDrawable

Fixed exception with int division (26fc10c)

CollapsingToolbarLayout

Fix CollapsingToolbar multiline position (8210b3a)

Fixed slight misalignment during transition in multiline mode (74508c8)

Theming

Move Design widget styles back to full themes from Bridge themes (8851f70)

Other

Update target sdk from 28 to 29 (44ff45c)

Full list of changes

1.2.0-rc01

Compare

Choose a tag to compare

Search for a tag

f3e56c4a991de7a98ed52fd145de83c3.png hunterstich released this

Jul 16, 2020

Dependency Updates

Dependency

Previous version

New version

Android Gradle plugin

3.3.2

4.0.0

Library Updates

Theming

Moved design widget styles back from Bridge to full themes (79cd057)

MaterialButton

Avoid updating the checked state of any child buttons during onPressedChanged callback. (ed66710)

Fixed MaterialButton$SavedState ClassNotFoundException (c2addf1)

MaterialShapeDrawable

Fixed exception with int division (d51ae67)

Slider

Fixed exception when restoring instance state (3101ef0)

Moved static inner classes outside base slider class (a1e0883)

Fixed number of values changing in RangeSlider (ca0110d)

Changed slider thumbs to prevent crossing each other (e5430f9)

Fixed keyboard navigation (49d4068, 134c73e)

Changed slider to support very small widths (f8d0466)

TextInputLayout

Fixed padding for prefix/suffix and label in RTL being wrong (a2a238a)

Fixed clear icon and placeholder text being displayed when the text field is initialized with input text (1b6bb89)

MaterialDatePicker

Removed proguard-recyclerview rule (d8a8569)

Fixed crash when GridView has not rendered the last child (0bcf9d4)

Fixed issue that caused highlighting the wrong day as today (d9b9874)

Updated MaterialDatePicker unit tests to make them deterministic (b45b8ed)

Transitions / Motion

Changed MaterialContainerTransform to skip transition instead of crash when no view bounds are found(0e41541)

Fixed zero-length motion path container transform visual bug (b9d70d3)

Added MaterialElevationScale transition (c438a26)

Fix duplicate container transform when returning during Activity transitions (889fca5)

MaterialAutoCompleteTextView

NullPointerException on Meizu devices closes #1347 (f5708f7)

A11y

Changed the editable exposed dropdown menu's a11y class name to be EditText instead of a drop down since the primary action for the user is to type (a97a555)

CollapsingToolbarLayout

Fixed slight misalignment during transition in multiline mode (f248f60)

Fixed multiline position (491f1bc)

Fixed calculation of expanded bounds (b545ae8)

Chip

Fixed font paddings alignment (b1dfadb)

ExtendedFloatingActionButton

Fixed ripple issue (47ab850)

BottomSheet

Updated peek height gesture inset behavior to only add extra inset if necessary (2664ee9)

Other

Update gradle version (ecf6352)

Added @color/material_on_surface_stroke to res-public (943234f)

Full list of changes

1.3.0-alpha01

Compare

Choose a tag to compare

Search for a tag

39a194d5595ec837b2977120e7db2f96.png ymarian released this

Jun 2, 2020

Dependency Updates

No dependency updates.

Library Updates

ProgressIndicator

Added Progress Indicators (cc88816)

Transitions / Motion

Fixed Activity container transform unexpected flash and fade (57a8ebd)

Fixed MaterialContainerTransform setScrimColor Javadoc error and getDrawingViewId/setDrawingViewId docs typo (119954c)

Updated ScaleProvider to use growing/shrinking naming. Fixed MaterialSharedAxis isForward getter naming. (56b3390)

Updated MaterialContainerTransform to use default scrim color constant instead of theme attribute (f20a91f)

Added support for container transform start and end container colors. (e00df6d)

Updated MaterialContainerTransformSharedElementCallback to support custom shape appearances (a5381ac)

Updated MaterialContainerTransform to support drawing elevation shadows during transition (1094b48)

Fixed container transform start delay flash (6ab9e11)

Added support for adding additional animator providers to MaterialVisibility transitions (b854a73)

Removed TransitionValues params from VisibilityAnimatorProvider interface methods (04c93ea)

Replaced MaterialVisibility subclass static constructors for standard constructors (d025a3b)

Updated MaterialVisibility to not need initialize method (e63cae5)

Updated transitions to be based on androidx and add transitions platform subpackage to support Activities, Windows, etc. (cd36c2f)

BottomNavigation

Updated BottomNavigation to respect left/right system insets (5889993)

MaterialCardView

Prevented content from being clipped by MaterialCardView when a non-round rect is set as the shape. (d09ac03)

MaterialButtonToggleGroup

Fixed bug in shape appearance when only one button is visible (42126ef)

Dispatched button checked after the the button states have been updated and any internal corrections (e.g. singleSelection, selectionRequired) has been made. (2d0e009)

Theming

Set buttonBarButtonStyle in full Material Component themes to use @style/Widget.MaterialComponents.Button.TextButton. (68ccc33)

MaterialButton

Fixed MaterialButton$SavedState ClassNotFoundException (7cfc63e)

Removed AppCompatButton workaround for FloatingToolbar in API 23-25 now that MaterialButton supports android:background. (4fb2375)

Slider

Added range and invalid value to IllegalStateException message to make it more clear. (e521fda)

Split Slider into two classes (8f0aa7f)

Set Slider to be clickable by default. (7d92cd9)

Fixed slider tooltip in popupwindows (b631ef6)

Made Slider a11y helper a static class (59c1560)

Renamed color setters in Slider so it's obvious that color properties are ColorStateList. (7a8f3bd)

TextInputLayout

Fixed crash when calling setBoxCornerRadii when edit text hasn't been added yet. (8a5c95c)

Fixed end icon having unexpected behaviors when it's switched from another end icon mode. (e315754)

Fixed merge icon and view state when setting icon color. (33700b0)

Added setBoxBackgroundColorStateList method and fixing setBoxBackgroundColor method not changing focused and hovered states color like it did originally. (e5a85a2)

Added setters and getters for boxStrokeWidth and boxStrokeWidthFocused attrs. (167020a)

Flipped password icon behavior so that it shows the action (what's going to happen after the click) instead of the current status. (99c6a28)

Added click listener for error icon (1b124af)

ShapeableImageView

Fixed bug when dynamically updating shape appearance (2b676b4)

Changed strokeWidth to float and support null for stroke color (24f9c06)

BottomSheet

Fixed crash in bottomsheet on SDK 17 (6f589d3)

Badging

Updated content description for badge number that exceeds the max supported badge count to say "More than # new notifications" instead of "# and more notifications". (47f3bbc)

Updated badge content description to match badge text displayed (when badge number exceeds max badge number). (eb65ce5)

Chip

[Chip]Fixed chip icon with different width and height (45f5903)

A11y

Fixed the role description of the GMDC bottom navigation item view's accessibility node. (bcaca40)

MaterialDatePicker

Fixed logic to disable positive button when invalid or incomplete dates are selected (7965098)

Fixed check for date input keyboard separator characters for single selection mode (67e9eaf)

Made customDatePicker method public but restricted for now (0bdb2cb)

Fixed issue that causes the Datepicker to highlight wrong the day as today. (d2f81ca)

Fixed Datepicker demo in Catalog application to call the correct method to obtain current date (and time). (9f71950)

Documentation

Updated Switch documentation. (0c7db72)

Updated Checkbox documentation. (83ba040)

Updated RadioButton documentation. (b01058a)

Updated Bottom App Bar doc. (0d61a37)

Updated Card doc. (fbd414b)

Updated FABs doc. (2bc442e)

Updated bottom navigation documentation. (4a8e005)

Full list of changes

1.2.0-beta01

Compare

Choose a tag to compare

Search for a tag

3a685a9d44433eb7036afe1699be20b5.gif wcshi released this

May 28, 2020

Dependency Updates:

No dependency updates.

Library Updates:

Transitions/Motion

Update transitions to be based on androidx and add transitions platform subpackage to support Activities, Windows, etc. (e33c6d5)

Update MaterialContainerTransform to support drawing elevation shadows during transition (fc36640)

Update MaterialContainerTransformSharedElementCallback to support custom shape appearances (df977a0)

Add support for container transform start and end container colors (f095b0b)

Fix Activity container transform unexpected flash and fade (c27de09)

Fix container transform start delay flash (95d9320)

Slider

Split into two classes: slider and range slider (afcda08)

Fix slider tooltip in popupwindows (aab7100)

Fixed MaterialSharedAxis return transition (5b07d02)

ShapeableImageView

Support dynamic update of shapeappearance (4518be3)

TextInputLayout

Fixing crash when calling setBoxCornerRadii when edit text hasn't been added yet (d0f7d49)

Fixing end icon having unexpected behaviors when it's switched from another end icon mode (0631c53)

Adding setBoxBackgroundColorStateList method and fixing setBoxBackgroundColor method not changing focused and hovered states color like it did originally (7423884)

Adding setters and getters for boxStrokeWidth and boxStrokeWidthFocused attrs (008c199)

Flipping password icon behavior so that it shows the action (what's going to happen after the click)

instead of the current status (36bdb70)

Add click listener for error icon (3738698)

MaterialDatePicker

Disable positive button when invalid or incomplete dates are selected (a310f90)

Fix check for date input keyboard separator characters for single selection mode (45fb932)

Fixed issue that causes the Datepicker to highlight wrong the day as today (0bbc848)

MaterialButtonToggleGroup

Single visible button corners (680619b)

MaterialRadioButton

Fix tint from theme attributes on api 21 + add test (7697699)

Set buttonBarButtonStyle in full Material Component themes to use

@style/Widget.MaterialComponents.Button.TextButton (89f2248)

Talkback / Screen reader improvements

Latest version of Talkback now provides information about grouped context to screen readers (e.g. tabs will now announce x out of y tabs)

Breaking Changes:

Transition/Motion

Transition classes now extends AndroidX's Transition lib instead of the Framework version. Use platform sub-package for the Framework version.

Removed TransitionValues from VisibilityAnimatorProvider methods

Removed static create methods from MaterialFade, MaterialFadeThrough and MaterialSharedAxis in favor of regular constructors

Made several Transition classes final

Renamed MaterialSharedAxis#isEntering method to MaterialSharedAxis#isForward

MaterialDatePicker

Restricted visibility of customDatePicker method

Slider

Split into two classes, Slider and RangeSlider

ShapeableImageView

Change strokeWidth to float and support null for stroke color

1.2.0-alpha06

Compare

Choose a tag to compare

Search for a tag

f3e56c4a991de7a98ed52fd145de83c3.png hunterstich released this

Apr 13, 2020 · 3 commits to master since this release

Dependency Updates:

No dependency updates.

Library Updates:

Button

Support for android:background ! (309d718)

Transitions/Motion

Fixed MaterialSharedAxis return transition (5b07d02)

Fixed MaterialContainerTransform flashing on API 22 (0f0942b)

Remove context parameter from all transition constructors (2a2792d)

Deprecated transformation package in favor of new transitions package (bbb534e)

Chip

Color contrast a11y improvements (5834d44)

0dp corner radius support (ded0c3f)

BottomSheet

Support window insets when peeking (4e28d9c)

Misc

Opened up access to MaterialColors (6602bf6)

1.2.0-alpha05

Compare

Choose a tag to compare

Search for a tag

39a194d5595ec837b2977120e7db2f96.png ymarian released this

Feb 20, 2020

Dependency Updates

Dependency

Previous version

New version

androidx-core

1.1.0

1.2.0

Transitions/Motion system

Sliders

Added support for multiple Slider thumbs (a6e28be)

Fixed Slider rounding error caused by floats (7679158)

Updated to handle single tap for Slider in scrollable container (1bc4f60)

ShapeableImageView

Now supports Animatable drawables (20d2efe)

Chipgroup

Fixed double emission on check state change when selectionRequired is true (401b99e)

TextInputLayout

Fixed gravity "top" is not working for hint (#933)

DatePicker

Added more validators (89e0e56, 4ccb052)

Fixed Crash - Scroll to Min Year of CalendarConstraint (e664b98)

MaterialButtonToggleGroup

Fixed SelectionRequired attribute doesn`t enforce checkedButtonId to be a valid id (returns -1) (e56b141)

CollapsingToolbarLayout

Added support for multiple lines (Experimental Feature) (7822b6d, 83e4e47, d7554ad)

Shapes

Added ShapePath#cubicToPoint() (983ee3d)

Clarified ShapePath#quadToPoint() will only draw native shadows (1e1100f)

Fixed interpolation for MSD round rects (8e8d20c)

A11y

Added roleDescriptions to tabs for accessibility (811ea17)

Added support for D pad and keyboard control for Slider (4c99e53)

Added A11y support to slider (340cdea)

Docs

Made improvements to docs section Button docs

1.1.0

Compare

Choose a tag to compare

Search for a tag

9055d754b0870af3787867655de714af.png cketcham released this

Feb 3, 2020 · 370 commits to master since this release

Dependency Updates:

No dependency updates.

Library Updates:

No library updates

Full set of changes: 1.1.0-rc02...1.1.0

1.2.0-alpha04

Compare

Choose a tag to compare

Search for a tag

6b08f462e4d011b5ed1bf31a827121f9.png pekingme released this

Jan 21, 2020

Dependency Updates:

No dependency updates.

Library Updates:

Slider

Added getters and setters of colors (3e212ef)

Added option to hide label (9ae1494)

Added OnFocusChangeListener (7691797)

Removed the invoke of requestDisallowInterceptTouchEvent(false) in ACTION_UP (d864118)

Removed unnecessary invalidation if the values haven't changed (e38d260)

Fixed halo rendering bug (5f631d4, df61bff)

Fixed no OnChangeListener fires when value changed with single click, and setting same values will trigger listener event (9bbcd2d)

Fixed crash with NullPointerException when set value before laid out (fa4dc3d)

Updated Tooltip dimensions to match spec (2098c0b)

SeekBar

Added missing functionality from SeekBar regarding touch events and value changes (cde09d4)

BottomSheet

Allowed collapsed bottom sheet to settle to half expanded state on dragging up (67fc0c9)

Added an ability to prevent dragging to expand/collapse (5b4ea9c)

Removed existing content during each setContentView (6c1b620)

TextField

Fixed crash when password is clicked and edit text is not focused in TalkBack mode (8ed0ab7)

Fixed outlined text fields not taking into account top padding (bf6ece0)

Fixed input text not being disguised by default when setting the end icon mode to password_toggle (e624c02)

Fixed expanded label not updating if edit text's size is changed programmatically (ffcb46b)

Fixed disabled color set for android:textColorHint not being applied on the label (16024fd)

Fixed label misalignment in legacy text fields when there is prefix/suffix (338d326)

Chip

Added CollectionInfos and CollectionItemInfos to ChipGroup and Chip for accessibility (253cdc2)

Fixed RTL padding issue (ba8e18e)

Selection

Added CollectionInfos and CollectionItemInfos to MaterialButtonToggleGroup and MaterialButton for accessibility (4389a18)

ShapableImageView

Support more types of Drawables (36426fc)

DatePicker

Added support to start in MaterialTextInputPicker mode (0e6c21d)

TabLayout

Fixed crash on autoRefresh disabled mediator (07931b6)

Fixed backward compatibility issue (17912e0, 3cd591f)

Menu

Fixed icons get squeezed for API <=21 (c6a554f)

MaterialShapeDrawable

Fixed shadow paint not updating color while setting shadow color (9f48006)

FAB

Added support for enabled/disabled state (94cd734)

Shrine

Updated deprecated volley dependency (870a732)

Catalog

Fixed strings text of ImageView (1dfc328)

Added new thumbnail for entry in the catalog for List (7b0a41d)

1.1.0-rc02

Compare

Choose a tag to compare

Search for a tag

bb9e2f5e19d1079f6cdb2d17ad1eaa9d.png dsn5ft released this

Jan 17, 2020

Dependency Updates:

No dependency updates.

Library Updates:

TabLayout

Updates to listeners to maintain binary compatibility (6c41388, 09d87fe) - Resolves #903

Prevent crash for autoRefresh disabled TabLayoutMediator (3e98044) - Resolves #877

TextInputLayout

Fixing crash happening when password toggle is clicked without the edit text having focus in TalkBack mode (d5b2d81)

Snackbar

Fix NullPointerException in BaseTransientBottomBar (c6b39c3) - Resolves #917

1.2.0-alpha03

Dependency Updates:

Dependency

Previous version

New version

annotation-experimental

N/A

1.0.0

coordinatorlayout

1.1.0-rc01

1.1.0

viewpager2

1.0.0-rc01

1.0.0

Library Updates:

Slider

Add OffsetEdgeTreatment (5f4a139)

Initial implementation of TooltipDrawable (a282afe, c421319)

Update Slider to use TooltipDrawable (5d1a369)

Fix issue where you cannot set stepSize < 1.0 (58190de)

Remove the requirement to setClipChildren false on the parent of Slider (df94cd1)

Add option to set the track height of the Slider (fe160f3)

Rename Slider forceDrawCompatShadow to be forceDrawCompatHalo (6adbcc2)

Draw the halo color instead of the thumb color for the compat halo for Slider (b1816e1)

Recalculate Slider ticks when the step size changes (1723dd4)

Rename slider tick and track color attributes to keep them together when sorted alphabetically (921d392)

Fix height of Slider when floating label is false (dc17035)

Update the radius of the Slider RippleDrawable (b2deaa3)

Fixed behaviour when Slider is in a scrolling container (a7da96f)

ShapeableImageView

Add new ShapeableImageView component (15ed06e, 1aef5b9)

MaterialButtonToggleGroup

Add selection required option to MaterialButtonToggleGroup (a4b9032)

MaterialShapeDrawable

Update MaterialShapeDrawable to handle overlapping edge and corners (8ed1484)

Enable non convex shadows on Q (bb1e9e4)

TextInputLayout

Accessibility improvements for hint, error, and helper text (29f3d05, 6849bae, b78be8d, 11c57ab)

Adding onInitializeAccessibilityNodeInfo override in TextInputEditText (6efedee)

Limiting helper/error view width so that counter view doesn't get pushed out (eabbfa2)

Add support for placeholder text in TextInputLayout (201ec62)

Fixing cutout not working with CENTER_HORIZONTAL (9dcb121)

Pan window so that keyboard doesn't hide helper/error views (2084fd3)

MaterialCardView

Disable MaterialCardView bitmap drawing (781e79f)

Chip

Support tinted chip icons (d25fa92)

Support setting textAllCaps in textAppearance xml (e3be6b0)

Fix chip text mis-alignment when its width is less than the minimum recommended touch target width (a320475)

BottomAppBar

Handle horizontal system insets for BottomAppBar (6405635)

Proguard

Use conditional keep rule for MaterialComponentsViewInflater (d7a5dc8)

1.2.0-alpha02

Dependency Updates:

Dependency

Previous version

New version

coordinatorlayout

1.1.0-beta01

1.1.0-rc01

viewpager2

1.0.0-beta05

1.0.0-rc01

Library Updates:

Accessibility updates and documentation improvements.

BadgeDrawable

Add support for vertical & horizontal offset (632675e)

BottomAppBar

Add ability to enable/disable bottom inset padding (b9f8ee9) (67491fc)

ChipGroup

Add support for requiring a selected chip via selectionRequired attr (573efa4)

1.2.0-alpha01

Dependency Updates:

Dependency

Previous version

New version

appcompat

1.1.0-rc01

1.1.0

core

1.1.0-rc03

1.1.0

transition

1.0.1

1.2.0

vectordrawable

1.1.0-rc01

1.1.0

viewpager2

1.0.0-beta03

1.0.0-beta05

Library Updates:

New Slider component!

Theming:

Move Material-only default component styles from full themes to bridge themes (b1a6256)

Expose utility class for supporting materialThemeOverlay in a style (115313c)

TextInputLayout:

Add support for prefix and suffix text (6e5ddcf) with demo (d1444e2)

MaterialButtonToggleGroup:

Support VERTICAL orientation (24ab59a)

Snackbar:

Add support for message text styling via snackbarTextViewStyle attr (b997092)

Add support for app:backgroundTint and app:backgroundTintMode (95af724)

Respect left/right system window insets (0c8c6f6)

1.1.0-beta01

What's New Since 1.0.0?

Material Dark Theme for all components

New Date Picker with range functionality and accessibility improvements

Badging for Tabs and Bottom Navigation

Extended Floating Action Button

Toggle Button Group

Android 10 component support for edge to edge gesture navigation

Accessibility improvements

Material Theming (Shape, Typography, Color)

Stability and quality improvements

Dependency Updates:

Dependency

Previous version

New version

appcompat

1.1.0-rc01

1.1.0

core

1.1.0-rc03

1.1.0

vectordrawable

1.1.0-rc01

1.1.0

viewpager2

1.0.0-beta03

1.0.0-beta04

Library Updates:

Shape System

Supporting percentage-based relative corners for ShapeAppearanceModel + MaterialShapeDrawable (c831ecc, 53e181b)

Date Picker:

Month is no longer part of MaterialDatePicker public API (6bc8788)

MaterialDatePicker now forces UTC (306d812)

Badging:

Update Badge Gravity values (4f771b2)

Bug fixes:

Fix Fragment leak in NavigationView (8555310)

Fixing ExposedDropdownMenu crash when device is rotated. (0e410d4)

Add space to the bitmap for drawing shadows to prevent clipping (99a8bd7)

API changes:

Update naming of Snackbar gesture inset ignore flag (d7b0a82)

Fix binary compatibility issues with MaterialShapeDrawable (8410a88)

Update Corner Size for builder to use floats (b8da637)

Change MaterialButtonToggleGroup to extend LinearLayout (410bc07)

Rename setCornerRadius to setAllCornerSizes (a0547c6)

TabView class is now public (2966cfb)

Remove content layout from card view (f3bd092)

1.1.0-alpha10

Dependency Updates:

Updated to androidx.viewpager2:viewpager2:1.0.0-beta03

Updated to androidx.core:core:1.1.0-rc03

Library Updates:

Date Picker:

Change picker package to com.google.android.material.datepicker (72d54c6)

Allow an initial selection for MaterialDatePicker (4277809)

Set elevation for MaterialDatePicker dark mode (6bd22d7)

Accessibility improvements for date picker (fc195cf, 3da7ddc)

Fix keyboard navigation in MaterialDatePicker (6050541)

Migrate MaterialCalendar from ViewPager2 to RecyclerView (135df4e)

Text Field:

Fix TextInputLayout not parsing boxStrokeWidth attr and add boxFocusedStrokeWidth attr (58ccce1)

Add OnLongClickListener setters for text field icons (48d775d)

Add text field error icon documentation (631c320)

Add frame wrapper for TextInputLayout end icon (1c4f77c)

Shape:

Add builder to ShapeAppearanceModel (ca91442)

Update usages of ShapeAppearanceModel to use Builder pattern (1f1871f)

Make ShapeAppearanceModel immutable (27b58f1)

Remove unnecessary calls to set compound drawables in MaterialButton (cfeecaa)

Make cornerSize a private field in CornerTreatments (f52407e)

Fix inconsistent material shape animations in bottom sheet (ac9ca51)

Miscellaneous:

Fix bug in which chip dropped state_pressed and state_focused (d60fb3f)

Refactor Extended FAB to simplify its API (58d2085)

Rename TabLayoutMediator.OnConfigureTabCallback to TabLayoutMediator. TabConfigurationStrategy (94d2928)

Catalog Updates:

Add button to switch the Catalog app in and out of edge to edge mode (4e78a59)

Update base Catalog demo activities and fragments to support edge to edge (4118b91, 825531b, 5f6930e)

Update Bottom App Bar demo in the Catalog app to support edge to edge (6b664ad, 1493fcd)

Update TabsControllableDemoFragment to support small screen, landscape and edge to edge with transparent status and navigation bars on Q (ba3d790)

Fix FAB demos in edge to edge (0396311)

Fix invisible status bar icons against the white status bar and invisible navigation bar icons in edge to edge for API 27 (64e6fd4)

1.1.0-alpha09

Dependency Updates:

Updated to androidx.viewpager2:viewpager2:1.0.0-beta02

Removed androidx.legacy:legacy-support-core-ui:1.0.0

Removed androidx.legacy:legacy-support-core-utils:1.0.0

Java 7: This release compiles with Java 7, a revert from 1.1.0-alpha08 which compiled with Java 8.

Library Updates:

Date Pickers are now available for early access! (APIs are still subject to change)

In MaterialCalendar, Switch from Calendar to Long in all cases (dfbb1d0)

Add CalendarConstraints Builder (6eb692d)

Validate TextInput dates in MaterialDatePicker (e6ee275)

Add MaterialDatePicker and CalendarConstraints to the public API (5d58de9)

Badge:

Add support for configuring badge gravity (0558a36)

Bottom Navigation:

Do not unconditionally override icon tint in BottomNavigationItemView (c42b77f)

Update BottomNavigation to respect bottom system insets (276bec8)

Text Field:

Adding option to set TextInputLayout icons to be not checkable (6a88f2b)

Implementing error icon for text fields (3f73804)

Java 7:

Switch from DefaultLifecycleObserver to LifecycleEventObserver as the material library will be going to back to compiling to Java 7 (36a86f4)

Revert the library to compile with Java 7: revert lambdas, add necessary casts, and make some variables final (a628bf5)

Fix for SwipeDismissBehavior (b4c21e7)

Catalog Updates:

Fix BottomNavigation demo crash on pre API 21 devices by enabling AppCompatDelegate#setCompatVectorFromResourcesEnabled (ca9d11d)

In Bottom Navigation catalog demo, ensure that the badge on the first menu item is visible (195ca81)

Add catalog demo for SwipeDismissBehavior (3e42b07)

Update Tabs demo in catalog app to support configuring badge gravity (87f9e53)

Update Catalog Button demo to use CoordinatorLayout, which enables Snackbar swipe to dismiss behavior (dc69263)

1.1.0-alpha08

Dependency Updates:

com.google.truth:truth:0.45

androidx.viewpager2:viewpager2:1.0.0-alpha05

androidx.lifecycle:lifecycle-runtime:2.0.0

androidx.lifecycle:lifecycle-compiler:2.0.0

androidx.appcompat:appcompat:1.1.0-rc01

androidx.coordinatorlayout:coordinatorlayout:1.1.0-beta01

androidx.core:core:1.1.0-rc02

androidx.vectordrawable:vectordrawable:1.1.0-rc01

Java 8

Android Gradle Plugin (AGP) 3.3.2

Gradle 4.10.1

compileSdkVersion Q

Library Updates:

Dark Theme updates:

Add primary surface color and styles for switching between primary color (not-night) and surface color (night) (f2db1d9, 3753456, d3b7c72)

Change elevation overlay (dark theme) to be based on absolute elevation (5df3beb, cd1b6cd) and some API updates (6783f9e)

Chip: publicly expose ChipGroup#setSingleLine (6589e54), fix Chip getText doesn't work when setShouldDrawText is true (8c0f6f7), and support state_checkable (bee3793)

Change ripples on MaterialButton and Chip to use the alphas provided in the ColorStateList. (1f4ea84, 36b760d, b857c79)

MaterialButtonToggleGroup - Add uncheck(int id) API for unchecking single button to MaterialButtonToggleGroup (cda68ed)

TextInputLayout: fixed passwordToggleEnabled="false" behavior (16a6e72), only make filled text field hint vertically centered if edit text's min lines is 1. (34e9ab2), accessibility improvements (2ec8717), adjustments to start/end icons (4130215, 15b721c), and animate clear button icon (b89a91c)

Exposed Dropdown Menu: some accessibility and focus improvements (cb5430e) and animate dropdown icon (326dc8a)

Added auto-inflated MaterialTextView which looks at the lineHeight set in the textAppearance. In order to disable this, set textAppearanceLineHeightEnabled = false in your theme. (12024f6, d7a9248)

Fix FAB insets when anchored to BAB (c6c4ec4)

Make BottomAppBar respect insets for Android Q Edge to Edge support (1aa7125)

Delegate overscrollmode in navigation view to inflated MenuView (19aeb9b)

Fix [MaterialCardView] checked icon sometimes takes up the entire card (59a4185)

Change snackbar duration timeout (469c126)

Update AppBarLayout lift on scroll finding of liftOnScrollTargetViewId to be based on nested scrolling view instead of Activity when possible (3b7e1b4)

Add tooltip fallback to Bottom Navigation item titles (c045cca)

Add neutral palette colors to Theme Overlays (591ba96)

Added animator getter to MotionSpec that supports a non-view target (8e6cd13)

Expose CircularRevealHelper.Delegate (d37303e) and ShapeAppearancePathProvider (1c5df57)

1.1.0-alpha07

Library updates:

Adding styling for ListPopupWindow along with dark theme support (0f7eaaa)

TabLayoutMediator (95a93df)

BadgeDrawble integration into TabLayout (5fdfd9d)

Talkback support for badge + TabLayout (b247e00)

DayNight Bridge Themes (daa3a04)

Snackbar add support for changing text & background tint color at runtime (d7e994a)

Add shaped selected item background to NavigationView and updated item background color (ab87dd5)

Add API to set customization of expandedOffset in BottomSheetBehavior (e1222dd)

Allow BottomSheet to settle to Half-expanded state on drag (3560a3a)

TextField password toggle end icon automatically updates checked state (5f8f604)

Remove CSL theme attribute workarounds (8f62228)

MaterialAlertDialogBuilder to respect setCanceledOnTouchOutside (bc36b69)

Demo updates:

Material Theme Builder (66e9c7f)

Update Catalog dark theme demo toggle with system default (9f692ec)

Exposed Dropdown Menu Demo updates (4e38a97, cc63b86)

Add catalog choose “Light/Dark/System default” Theme to Theme Switcher (fde196d)

BadgeDrawable integration into TabLayout demo (111cd00)

1.1.0-alpha06

Dark Theme, exposed dropdown menu, badges, and more!

Dark Theme Elevation Overlays support (7b72c17)

Implement Shapeable interface in MaterialButton (d5bbc9c)

Begin integrating BadgeDrawable into BottomNavigationView (00ffe5e)

Implement new MaterialToolbar class that provides support for Dark Theme elevation overlays, if not using AppBarLayout (249e6f5)

Add support for translationZ to MaterialShapeDrawable (1889b9f)

Update ExtendedFAB to support setting corner radius via shape appearance (163c0ed)

Add support for end-aligned iconGravity in MaterialButton (c42eb1e)

Add Dark Theme toggle to Catalog (cd24d3f)

1.1.0-alpha05

Add elevation overlays support for dark theme in BottomAppBar (d1b56c3), BottomNavigationView (d6cb349), Bottomsheet (a192f47), Chip (6ebcd64) Dialogs (19b6960), FloatingActionButton (3f43a2a), MaterialButton (5848f1f), MaterialCardView (1a1788a), Switch (f0c4e8b); demo (7b59439)

Add MaterialButtonToggleGroup (cad9d7d) and demo (4895151)

Add MotionSpec support to ExtendedFloatingActionButton (abbec48)

Add Menu overlay color for APIs 23+ (912045f)

Add OnChangedListener to respond to ShapeAppearanceModel changes and Shapeable interface, and implement it in Chip (ca07e5f)

Add API to set height of a half expanded Bottomsheet, in proportion to parent height (5aebe1a)

Update surface colors to match spec (912045f)

Update BottomSheetBehavior to use Nested Scrolling 3 (d6f7b7c)

Adding support for TextInputLayout start icon (2642ff2)

Support disabling min touch target size in FloatingActionButton (05bc557)

Composite chip surface and background color to reduce ovedraw (3bd6fd4)

Change MaterialCardView's strokeColor to be a ColorStateList (8b277ed)

Remove background from MaterialComponents Fab style (fd4d662)

Update MaterialButton checked colors (bc33a80)

Update BottomNavigationView's Widget.MaterialComponents style variants to use MaterialShapeDrawable (a1f6a72)

Change setElevation in MaterialShapeDrawable to use default offset (01874ad)

Improve MaterialButton Talkback support. (3bce1b6)

1.1.0-alpha04

Add Extended FAB component (63d11da) and demo (b701cea)

Fix clipped edges of the filled text field's underline (beee015)

Add shadows to MaterialButton for APIs below 21 (75db215)

Add BottomSheetBehavior SavedState API (901ba79)

Fix double underline that appeared when using a TextInputLayout with a non-TextInputEditText style for the EditText child (41d919a)

Update chipSpacingHorizontal to 8dp match spec. (6f73e58)

Make CircularRevealCardView extend MaterialShapeDrawable (f42e432)

Add bridge themes for Dialog (5287b8e)

Add checked state to MaterialButton (441877f)

Fix padding of TextInputEditText when an icon is present (b7f520d)

Fix MaterialShapeDrawable bug that caused both compat and native shadows to be drawn for round rects in 21+ (c0de00c)

Add SCROLL_FLAG_NO_SCROLL flag for AppBarLayout.LayoutParams (76a9b23)

Adding support for a custom end icon for the TextInputLayout. (5685941)

Add an attribute for materialButtonOutlinedStyle (991927f)

1.1.0-alpha03

Updated AppBarLayout to NestedScrolling3

Updated Chip to support dynamically changing texts in RTL layout

Support checkable in card view

1.1.0-alpha02

Shape Theming: FloatingActionButton, MaterialButton, Chip, MaterialCardView, BottomSheet, & TextInputLayout updated to use the new Material shape system

Accessibility fixes for MaterialButton and Selection Controls (Checkboxes, RadioButtons, & Switches)

New MaterialAlertDialogBuilder class for Material themed dialogs (WIP)

Fix BottomAppBar Invalid Region crash on Android P (#235)

1.0.0

bb9e2f5e19d1079f6cdb2d17ad1eaa9d.png dsn5ft released this

Nov 15, 2018 · 279 commits to master since this release

Stable release of new com.google.android.material namespace (used to be android.support.design)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值