Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • Funkwhale Android Funkwhale Android
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • Funkwhale AndroidFunkwhale Android
  • Merge requests
  • !155

Update dependency com.google.android.material:material to v1.6.0

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged RenovateBot requested to merge renovate/com.google.android.material-material-1.x into develop May 04, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 1

This MR contains the following updates:

Package Update Change
com.google.android.material:material minor 1.5.0 -> 1.6.0

Release Notes

material-components/material-components-android

v1.6.0

Compare Source

What's new since 1.5.0

  • Color harmonization support! Check out the following resources for more information:
    • Designing Harmony into Dynamic Color blog post
    • Using color harmonization documentation

Other highlights

  • Material 3
    • Hide shadows on all M3 Toolbar styles, not just Surface style (b49284e)
    • Migrate action bar popup themes to M3 (2ae3ca4)
    • Update M3 card elevation according to the spec (bb23e2d)
    • Add missing attributes to M3 button styles (3c9b452)
    • Update M3 navigation rail text appearances (6b57c52)
    • Fix M3 date picker styles (fba1a34)
    • Change checkedIconGravity values to enum (bc56d5b)
  • Badging
    • Prevent multiple badges being attached to a menu item at the same time (b3db1cc)
    • Refactored Badge state managing logic (bbbeacd)
    • Added support for different locale on badges (b8f2dd5)
  • BottomNavigationView
    • Added supported NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (1222268)
    • Removed font scaling from NavigationBarView item labels. (d66676f)
    • Set backgroundTint explicitly to @​null in M3 bottom navigation styles (adbcf8c)
  • BottomSheet
    • Fix bottom sheets in EXPANDED state when the expanded height is the same as the collapsed height (493243e)
    • Simplify state transition logic (04c483c)
    • Fix activity leak when setting states on destroying activities (43114c4)
    • Update edge-to-edge paddings when bottom sheet is laid out (19af0ac)
  • Chip
    • Refactored chip group selection logic to a standalone class (f3c6430)
    • Added missing attributes to M3 chip styles (cc18f3f)
    • Update M3 chip styles with spec (8ed0ac9)
  • CollapsingToolbarLayout
    • Fixed shadow issues when transition between expanded and collapsed states. (86e8b00)
    • Constrain adjusted font weight to acceptable values (5dce006)
  • Color
    • Fix resources being re-harmonized when wrapContextIfAvailable() is used. (b402cb3)
    • Added ColorGrid classes for color harmonization demo. (fcc1091)
    • Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. (1dad5f6)
    • Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aa)
    • Added support for color resources harmonization in XML (869d943)
    • Refactor DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052)
    • Update DynamicColors to use peekDecorView() instead of getDecorView() when applying dynamic color theme overlay (56ed070)
    • Update DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5)
    • Update DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f)
    • Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 (48741b4)
    • Add Resource Table format for XML color Harmonization. (822a5b2)
  • Dialog
    • Fixed crashes when colorControlHighlight is a CSL (1c5c054)
    • Added date and time picker themes to M3 dialog themes (8342f90)
    • Fixed dialog icon color tint (246b340)
    • Fixed dialog paddings (672e744)
    • Start-align message text with centered styles (9980596)
  • Divider
    • Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item. (9416b2c)
  • MaterialDatePicker
    • Fixed edge-to-edge mode being applied multiple times (e1ee959)
    • Always go edge-to-edge in fullscreen mode (be6050a)
    • Start align edit icon in landscape (94cd532)
    • Fixed wrong month title with certain months (62e8993)
    • Added methods to use custom text for positive and negative button (b2fbace)
  • MaterialButton
    • Fix icon position not being updated when size is not changed (b0f3700)
    • Support icon gravity with text alignments other than centered (6c41f07)
  • MaterialCardView
    • Fixed crash on Pre-Q devices when checked icon is null (b4cab87)
    • Fixed checked icon gravity issues (283715d)
    • Added option to set the checkedIcon gravity (250d56d)
  • MaterialShapeDrawable
    • Implement getAlpha() (5ff917d)
  • NavigationRail
    • Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. (c66633b)
  • Slider
    • Added LABEL_VISIBLE to label behavior. (ca8594d)
    • Add support for custom thumb drawables (17da000)
  • Snackbar
    • Fixed margins are added multiple times when show() is called (2bfc7ba)
    • Fixed the issue that setting margins programmatically does not work (d5856fd)
    • Support setting max lines programmatically (4c7be52)
    • Enforce vertical layout when action text is too long (ff97a68)
    • Fixed NPE on Android 8 & 9 (35d9da8)
    • Fixed maxWidth is not applied on Snackbar (6a3ea94)
  • Tabs
    • Tabs with padding in fixed mode shouldn't scroll (9c2df28)
    • Added fade indicator animation mode. (a295de9)
    • Fix NPE caused by set a position less than 0 (823c34a)
  • TextInputLayout
    • Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (4d78879)
    • Extracted start components from TextInputLayout (9a46af2)
    • Split icon tinting logic to a helper class (9789f2e)
    • Provided set simple items API with default item layout for MaterialAutoCompleteTextView (85ed993)
    • Added support for minEms and maxEms (7d46b95)
    • Applied edit text's letter spacing to expanded hints (88eb089)
    • Text field should comply with system level bold (e8bde75)
    • Fixed crashes when text field size is too large (cf5df22)
    • Fixed getBoxCornerRadiusBottomEnd and getBoxCornerRadiusBottomStart returning wrong values. (9d2f864)
  • TopAppBar
    • Fixed app:expanded=false not working (2f3110f)
    • Fixed centering logic when title and subtitle are the same (f69e3a0)
    • Support scaleType and adjustViewBounds for logo (b01051b)
    • Make title and subtitle match ActionBar's (0f2b537)
    • Save and restore scroll state during scroll range recalculation (698cf9b)
    • Fixed top app bar snapping issue (acb7958)
    • Fixed expanded title margin not applied (89d80d0)
    • Correctly set letter spacing when expanding titles (44d4c3e)
    • Fixed text alignment of multi-line title in collapsing toolbar (e6db8a4)
    • Fixed snap issue with transparent status bar (b935604)

Dependency Updates

Dependency Previous version New version
androidx.fragment 1.0.0 1.2.5

Full list of changes

Full list of release notes

  • 1.6.0-alpha01
  • 1.6.0-alpha02
  • 1.6.0-alpha03
  • 1.6.0-beta01
  • 1.6.0-rc01

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: renovate/com.google.android.material-material-1.x