Skip to content

1.5.0-alpha01

Compare
Choose a tag to compare
@veganafro veganafro released this 08 Jul 21:32

Dependency Updates

Dependency Previous version New version
compileSdkVersion 29 30
androidx.core 1.2.0 1.5.0

Library Updates

  • New Divider component (Docs)
    • Added new Divider component to the library and Divider doc. (782dffa)
    • Added divider demo in catalog (acf08f7)
    • Fixed divider title (d0e3ce1)
  • Transitions / Motion
    • Extracted music player app into its own package and made transition demo depend on it. (a536a80)
    • Add motion package and utils to resolve motion theme attrs. (217bdef)
  • BottomSheet
    • make FloatRange for setHalfExpandedRatio() exclusive (77c2a83)
    • Adds additional methods that are restricted to the library. They will be used for Experiment and deleted/revised after experiment. (b4982f9)
    • read the edgeToEdgeEnabled value earlier in the lifecycle (030e5bd)
  • BottomAppBar
    • Improved Bottom App bar demo controls. (c995ae2)
    • Adding the attr to set the color of navigation icon. (0ed7c76)
    • change cornersize to float to avoid truncation errors (8e9b680)
  • MaterialButton
    • Updated Material Button style to set the preferred maximum width to 320dp. (c5c7a74)
  • BottomNavigationView
    • Added deprecation Javadoc for BottomNavigationView#OnNavigationItemSelectedListener and BottomNavigationView#OnNavigationItemReselectedListener. (720088c)
    • Updated to explicitly read and set minimum height. (943c4f0)
  • Documentation
    • [Documentation] (f6237e3)
    • Fix menu doc. (86f8c51)
    • Updated BottomNavigation documentation. (b503287)
    • Fix typo in the word "checkbox". (bd5a96f)
    • Fixing typo. (af9570c)
    • Improving navigation rail documentation. (95a769c)
  • TextInputLayout
    • Apply tint when setting start icons (4044183)
    • Do not load default drawable if custom end icon is being used (717774e)
    • Make clear text icon focusable (8a4f42a)
    • [Documentation][TextInputLayout] (336042d)
    • Added a fade transition to placeholder TextView's appear and disappear. (c92e693)
    • Fixed cutout padding so text field outline doesn't overlap collapsed hint. (87b50c6)
  • Badging
    • Update badge position after clearing numbers (5973920)
    • Support differing offsets for badges with/without text, support badge width and padding in styles. (bd4914d)
  • MaterialDatePicker
    • Avoid NPE caused by getSelection() before created (cb5d622)
    • Fix opening at the selected date in the end month (eb7b114)
    • Fix DatePicker crashes and and potential issue of range selection (281688a)
    • Make calendar day of week label stying more flexible (37f0ca1)
  • TimePicker
    • Hide cancel button when it's not cancelable (35c2af3)
    • Make display divider styling more flexible (b420eab)
    • Make time text input fields stying more flexible (818f253)
  • MaterialShapeDrawable
    • Move static paint initialization to static block (b8c9f49)
  • ProgressIndicator
    • Added the OnAnimationEndListener adder and remover for spring animation used in determinate drawable. (cd5c2cc)
    • Fix NPE caused by animatorCompleteCallback not set (f732070)
    • Enabled switch from indeterminate mode to determinate mode while visible. (209bad3)
    • Fix first animated progress update issue. (f968731)
  • Snackbar
    • Handle anchor view properly so no memory leak will happen (58ceeab)
    • Fix memory leak caused by not resetting anchor views (b0558dc)
  • Chip
    • Fix icon tint states are not updated after setting new icon (c08a07d)
  • FloatingActionButton
    • Updated documentation for RTL support (9a603aa)
  • Slider
    • Do not invoke OnChangeListeners when restoring states (db8b239)
    • Fix halo showing under wrong thumbs (8431bd4)
  • Tabs
    • Redraw indicators after their color is updated (e92ebde)
  • CollapsingToolbarLayout
    • Added option to add extra height when title text spans across multiple lines (655dde0)
    • Added option to force always applying system window inset top regardless of layout_height (9ebf1a1)
    • Fixed multiline RTL collapsed title text position (af35dfb)
    • Added experimental setRtlTextDirectionHeuristicsEnabled() method (ae82585)
    • Added support for expanded and collapsed title text color attributes (5c14772)
    • Fixed RTL text only laying out as RTL when actual text is RTL (841f229)
    • Updated fade mode to allow expanded title to translate 1:1 with scrolling content. (c754183)
    • Added title line spacing and hyphenation frequency setters (f0ce498)
    • Added getLineCount() method (be85a92)
    • Added support for multiline RTL when using fade title mode (f0ac362)
    • Updated default multiline hyphenation frequency to StaticLayout.HYPHENATION_FREQUENCY_NORMAL (3ad232d)
    • Fixed multiline animation for fade title collapse mode (5a35bf7)
  • Catalog
    • Make card view demo paddings aligned with spec (65e99d0)
    • Remove theme switcher implementation (415ed74)
    • Fix system navigation bar demo (2a23ef4)
    • Replace theme switchers with preferences screen (ce84b58)
    • Add shape corner size preference to preferences screen (6e7be60)
    • Add shape preference to preferences screen (832e43f)
    • Implement app preferences mechanism in Catalog (3aa76da)
    • Refactored fab demos to improve alignment (9886810)
    • Added Navigation Rail demos to catalog. (401a5a8)
    • Removed full width button style and related dialog themes. Updated catalog dialog demo to showcase how to create dialogs with full width buttons. (95da705)
    • Update dialog main demo fragment to allow subclasses to override the theme overlay resources used in the demo. (15daf58)
    • Updated Catalog demo to show full width buttons in dialogs. (633ef0d)
  • Other
    • update library version to 1.5.0-alpha01 (4b9148c)
    • Update inset handling for Navigation Rail & Bottom Nav (501ef8e)
    • Fix progress indicator is not shown when set as the icon (456f135)
    • Updated documentation (48a5826)
    • Update @SuppressWarnings annotations for go/nullness diagnostics (ed719b2)
    • Updated navigationIconTint implementation to mutate drawable to prevent tinting drawable globally (e334332)
    • Adding android:textColor support (7adfd93)
    • Fix title fade mode collapsing title position errors. (0ef2e91)
    • Added a TextAppearanceConfig.shouldLoadFontSynchronously() check to allow forcing synchronous font loading for edge cases (9b92fd8)
    • Updated androidx.core dependency from 1.5.0-rc01 to 1.5.0 stable (ea2b0bc)
    • Fix catalog preference state restoring issue (967745a)
    • Fix test missing assertion (265055f)
    • Added manual constructor for ElevationOverlayProvider. (43cfc05)
    • Added elevation overlay accent color option (2c557b6)
    • Update compile sdk version to 30 (5c0b8d6)
    • Added compress scroll effect. (586d554)
    • Updated TextAppearance to load font synchronously if its cached. Also updates lib to depend on 1.5.0-rc01 for the ResourcesCompat#getCachedFont method. (0ad429d)
    • Added dimen resource for opacity of disabled background colors (d2c7b71)
    • Fix elevation overlay on time pickers (f617557)
    • Added support for full width buttons in dialogs. (cd9e620)
    • Update FAB to use motion theming for show/hide animation. (b4cca5b)
    • Updated indicator and label to use motion theming. (166d9f6)
    • Adding a max width for bottom sheets to optimize for large screens. (ce928fc)
    • Add active indicator. (7eea2b2)
    • Moves OnNavigationItem listeners to the NavigationBarView class (a200a5e)
    • Rename popup menu background drawable (357bbf3)

Full list of changes

1.4.0...1.5.0-alpha01