Skip to content

1.3.0-alpha03

Compare
Choose a tag to compare
@raajkumars raajkumars released this 01 Oct 21:10

Dependency Updates

Dependency Previous version New version
constraintlayout 2.0.0-beta7 2.0.1

Library Updates

  • i18n / l10n
  • NavigationView
    • Fix obtaining Activity in setupInsetScrimsListener (a6a750b)
    • Support for shapeAppearance and shapeAppearanceOverlay attributes (e6f05bc)
  • MaterialDatePicker
    • Updated header title strings to match spec (d827426)
    • Fixed formatting of year month date pattern for year selection dropdown (98c7cd1)
    • Fixed issue where default selection date would visually stay selected when choosing different date (8f455c0)
    • Updated default selection-based openAt logic to consider valid calendar constraints (5507687)
    • Fixed the filled range with RTL layout (ea76386)
    • Delay showing validation error by 1 second (5541f02)
    • Updates the color of the month labels in fullscreen mode (c65a262)
    • Changed openAt to default based on selection, if not provided (193ce2d)
    • Allow for styling dialog close icon color for full screen dialog (bf86d82)
    • Added a datevalidator for multiple range (85739c7)
    • Added DateValidatorPointForwardTest (b3913cb)
    • Update month and year navigation to use the correct color (6cb28b9)
    • Made some MaterialCalendar related methods/classes public, but still restricted. (431e092)
    • Allow RangedDateSelectors with multiples ranges in different months to be shown correctly. (fb23eff)
    • Speed up calendar performance by only updating certain views when a day is clicked, instead of recreating and redrawing all of them. (b12c5c5)
    • Fix the failed test cases in DateStringsTest (2353a29)
    • Added placeholder text in text input mode to show date format (6050bd4)
    • Fixed orientation of next/previous month button icons for RTL languages (b82d41f)
    • Updated text input mode to respect custom theme res id (5bd64f4)
  • A11y
    • Fixed dropdown list not focusing for editable dropdown menus. (be8fc51)
  • TimePicker
    • Fixed ClassCastException with a Bridge Theme (a4b008e)
    • Added the ability to switch to text input mode when double tapping the selected number (bad8131)
    • Added content description to button to switch input modes (4fa1341)
    • Added setters for the title string (91c972c)
    • Documented hour and minutes ranges (c0be2c0)
    • Changed positive listener to be an OnClickListener (0aed26b)
    • Support formatting the numbers depending on the configuration locale (a543032)
    • Added docs (c11ef51)
    • Removed newInstance method in favor of Builder Class (dbbd27c)
    • Added listeners (2ccc716)
    • Fixed size on edit text smaller than on chip button (5f9aa7f)
    • Fixed incorrect offset applied to shaders (dd254c5)
    • Removed checkable from timepicker mode button (8ea36ae)
    • Fixed exception when shrinkResources is enabled (162205b)
  • BottomSheet
    • Fixed issue where peekHeight is more than the height of the contents (e944d1b)
    • Changed DialogFragment import to package qualifier in javadoc. (d30f4d2)
    • Add custom action to drag bottomsheet half expanded. (db4275f)
    • 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) (0df7724)
    • Added missing defensive checks to viewDragHelper calls (3821664)
    • Fixed NullPointerException when calling updatePeekHeight with null viewRef (96674d5)
    • Updated gesture inset bottom to be saved in separate field to fix compounding peek height issue (9fa9f1e)
  • Transitions / Motion
    • Fixed crash in container transform view demo. (f73d354)
    • Updated MaterialFadeThrough to respect client-set alpha values on target views. (06322aa)
    • Added content to the contact card in the View Container Transform demo. (4f5e045)
    • Added a contact card to View Container Transform demo and created an expanded card for cards transition into. (653701d)
    • Update doc with guidance about "Container transform: fade through variant" (474f912)
    • Added resource links to documentation (77c71f3)
    • Fix catalog hero demo from loosing scroll position when returning to album list. (0314540)
    • Swapped shared axis code snippet order for better readability (35b914e)
    • Updated Catalog container transform enter/return configuration Slider step sizes to fix crash (a83011d)
    • Fix intermediate flash during view container transform demo. (3f52e7f)
    • Formatted AndroidX vs Platform transitions info in Motion.md doc (f00cd57)
    • Made shared axis end view in catalog demo scrollable. (acdd3a9)
    • Removed internal listener from container transform after transition ends. (05e0496)
    • Updated library version in doc to 1.2.0 stable (eb1c8a6)
    • Improved MaterialContainerTransform approximation of native elevation shadows by using location of bounds on screen (23d6100)
    • Updated docs to include view-to-view targeting requirements (76cba45)
  • Chip
    • Fixed wrong behavior when checked chip with id = NO_ID is added to ChipGroup (6d75b92)
    • Update chipgroup demo to include switch to toggle the requiredSelection attr. (4b01ac4)
    • Generate a valid ID for Chip view on any API level (6daf233)
  • Snackbar
    • Added ability to have Snackbar position respond to anchor view layout changes (89a1bf8)
    • Changed dimens according to spec (391d1f8)
  • MaterialButton
    • Support setting vertical insets programatically (f837cb7)
  • ProgressIndicator
    • Fixed update listener for determinate drawable. (f330ee8)
    • Removed custom drawing support to minimize API exposure. (395c2cd)
    • Added the setter for component's visibility after hide animation. (f0b8c15)
    • Fixed the style used on indeterminate drawable in the standalone demo. (7200cd5)
    • Updated style names. (90f041d)
    • More cleanup of renaming indicatorWidth to indicatorSize. (78aa3ea)
    • Corrected the behavior and comment of the setProgress to align with the framework ProgressBar API. (4d866b0)
    • Improved inflation performance. (416eab5)
    • Renamed indicatorWidth with indicatorSize to eliminate the confusion of indicatorWidth controlling view height in LINEAR types. (77582b5)
    • Fixed canvas state leak in IndeterminateDrawable. (5a1c183)
    • Added a new attribute to delay show actions. (0b82e81)
    • Improved the readability of initializeDrawables() function. (eaa0a7f)
  • Tabs
    • Added getter in TabLayoutMediator to return whether a TabLayout and a ViewPager2 are linked together. (5c9e250)
    • Added support for preserving the indicator drawable's intrinsic color (84fd465)
    • Add a setId method that can be used for espresso (4e62f96)
  • MaterialButtonToggleGroup
    • Fixed margins on MaterialButtonToggleGroup when changing orientations (70d659d)
  • Documentation
    • Updated switch doc name file. (fe470c0)
    • Renamed timepicker to TimePicker (d09b416)
    • Updated FloatingActionButton doc (d88ff77)
    • Changed path for timepicker.md (255a23f)
    • Slider - added tickVisible (d24c6d8)
    • Fix typos. (f6700fb)
    • Fixed the itemTextColor attribute in the BottomNavigationView doc (569743e)
    • Fixed password icon image example in text field doc. (d99dafb)
  • Slider
    • Fixed trackSidePadding when thumbRadius >= 16dp (7c6dc5f)
    • Added options to set thumbStrokeColor and thumbStrokeWidth (487e321)
    • Adds a warning message if the stepSize or any values are set to float values with a decimal to suggest using integers. (7e37eaa)
    • Fix the validation of the slider step size and values. (5004d5a)
    • Added option to show/hide tick marks in discrete mode (5fb7964)
    • Added XML enabled property to constructor attrs evaluation (57a31ca)
  • Catalog
    • Updated menu labels (130d05a)
    • resolve lint issue with linear layout (71941cd)
    • Small javadoc update. (06787e3)
    • Replaced getFragmentManager because deprecated (0d3bf85)
    • Fix the wrong use of FragmentManager in TabsControllableDemoFragment (e940c09)
    • Save/restore 'popupItemLayout' in MenuMainDemoFragment to fix crash (64b3387)
    • Fix the wrong initialization in ThemeSwitcherDialogFragment (2badebf)
  • ShapeableImageView
    • delay initialization of shadows drawable (bcf54ab)
    • Fixed shadows for non round rects (fbefa5a)
  • MaterialShapeDrawable
    • Convert ShapeAppearancePathProvider to a singleton. (c59c046)
  • TextInputLayout
    • Fixed wrong position of the counter when helper or error text are removed (8bcc8ee)
    • Fixed wrong hint position when an error is shown and field is empty and unfocused (b48b445)
    • Allow hint text set in TextInputLayout to be passed on to the Autofill service (fc1208f)
    • Added hintText, helperText, placeholderText to restoreInstanceState (076ff69)
    • Added id for errorIconView (ee93fc1)
    • Added method to set hint with a String resource (fcea6e8)
    • Fixed helper text position for large font sizes. (1f8e76b)
  • BottomNavigationView
    • Updated menu item selection animation to match spec (8ec11a1)
    • When setting the CollectionItemInfo on a BottomNavigationItemView, figure out its position amongst the visible menu items instead of using its item position. (e8e901e)
    • Added setItemOnTouchListener method to support custom touch handling (cbc7af2)
  • MaterialCardView
    • Added options to set custom checkedIcon size and margin (df0401b)
    • Fixed NPE if android:onClick is defined in the layout (1b0cfae)
  • BottomAppBar
    • Updated FAB Alignement and menu replacement to fix different length menu res translation x bug (8be3efc)
  • ExtendedFloatingActionButton
    • Fix padding and spacing (14c70f0)
    • Added support to configure different size when collapsed. (bd731f4)
    • Improved text label expand/collapse animation (7d3cb73)
  • CollapsingToolbarLayout
    • Added collapsingToolbarLayoutStyle default theme attribute (a6d788f)
  • Other
    • Removes duplicated gradle-wrapper.jar (4aecc09)
    • Updates gradle-wrapper.jar (e71f0d2)
    • Fix formatting of copyrights in xml (2f9c2b0)
    • Update Constraint layout to stable version (90aa511)
    • Add utils class for Toolbars. Restrict it to library. (157d9ce)
    • Update Catalog to return user input and show it in a toast for multi-select list and single select list demos. (6afbc7b)
    • Update .travis.yml (eb4a3ed)
    • Fix travis CI failure (478f559)
    • Added navigationIconColor attribute (d5eeea6)
    • Remove outlined and filled dialog demos from our catalog as these aren't part of the spec (f55c055)
    • Added isLifted() getter (4a0f60c)
    • Removes the third action from the catalog since the guidelines advice against having more than two. (1ec32fc)
    • Add demo with centered icon and title to the catalog (11c46e6)
    • Added expandedHintEnabled attribute (true by default). If set to false it allows for the hint to always be in its collapsed state. (22973ff)
    • Removed lint tasks. They'll be run separately (0c1cc3d)
    • Only read letter spacing for TextAppearance on API levels where it exists (ccc629f)
    • Automated g4 rollback of changelist 328982034 (8bba732)
    • Update TextAppearance and CollapsingTextHelper to respect letterSpacing set with TextAppearance styles (d4a0193)
    • Added processing status. (d615d2a)
    • Adjusted label position and edit text padding of filled text field for large font support. Also removed margin of icons when font is large. (bc4c6e4)
    • Automated g4 rollback of changelist 324239369 (9077461)
    • Internal change (245d513)
    • Remove unnecessary backticks from Menu.md (4d35ec6)
    • Fixed compat shadows after ShapePathProvider change (edbfd15)
    • Update ConstraintLayout to 2.0.0-rc01 (1edd9fb)
    • Fixed the types of some public attrs (b0240d9)
    • Internal change (d8d3e0a)
    • Removed re-throw of exception on ViewOverlayApi14 (9914516)

Full list of changes

1.3.0-alpha02...1.3.0-alpha03