Modular and customizable Material Design UI components for Android

Overview

Build Status Chat

Material Components for Android

Material Components for Android (MDC-Android) help developers execute Material Design. Developed by a core team of engineers and UX designers at Google, these components enable a reliable development workflow to build beautiful and functional Android apps.

Material Components for Android is a drop-in replacement for Android's Design Support Library.

Getting Started

For information on how to get started with Material Components for Android, take a look at our Getting Started guide.

Submitting Bugs or Feature Requests

For usage questions: ask on Stack Overflow.

Bugs or feature requests should be submitted at our GitHub Issues section.

Useful Links

Documentation

Comments
  • [Button] android:background not working

    [Button] android:background not working

    Description: after I change my app them to Theme.MaterialComponents.NoActionBar , In my xml file Button label's android:background="@drawable/login_btn_bg" not working,and I can't set others color、shape or selector,they are not work.

    Expected behavior: Button label's android:background= can normal work , when I set my app them to Theme.MaterialComponents.NoActionBar or others Material thems

    Source code: <style name="CommonAppTheme" parent="Theme.MaterialComponents.NoActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/common_colorPrimary</item> <item name="colorPrimaryDark">@color/common_colorPrimaryDark</item> <item name="colorAccent">@color/common_colorAccent</item> <item name="buttonStyle">@style/commonButtonStyle</item> <item name="materialButtonStyle">@style/commonButtonStyle</item> </style>

    <?xml version="1.0" encoding="utf-8"?> <resources> <style name="commonButtonStyle" parent="Widget.MaterialComponents.Button"> <item name="android:insetTop">0dp</item> <item name="android:insetBottom">0dp</item> <item name="android:insetLeft">0dp</item> <item name="android:insetRight">0dp</item> <item name="android:minHeight">0dp</item> <item name="android:textColor">@color/common_text_color</item> </style> </resources> <Button android:id="@+id/btnLogin" android:layout_width="match_parent" android:layout_height="38dp" android:layout_marginLeft="31dp" android:layout_marginTop="61dp" android:layout_marginRight="31dp" android:background="@drawable/btn_bg" android:gravity="center" android:text="@string/common_immediately" android:textSize="15sp" /> Android API version: Android 8.1

    Material Library version: 1.0.0

    Device: le pro 3

    To help us triage faster, please check to make sure you are using the latest version of the library.

    We also happily accept pull requests.

    bug 
    opened by 0xByteLeon 63
  • [CollapsingToolbarLayout] Allow multiple lines of text in expanded state

    [CollapsingToolbarLayout] Allow multiple lines of text in expanded state

    closes #6 and was also discussed in https://issuetracker.google.com/issues/136120586, where you said you would welcome a PR.

    We have implemented the possibility to use multiple lines of text as a title in the collapsing app bar. The additional lines are displayed in the expanded state and will be hidden in the collapsed state, like this:

    Demo image

    This is based on the work of @raphaelm and me as well as a few contributors in the multiline-collapsingtoolbar library, which is based on the CollapsingToolbarLayout code of the Android Design Support library (predecessor of Material Components) and has already become quite popular.

    However, as discussed in https://github.com/opacapp/multiline-collapsingtoolbar/issues/62, it would be quite difficult to update our library with support for the new Material Components and AndroidX libraries, as many of the interfaces we are calling are not part of the public API and thus can only be called from the Material Components library itself. Therefore, it would be great if this feature could instead be included in the official Material Components library.

    In addition to copying over the adjustments from our library into the CollapsingTextHelper codebase, I also added a demo in the catalog app to showcase this new feature.

    cla: yes Work in progress (WIP) PR 
    opened by johan12345 57
  • Manifest merger failed : Attribute application@appComponentFactory

    Manifest merger failed : Attribute application@appComponentFactory

    We're transitioning from github issues to a public buganizer component. Rather than submitting a bug here on github, please file any bugs or feature requests at https://issuetracker.google.com/issues/new?component=439535.

    I bought a new macbook pro i have installed all the latest stuff from android studio in my laptop from the stable channel

    i am not able to successfully build my project gradle when i add implementation 'com.google.android.material:material:1.0.0-rc01'

    gradle `apply plugin: 'com.android.application'

    android { compileSdkVersion 28 defaultConfig { applicationId "com.silverpants.todolist" minSdkVersion 21 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }

    dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0-rc02' implementation 'com.google.android.material:material:1.0.0-rc01' implementation 'com.android.support.constraint:constraint-layout:1.1.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' } ` errror it shows is

    Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0-rc01] AndroidManifest.xml:22:18-91 is also present at [androidx.core:core:1.0.0-rc01] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:5:5-19:19 to override.

    and when i take its suggestion an error appears like this code `

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme"
        tools:replace="android:appComponentFactory"
    
        >
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
    
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    

    `

    error

    Manifest merger failed with multiple errors, see logs

    and also

    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:processDebugManifest'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70) at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62) at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97) at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87) at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Manifest merger failed with multiple errors, see logs at com.android.builder.core.AndroidBuilder.mergeManifestsForApplication(AndroidBuilder.java:524) at com.android.build.gradle.tasks.MergeManifests.doFullTaskAction(MergeManifests.java:143) at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73) at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:121) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92) ... 32 more

    opened by jeevansurendran 51
  • [TimePicker] More natural 24h hour picker

    [TimePicker] More natural 24h hour picker

    Is your feature request related to a problem? Please describe.

    I don't have much "experience" with the new 24h hour picker in "one" circle. Though I feel this to be pretty unnatural (an European user here).

    Describe the solution you'd like

    Bring back the system's two inner & outer circles.

    Describe alternatives you've considered

    I and users will get used to.

    Additional context

    time_picker

    feature request Widget: TimePicker 
    opened by hrach 48
  • Long text cutting off in BottomNavigationView

    Long text cutting off in BottomNavigationView

    Overview

    Long texts cut off in BottomNavigationView only when tab is selected. When tab is unselected, it displays the text properly

    When tab is unselected (Meine tickets)

    screen shot 2018-06-08 at 08 45 31

    When tab is selected (Meine tickets)

    screen shot 2018-06-08 at 08 45 48

    Reproduction steps

    • Setup bottom navigation view with 5 menu items with titles as: "Starseite", "Suchen", "Meine Tickets", "Verkaufen", "Profil"
    <menu
      xmlns:android="http://schemas.android.com/apk/res/android">
      <item
        android:id="@+id/action_home"
        android:icon="@drawable/tab_home_icon_selector"
        android:title="@string/nav_tab_home"/>
    
      <item
        android:id="@+id/action_explore"
        android:icon="@drawable/tab_explore_icon_selector"
        android:title="@string/nav_tab_explore"/>
    
      <item
        android:id="@+id/action_my_tickets"
        android:icon="@drawable/tab_tickets_icon_selector"
        android:title="@string/nav_tab_my_tickets"/>
    
      <item
        android:id="@+id/action_sell"
        android:icon="@drawable/tab_sell_icon_selector"
        android:title="@string/nav_tab_sell"/>
    
      <item
        android:id="@+id/action_profile"
        android:icon="@drawable/tab_profile_icon_selector"
        android:title="@string/nav_tab_profile"/>
    </menu>
    
    • View style is:
    <com.google.android.material.bottomnavigation.BottomNavigationView
        android:id="@+id/home.navigation"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:labelVisibilityMode="labeled"
        app:menu="@menu/home"/>
    

    Version number

    • Found in version 1.0.0-alpha3

    Operating system and device

    • Found in Nexus 5X emulator running Android Oreo

    screen shot 2018-06-08 at 08 55 37

    opened by blu3-b1rd 35
  • TextInputLayout hint text not vertically center

    TextInputLayout hint text not vertically center

    Our design team follow the iOS catalog app , the hint text of TextInputLayout is vertically center, but when I try Android it is not. I don't seem to find an option to make it. So they are different ? Or there's some way to make it?

    opened by houdangui1985 34
  • TextInputLayout OutlinedBox not showing

    TextInputLayout OutlinedBox not showing

    Expected behavior: need outlinedbox as in materialcomponents 1.0.0

    <style name="TextInputLayoutStyle" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
        <item name="boxStrokeColor">@color/grey_c7c7c7</item>
        <item name="android:textColor">@color/colorAccent</item>
        <item name="android:textColorHint">@color/black_overlay</item>
    </style>
    

    Android API version: Android API version here

    Material Library version: com.google.android.material:material:1.1.0-beta02' Device: Emulator

    To help us triage faster, please check to make sure you are using the latest version of the library.

    We also happily accept pull requests.

    bug 
    opened by ABr751 32
  • [DatePicker] Incorrect TimeZones

    [DatePicker] Incorrect TimeZones

    Description:

    There seems to be some strange behavior with time zones with the new date picker I am in New Zealand so our time zone is currently UTC+13 and was testing around 9am

    As shown below, it is displaying yesterday as today (I increased the valid date range to include yesterday as it is hidden if not in the range)

    image

    Also when setting the initially selected date via MaterialDatePicker.Builder.datePicker().setSelection(), if the millis for a specific UTC date/time is given, it is not accounting for the time zone offset and is selecting the day prior. Currently our workaround is to manually add the millisecond difference from UTC to local time.

    Android API version:

    Min 27, Target/compile 29

    Material Library version:

    1.1.0-rc01

    Device:

    Zebra TC51

    bug P1 
    opened by aarontwf 31
  • [MaterialContainerTransform] Huge delay running transition on 1.3.0-alpha01

    [MaterialContainerTransform] Huge delay running transition on 1.3.0-alpha01

    Description: 1.3.0-alpha01 causes MaterialContainerTransform to take way longer to run, and skip way more frames

    Tried to update from 1.2.0-alpha06 but perf is a disaster.

    Source code: Here's how I'm launching the transition:

      private fun startContainerTransform(from: View, to: View): Flow<Boolean> {
        val channel = Channel<Boolean>()
        val transform = MaterialContainerTransform().apply {
          startView = from
          endView = to
          setPathMotion(MaterialArcMotion())
          scrimColor = Color.TRANSPARENT
          duration = 300L
          addListener(object : Transition.TransitionListener {
            override fun onTransitionEnd(transition: Transition) {
              channel.offer(true)
              channel.close()
            }
    
            override fun onTransitionResume(transition: Transition) {
            }
    
            override fun onTransitionPause(transition: Transition) {
            }
    
            override fun onTransitionCancel(transition: Transition) {
              Timber.e("Transition cancelled?")
              channel.offer(false)
              channel.close()
            }
    
            override fun onTransitionStart(transition: Transition) {
            }
          })
        }
        TransitionManager.beginDelayedTransition(screenContainer, transform)
        return channel.receiveAsFlow()
      }
    

    This shows up in logcat:

    Skipped 249 frames!  The application may be doing too much work on its main thread.
    

    Android API version: 29

    Material Library version: 1.3.0-alpha01

    Device: Emulator Pixel 3a on API 29

    bug 
    opened by edenman 30
  • [Chip] Layout preview window does not render Chip elements

    [Chip] Layout preview window does not render Chip elements

    Description: After upgrading to version 1.2.0-alpha03 the layout preview window does not render Chip elements. They are drawn completely blank without any background, stroke, text or icons. This is solely a visual issue with the preview window as Chips are properly rendered when running on a device. The preview window messages show the following render problems:

    • Path.op() not supported
    • java.awt.geom.IllegalPathStateException: missing initial moveto in path definition

    These elements are properly rendered when using version 1.2.0-alpha02

    Expected behavior: Chips should be rendered properly in the preview window. This is using 1.2.0-alpha03 This is using 1.2.0-alpha02

    Source code:

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
    
            <com.google.android.material.chip.Chip
                android:layout_height="wrap_content"
                android:layout_width="wrap_content"
                android:text="This chip should be visible"
                android:theme="@style/Widget.MaterialComponents.Chip.Choice"/>
    
    </LinearLayout>
    

    Android API version: 23

    Material Library version: 1.2.0-alpha03

    Device: Android Studio 3.5.3 Build #AI-191.8026.42.35.6010548, built on November 15, 2019

    bug 
    opened by pappbence96 29
  • [Motion] Can't use both Container transition and Shared element

    [Motion] Can't use both Container transition and Shared element

    Description: I'm trying to implement transition #1, which is from the new material motion system.

    If I use sharedElementEnterTransition = MaterialContainerTransform() then I get a really nice looking container transform, BUT my issue is that my container has an image and I'd like to share that image. There doesn't seem to be clear guidance on how to do this, so I tried my best with just getting the container (outer viewgroup) and the contained imageView, and it doesn't seem to work. I can verify that my shared element is working, because if I remove my container transition and just put the transition on the image view via TransitionInflater.from(context).inflateTransition(android.R.transition.move) then I get a nice animated shared element. My issue is that I want both.

    Looking at the gif from the material team below, it does seem like they include a package deal of a container transition + a shared element imageview.

    https://miro.medium.com/max/1400/1*0vL7z6wwb1X9tvR6_rdQLw.gif image

    Expected behavior: As far as I can understand, MaterialContainerTransform() should allow you to chain another shared element.

    feature request 
    opened by ColtonIdle 26
  • [TextInputLayout] [URGENT] :ambulance: Compile time error for `boxBackgroundMode` being set as a raw string `filled`

    [TextInputLayout] [URGENT] :ambulance: Compile time error for `boxBackgroundMode` being set as a raw string `filled`

    Description: When I try to compile a bug-free Android project, the project build fails with the following error:

    ERROR:
    /project/app/build/intermediates/incremental/appDebug/mergeDebugResources/merged.dir/values/values.xml:10218:
    AAPT: error: expected enum but got (raw string) filled.
    

    Expected behavior: Screenshots and/or description of expected behavior

    Source code: After tons of code digging, I found out that this issues is occurring because of merged values.xml Google Material library. Following the XML code of values.xml:

    <style name="Widget.MaterialComponents.TextInputLayout.FilledBox" parent="Base.Widget.MaterialComponents.TextInputLayout">
        <item name="materialThemeOverlay">
          @style/ThemeOverlay.MaterialComponents.TextInputEditText.FilledBox
        </item>
        <item name="boxBackgroundMode">filled</item>
        <item name="boxBackgroundColor">@color/mtrl_filled_background_color</item>
        <item name="endIconTint">@color/mtrl_filled_icon_tint</item>
        <item name="startIconTint">@color/mtrl_filled_icon_tint</item>
        <item name="boxCollapsedPaddingTop">10dp</item>
        <item name="boxStrokeColor">@color/mtrl_filled_stroke_color</item>
        <item name="shapeAppearanceOverlay">
          @style/ShapeAppearanceOverlay.MaterialComponents.TextInputLayout.FilledBox
    </item>
    

    Android API version: 33

    Material Library version: 1.8.0-beta01

    Device: This is compile time error, so no device info to be provided.

    bug 
    opened by RahulSDeshpande 2
  • [Switch] In the doc, the numbers assigned to the parts are incorrect.

    [Switch] In the doc, the numbers assigned to the parts are incorrect.

    Description:

    スクリーンショット 2023-01-04 17 15 12

    https://github.com/material-components/material-components-android/blob/master/docs/components/Switch.md#anatomy-and-key-properties

    I think number 1 is Track and number 2 is Thumb. That’s what the old description said, and when I tried it.

    Expected behavior:

    1. Track
    2. Thumb
    3. Icon (optional)

    Or maybe it's the image that needs fixing.

    bug 
    opened by komatatsu 0
  • [Button] The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant).

    [Button] The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant).

    The Layout Preview does not work with my custom class:

    class OutlineButton @JvmOverloads constructor(
      context: Context,
      attrs: AttributeSet? = null,
    ) : MaterialButton(context, attrs, com.google.android.material.R.attr.materialButtonOutlinedStyle)
    

    when using material 1.7.0:

    The following classes could not be instantiated:
    com.vanniktech.ui.OutlineButton (Open Class, Show Exception, Clear Cache)
    Tip: Use View.isInEditMode() in your custom views to skip code or show sample data when shown in the IDE.  If this is an unexpected error you can also try to build the project, then manually refresh the layout.  Exception Details java.lang.IllegalArgumentException: The style on this component requires your app theme to be Theme.MaterialComponents (or a descendant).   at com.google.android.material.internal.ThemeEnforcement.checkTheme(ThemeEnforcement.java:247)   at com.google.android.material.internal.ThemeEnforcement.checkMaterialTheme(ThemeEnforcement.java:216)   at com.google.android.material.internal.ThemeEnforcement.checkCompatibleTheme(ThemeEnforcement.java:144)   at com.google.android.material.internal.ThemeEnforcement.obtainStyledAttributes(ThemeEnforcement.java:76)   at com.google.android.material.button.MaterialButton.<init>(MaterialButton.java:230)   at com.vanniktech.ui.OutlineButton.<init>(OutlineButton.kt:13)   at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)   at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)   at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)   at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)   at java.lang.reflect.Constructor.newInstance(Constructor.java:480)   at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:965)   at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:1127)   at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:72)   at android.view.LayoutInflater.rInflate(LayoutInflater.java:1101)   at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1088)   at android.view.LayoutInflater.inflate(LayoutInflater.java:686)   at android.view.LayoutInflater.inflate(LayoutInflater.java:505) Copy stack to clipboard 
    
    bug 
    opened by vanniktech 0
  • Update Search.md

    Update Search.md

    Avator label is missing in diagram.

    Thanks for starting a pull request on Material Components!

    Don't forget:

    • [x] Identify the component the PR relates to in brackets in the title. [Buttons] Updated documentation
    • [x] Link to GitHub issues it solves. closes #1234
    • [x] Sign the CLA bot. You can do this once the pull request is opened.

    Contributing has more information and tips for a great pull request.

    opened by m-asadullah 1
  • [MaterialTimePicker] Hour incorrectly restored in 24 hour time format after process death

    [MaterialTimePicker] Hour incorrectly restored in 24 hour time format after process death

    Description: When triggering process death with a MaterialTimePicker dialog opened, with 24 hour time format, the dialog is incorrectly recreated. If the time "8:00" was selected, "20:00" will be shown instead after recreation. Weirdly enough, "8" is still selected on the hour wheel. This only happens if the time was set before 12 AM.

    Video:

    demo.zip

    Expected behavior: Update the hour display correctly after process death.

    Source code: Open any MaterialTimePicker with time format set to 24h, then trigger process death. Only library code runs on recreation, none of mine.

    Android API version: 33

    Material Library version: 1.7.0

    Device: emulator

    bug 
    opened by maltaisn 0
Releases(1.8.0-beta01)
  • 1.8.0-beta01(Dec 9, 2022)

    What's new

    Dependency Updates

    • No dependency updates

    Library Updates

    • Side Sheet
      • Added coplanar side sheet with APIs for setting a coplanar sibling view. (8055a2c6c61883a779a763df6ad662eba4c740ed)
      • Set accessibility focus to the side sheet when expanded. (0949e9c272e42eed27e4795daa689331ea799673)
      • Release Side Sheet catalog demo. (f707836033913946d580e2bc6414e3800a99d45c)
      • Rebrand "Adaptive Sheets" demo to "Side Sheet". (7f17891b89792b5ef8e30013fc6d913b83dffcd9)
      • Fix vertically scrolling sheet swipe issue by deleting most of the nested scrolling code (3bc1f6e68384f490280373f1d73032fa12e37010)
      • Cancel modal side sheet scrim on STATE_HIDDEN. (0c4e4a7ff1752ece94f0c5bac814e00ec12bd0ce)
      • Restrict SheetDialog methods from the public API surface and rename getDismissWithAnimation. (9c8ea5862d0603e55cf1f6f54f8eab179536ffb5)
      • Add SideSheetCallback listener to SideSheetBehavior to track @SheetState state change events. (99e09b08977ac44e3f4f2382d7f39689133514f9)
      • Renamed SheetEdge#RIGHT to SheetEdge#EDGE_RIGHT. (35d60519bf1f4806bedb2e376b322533c28ed224)
      • Made SheetDialog abstract base class and Sheet interface package-private. (0c35d1d852c053e3a5319d550e34dbd64f50b412)
      • Add @RestrictTo annotations to restrict SheetEdge annotation interface. (e6ca949f3c9b8b6c495956e4a23a28c66a09e4ab)
      • Made SideSheetBehavior extendable. (f7b3aac02e474fd030f5ea94a87a5c5e7211867e)
    • SearchBar
      • Fixed issue that caused the wrong component to be focused on automatically when talkback is active. (8cbfd20c841aecac1baa234f017fc16ac91a4130)
      • Updated search bar/view UI to match spec and cleaned up the API. (d049b1bfe0d95ab53aa2a5e78e44f6840913c7a5)
      • Updated style to match updated M3 spec. (be8ff16d6632243a4528a655c20d4cb3b2a5225b)
      • Fixed package path in developer documentation. (73c47c2b91352c24cab045ed53b2ce5a2637f8f9)
      • Refactored status bar spacer edge-to-edge detection to work based on insets (38605f4a757ab283e4b353bf4051f22f0279ad57)
      • Updated search demo to change search bar hint (fafee33a869bf1be4d758d438b6f84a0ab95ef68)
      • Updated Catalog demo to change search bar/view demo title. (df85be268f9eed5c65f616d4e59c477a87073161)
    • Tabs
      • Fix bug with setScrollPosition not updating indicator due to onLayout call drawing the indicator below the selected tab. (1681b1daa9dc9b8c366e3c4144c664ae381596e8)
      • Fixing bug with animation flicker when using tabs with ViewPager2 (ab3f203caea0a724840d2cabee785995aa94ad28)
    • BottomAppBar
      • Request layout for FAB when BAB changes so that FAB will always be aware of BAB changes (10fe695ed989b7e7017b3ca28ee16aa6a54f16b8)
    • Transitions / Motion
      • Motion tweaks (1236a90896710150f6a4b692a49b3e7b2fa37269)
    • MaterialDatePicker
      • Update text appearances (ffbf8351958a122ac7b4a42ff1747eb88c2c7ade)
    • Catalog
      • Fix incorrect time stamps (305e19df335f18f4fb3bdbb389b82f76bdef4ad8)
      • Applied edge-to-edge to preferences bottom sheet (c440d868f83d79ed7b9a9d9c51e17ea7ceae17cb)
    • Documentation
      • Added warning about known issue in slider where label doesn't scroll along with the screen. (ca54c659a4b6c6251b3527f23b2516fb6f428aab)
      • Internal change (83e045e9898f4b5415d9ea1d2b0bff176eba0468)
    • Switch
      • Update animations to use motion theming (b73cc616e1c1d8dc939a5a460525c59443ee4282)
    • Other
      • Update documentation (697156a80f44b711f0f3aece93621b427f30550a)
      • Update library version to 1.8.0-beta01 (20c61dbda1c761bcc95a842a048f737e2e6ae271)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.8.0-alpha03...1.8.0-beta01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(11.90 MB)
  • 1.8.0-alpha03(Nov 22, 2022)

    What's new

    • SearchBar component is now available for use!

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | compileSdkVersion | 32 | 33 |

    Library Updates

    • BottomSheet
      • Update motion attributes for bottom sheet dialog animation (1cdb371c307a8b4057120677b06aa7ba96339dda)
    • BottomNavigationView
      • Remove elevation shadows (e3937483c36449f71bc00a5b9376198345060f89)
    • Checkbox
      • Update unselected outline color to ?attr/colorOnSurfaceVariant to match tokens. (5d261f516aece8e5243394fd1ca9fbb2f96098fb)
    • NavigationView
      • Disable drawing left and right insets if the nav bar is not edge to edge (cb384c5c2c16f8323abbb9bcc8db45aab3d44369)
    • ExposedDropdownMenu
      • Dismiss modal popup in dismissDropDown (644d141359559f17e9307e8c248f92ddca3bc845)
    • Color
      • Updated Builder class for content color (2351fd9f6cd49a57fe33dbe700526dc02a9e3146)
      • Implement content color with resources loader (4619f31bc79ea7e25790980b8031ffa036b1332c)
      • Internal refactors (d0ca6ba28aff6bc7d9ec6eba133a58d543722fa9)
      • Added content color api (8ca326ac5203a2c026413a8ef1c35d65c916fb90)
    • MaterialDatePicker
      • Update elevation to match specs (b813b2b441cca6599a4c0eb635a2c7282c6c1187)
      • Improve inputs validation (4046525b20ff81c4f4fef654b9e8f09ffd7f5a81)
      • Exposed method to set a custom formatter for text input fields. (276c1171b08ac3d9f6a188f4bb90345a0d5b5a17)
    • Chip
      • Integrate Chip component tokens to Chip styles in M3. (cb65cc6e60d370971f531b329ae3f84acaea432a)
    • Search
      • Renamed search style attributes to add "material" prefix. (978ffdf0aa36b43203ae60e2b38dac8408c3fcc1)
      • Added new SearchBar and SearchView components (d1bacf55db6b81e5f62f506c69bc7adc8a297958)
      • Added developer documentation. (4d4a2e25ab52ceb4481ba61178d1cbf014026de0)
      • Removed M3 search style references from Material theme. (2977a75f29fe2f0fc850db7f3411b8a486a8feac)
    • Tabs
      • Fix bug with selected tab text appearance when swiping in viewpager. (4a0e1a0cdb4e80f9371bc4592d2a1ee086e4d820)
      • Fix default tabTextAppearance (cb1905dbff746ffce992ce60a8af7999ced89062)
      • Fixing bug with animation cancelling if tab is double-tapped (857f481edd64f3d3214de6b4605a9bcbca01e0c5)
      • Fix tab indicator animation (f9a37c5077feaa6e00607adf0005671d0efd390b)
    • NavRail
      • Added design tokens for M3 NavigationRail Component. (d1b682f9fd95dcfceb64d9f276b4dd35fc048f0e)
    • Catalog
      • Added Search Demo . (030fe32445cc1b8245bd52de8d6b861fd5dd4bb2)
      • Add themed icon (45a569f858bc67b09ecc3654da329ac7d9a243d8)
    • A11y
      • Improve TalkBack focus order when selecting a day (dff70c062d680257ef647ea89ac3e9eea4e43f2d)
    • Switch
      • Update animations to use motion themeing. (3fc3ec1153ef686b6a644d99641697a9b0c95220)
    • ExtendedFloatingActionButton
      • Add a extendToWrapContent attribute that can disable the current eFAB behavior of extending to wrap content (thus allowing extend to return to its original width before shrinking) (d5b41c185ff41243f961784aa5a8382a387aa25a)
    • Dialog
      • Updated enter/exit animation to use fade pattern and motion tokens. (8d8a0d14ae1c7923eb1b409db266b612e7434b44)
    • Divider
      • Change shouldDrawDivider from private to protected to allow for more user flexibility. (b08257bce32e8fbbf51aa16415d2c4bb3ea18cfd)
    • SideSheet
      • Add STATE_HIDDEN to SideSheetBehavior#getState javadoc. (7a706cc82c19861ff069584c983e00afec1f80cb)
      • Changed modal side sheet shape to large. (1653055b2c1d35db5fdc303532a85936749012f1)
    • Button
      • Use Layout to measure text width. (3b333ee8343dc0bde20d110a39ccc4654977eb23)
    • Other
      • Update compileSdkVersion and targetSdkVersion to 33 (T) (090b98847f8da512e0b6e949de94ede28fbfaeb3)
      • Updated active text label to use a bold typeface. (b1bd580d7e6a587f88da5c034107bed1e77cd26a)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.8.0-alpha02...1.8.0-alpha03

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(11.87 MB)
  • 1.8.0-alpha02(Oct 24, 2022)

    What's new

    • New SideSheet component! Standard and modal configurations available.

    Library Updates

    • SideSheet
      • Added standard and modal side sheets. (10d72eebec116d73b4afab85e48580e298a34818)
      • Added standard side sheet documentation. (4364c4f5fb41b3b157278d47934b74a243a09d2a)
      • Moved behavior_draggable attribute to the resources package. (1d3e37438771bc02b9bf333b8b783f82317bfa56)
    • MaterialDatePicker
      • Enable auto-sizing of the date selection text (32f111817f1c0e846a638d19cb8063d9dc02eec1)
      • Update string translation for datepicker. (8dcdd268341d00f9e330c87f358fa6bb1177f34c)
      • Add method to specify a content description to decorated views (7bc5689789489b14ccf38e574a29bcbba521a834)
      • Make new public getter methods for start/end/openAt values with long return types for CalendarConstraints (6643695c3e6d9ee03e5f58623db901124ed1ce02)
      • Update doc to include DayViewDecorator. (aff6a9453901e07be8212d7106d255d4ac6b51d7)
    • TopAppBar
      • Update motion specs (c8108b1f8e3d06e90fa7978d09e4efa280072ca1)
      • Adding new attribute liftOnScrollColor that disables elevation overlay and allows users to change the app bar color (c587dd12597ee52086c3f637f03d6913e56e03cc)
      • Fix issue with a physical keyboard scroll not collapsing toolbar (9df6c9d072d927da65e5c371cea7be6bd2fff498)
    • MaterialCardView
      • Update motion specs for Z-shadow (3975a2e908353b816d3dfe67cee3b756d72c2aed)
      • Add fade animation for checked icon drawable (7d129eae21e97eba46d515cf8fd9ad287c6ff94b)
    • TextInputLayout
      • Fix label cutout doesn't work on API < 18 (a3521784e8dddf359759331859de88244017b264)
      • Fixed counter overflow text color getter (e76eaff716ed1fd4f6bfb4234867dcc1ed2567d5)
      • Integrated tokens for text fields and the exposed dropdown menu. (e7697c235bcd6179271e4d12db18145a2ad1b8b0)
      • Updated cursor color on error for APIs >= 29. (fbd75ec5b00d04e32eeb48617a3babd0f40c35ee)
      • Update motion attributes for textfield animations (c98480c019c6fdcc399ee56cd758b2ec70c5ceb3)
      • Updated expanded label color to take error color when on error. (a85204eb758912b2b8580304d4bb647759e76996)
    • Slider
      • Add current value to talkback for Slider (9e210ea731692d6a4779df42c0e64b1b5b277bbe)
      • Integrate component tokens (4a1e6bc42aced9d0eb949bccb3b1a8be8102982b)
      • Fix compat halo visibility (bcb551b8a02aff6e881fb4a3dbe4358a91d14cc2)
      • Do not capture inflation parameters for reuse (a137c28b77a3aaef164e363f1163ca70a11d9d18)
    • Tabs
      • Integrated tokens into M3 styles. (d0460f3a70bdfdfef5be1036588c7211a1310d10)
      • Fixed potential NPE when updating tab view. (34a1dde7b61131692597351b7a1e669c4f0ca51c)
      • Add selectedTabTextAppearance attribute (00220d0ad636355b7c9c54c6a1aad64550db5897)
      • Setting a custom view on the tab should replace the current custom view (3c0c9e75f50c2e3b7438d3e20b854319ab4a6d01)
      • Do not impose margins in custom tab views (d68c0f8dc598fc7449d001c53b9972d22fc85fe7)
    • Documentation
      • Add android dev doc and source link to the Material dev doc (00c9ce51dd49b45e03e16997eb6d4c636f5b9a6d)
      • Update spec link to the new Material3 site (bdb82532470fd3ecb1a625e415e11274336101b5)
      • Fix broken column due to extra newline (ad0d73a2478b0d4e5b7499437dce3b700ba8e703)
      • Update docs to remove links to Kotlin docs and remove Kotlin from dependency (bde20921169f6b0476203a5ef805ae72127b2611)
    • A11y
      • Improve date selection announcements (5c5b1e82586166187082f8d958a6db57e542f4f9)
      • Announce start/end dates (2f9844b34a6fdc54bf1468f7609c3aeed3ef73f7)
      • Announce current year and day (c6539f23901dbb6ca5fbbd6e311bcad04412ec72)
      • Fix TalkBack announcements when switching between year/day selection views (62b2b19d60ae66989506626f95ea0d264fbaa1c6)
      • Announce selection (be8b8d44de785f1a4826d02c7e82115f549de9cd)
      • Improve focus handling (ceacaa699a7663aeebc69a1a143fb5c74f64fd18)
    • Material 3
      • Add additional condition to check dynamic color supported devices (347cb9e711768ee9eb24f0d2820a02bbf4837d00)
    • TimePicker
      • Fix NumberFormatException (0c204b82125bc2465367722a370ec3e2b9148563)
      • Fix divider alignment on the clock display (6d956edcb933d6747d88346d5a0458a7ab7b251c)
      • Pre-fill hour and minute edit texts in text input mode (56ea071320719b438ba2e0d40ab74e38dc474b07)
      • Revert pre-fill hour and minute edit texts in text input mode (9806ad99f7ab6b77ca271bbee9067a2912800dec)
      • Pre-fill hour and minute edit texts in text input mode (087da2f2bcb880592b801dd1d76121478ce447dc)
      • Fix keyboard not showing at first in text input mode (15c712863048c8cef9fc918bab1578996ebd56a0)
      • Update motion specs (a4f6a1e02a17346abd10c5b409f4dd224e55b9ec)
    • Tokens
      • Refreshed outdated component token resources files. (ed77ab36ccac98df24e55060d58406c5981a9062)
      • Upgraded to v0.126 for 1p and 3p. (1ef53e2b37e6f5c14e49ada180dc2c0306e58e95)
      • Updated to correctly convert shape tokens with asymmetric shape value. (02327c332594bab59a8b0baaef7b42b576dc7266)
    • BottomSheet
      • Update elevation to match specs (6cf56a5ebebe6e1caa39a0460997b8e536e14c9f)
      • Update elevation to match specs (617e5822f9fabe7838052266a0df6a599407ac7b)
      • Sync custom actions with drag handle views (080403173c073f2e4d3bd6412dd508283f956124)
      • Only remove round corners in M3 styles when it's fullscreen (6631abbdb53e789589951452f99d1e0bbedd30bd)
    • ProgressIndicator
      • Integrates tokens into M3 styles. (ab063b7b7f86e3e8fb16fd67f6dd3d9389f5e6eb)
    • Catalog
      • Add input mode selector (09f1ee56444aa12f75f2a11c4640d47b6d97dfb4)
    • BottomNavigationView
      • Updated active text label to use a bold typeface. (11e98f2d1159cee2e1983a392cde6beb3e9436dc)
      • Fix hardcoded number of children (a2ce1dd1020ec992234836394330aeeac9ac0a64)
    • NavigationView
      • Fix subheaderInsetEnd setter (88c448ed19673e7b5d9f53690b3482a6bed06fd2)
    • BottomAppBar
      • Add attribute to remove shadow on container (1322e61c4ca4229f07cc9b1ad0af6042a459d80c)
      • Added the handle to the bottom sheet. (4c11606122d260b16cf863ad9d9ef12ecdeb6029)
    • Theming
      • Added a theme attribute for outline-variant color. (ac6f13c0bec818568bf413883a24358bfa33dd3a)
    • MaterialButtonToggleGroup
      • Handle setEnable for children (e8bfad56446af18b7bcaf2e7e63d573b025221c9)
      • Added the default Material3 toggleGroupStyle (b6c6600ad80caacc91879a37a2b67494775a4a91)
    • Divider
      • Integrated M3 tokens and updated color. (2f6ebb4001adbee3552b20eb4a2174f121f2c371)
    • Switch
      • Removed resources from deprecated tokens. (112378dcfd6856955f980715fb890d8ce711a443)
    • Checkbox
      • Integrated tokens (e67e68d6b422c065421f4da6078c04dd568420a3)
    • Color
      • Added the rest of the library for content color support. (85105965281085d6571e0290b69e3d09bdf504c5)
      • Updated material color utilities library implementation. (f0e5bdafab07ace15491514ce79c1dbdb9cd3fca)
      • Refactored material color utilities library into its own directory. (9897bc293d20341e8c9ba7e4bf91cb65d6800846)
    • ExposedDropdownMenu
      • Fix MaterialAutoCompleteTextView.setDropDownBackgroundDrawable(Drawable). (db115f0a1f0489ff2d32c5ad0c12e810527c1bba)
    • Other
      • Explicitly denote the target SDK version of bottom sheet tests (99075797f7fba60725e97e6d9aaba02dbecfdcfc)
      • Fixed SwipeDissmissBehavior not work when down touch event consumed. (624543f9bffcdd4088d643875fdd92581d826b36)
      • Set the outline to a path whenever possible (8cd2341a79cce565492942c818d3cb5ca6f09d24)
      • Update string translations (7c56473a58380b0f8e95e6bee811872f17605719)
      • Add internal method to disable hiding gestures (158a413629876a30a50b8f457ab3908bceebe85c)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.8.0-alpha01...1.8.0-alpha02

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(10.84 MB)
  • 1.7.0(Oct 19, 2022)

    What's new since 1.6.1

    • All new Switch component with a new look! Check out the updated documentation for details.
    • New Shape system that is now being used by all components. Learn about the shape system and see how its used in the Material3 theme and components by checking out the updated documentation
    • Checkbox has been redesigned and now supports indeterminate and error states! Check out the updated documentation.
    • BottomAppBar has been redesigned! Check out the updated documentation
    • New Icon Button support has been added including outlined, tonal, and filled variants!

    New minimum requirements for your app's project:

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | androidx.appcompat | 1.5.0-beta01 | 1.5.0 | | androidx.core | 1.5.0 | 1.6.0 | | androidx.test | 1.1.0 | 1.4.0 | | Android Gradle Plugin (AGP) | 4.0.0 | 7.2.0 | | Gradle | 6.1.1 | 7.3.3 | | Java Version | 1.7 (7) | 1.8 (8) |

    Other highlights

    • MaterialButton
      • Added methods to not toggle checked state on buttons on click (a6011078689521cf0c042e7444c36b6607cedcf9)
      • Updated M3 button style to add outlined icon button style (467a2c9f7314cdfd5300594b4e66a70657d5d702)
      • Updated M3 button style to add filled tonal icon button style (14578ed68cb296080d511ceb502469903c0ef5d7)
      • Updated M3 button style to add filled icon button style (25606cf34addae1420eeba24eec0f90aef06d0d2)
      • Fix icon textStart/End alignment with multiline text (b6b895a1e40efbf2e36b2ea5e91bae7bcd0bdb8c)
      • Fix icon position with multiline text (19d05000bcc273f781a85ce41530f604fead268e)
    • Documentation
      • Updated typography guidelines to M3 (104a342307c31170494c3dcd2011ca63b182e4b5)
      • Added an example to demonstrate how to make bottom sheet dialog in edge-to-edge mode (57a3c989ffdaee252fa00bbe5246f837d18b6a60)
      • Updated Snackbar doc regarding CoordinatorLayout (ef2c2fad36d11933d71ea5c9a2826be3119bec17)
      • Add status bar / edge-to-edge section to Top App Bar doc (b8e1f978940c218502ee6161d0b3f673299eceb0)
    • TopAppBar
      • Fixed bug in HeaderScrollingViewBehavior that causes child translation Y not to be reset to default if the behavior is changed from an overlapping to non-overlapping behavior in layoutParams.setBehavior (00c62d21c9e21eb595d2d83bddcf6782a9773729)
      • Excluded views that are GONE from scroll range calculation (687e73590de5ea219a14a336094002b9d3884af5)
      • Fixed collapsing title issue with different fonts (0c341c4e9b9703945ffbf22af0a4158bde41582c)
      • Added setLiftOnScrollTargetView() method (d6c435461eece74656db5e2de92944c7ca807439)
    • A11y
      • Made multi-selection Chips announce as Buttons (d4c2c9549051d706d91dcd96ceb79c52e1aedd30)
      • Made drawer announce its number of items (b1f7d5bebc298865a25747d2f28050a67b15761d)
    • TextInputLayout
      • Added a new custom length counter field and getters/setters to switch how text length is calculated for the counter. (4ded01ed3ff5f6669080b6330c3d6dce8869cdca)
      • Fixed hint is not displayed when expanding space is limited (73cb1b6e78a0e28d157a1b5da061568117c2fa40)
      • Fixed icon ripples shown behind the edit text (2c0e42f56a5c3caf386fe23312c12f90f3cffdd1)
      • Updated shapes to use M3 attrs/styles. (0e4e44e8cdc00251275c4c4b6af6873fdb2e3fea)
    • Color
      • Fixed HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (824a12b7c80703d59a909496f3dbe0126d0dd899)
    • Transitions / Motion
      • Updated container transform to use new motion system. (f2f454ba8a9d40912608a458681ea3b1dfbc50c0)
      • Opened MotionUtils and update resolveThemeInterpolator to load both new and legacy easing attributes. (894edb6aa53a8be559d97046bda0951532778990)
    • Chip
      • Migrated M3 chip styles to new shape system. (3fc53ac51fb1f49e2e6094d9e9c20c57124fe510)
      • Fixed chip layout not updating when programmatically setting text size (788866e4483621e2222f649e617ee95f7aa9caa6)
    • Snackbar
      • Added shape theming support and update M3 style to use new shapeAppearanceCornerExtraSmall (a71781355e48eb6106fc42bd4237027b71e8d803)
      • Made dismiss direction the same as swipe direction (5b9f27aad0bb185261d6e400274a416953755d74)
    • TimePicker
      • Properly align text vertically in MaterialTimePicker on S+. (703249d8727141f5cd9c346756b4e69682c54110)
      • Migrated to new shape system (f302da7401487303d42e97822dbce66b1efdc9dc)
      • Fixed restoring hour/minute selection when switch to text mode (72abed042f7577a6e24219742d0a5ac860adcb56)
    • BottomSheet
      • Disable drag handle when restricting expansion (d4da5b10a38b126f9503ddefcd9bb7bd61c1baff)
      • Handle half-expanded state when drag handle clicked (f0e662535c57c1ae4edfaaad412e9d95b4d2a16c)
      • Created a drag handle view which support accessibility control (ac7b761294808748df167b50b223b591ca9dac06)
      • Exposed bottom sheet hide friction with get/set methods. (be1b38c30b4383a332e8b0ff297d636789287d99)
      • Migrated to to new shape system. (921868d31ba733b99c7175fbc7dfa7678f4a2fa5)
    • Divider
      • Fixed lastItemDecorated not being applied to horizontal orientation (92caa194b8e99de232cee00a696f05dff28f78dc)
      • Fixed extra space when lastItemDecorated = false (714521b4aca7c2f6602324fe25643a747556ca70)
    • Slider
      • Fixed label visibility when slider is hidden (ed11e694e7e893deba91d9b56008a42f339572b0)
      • Updated tooltip shape style to use M3 shape system. (75af80cf4687da527542b57980bcaa869cfba4c0)
    • MaterialCardView
      • Migrated shape appearance to new shape system. (bfce84a27cf6d69bfb32e270da969dcc801fdf49)
    • CollapsingToolbarLayout
      • Added experimental API to allow generic customizations of the StaticLayout.Builder used for the title text (241aa5cd8bcb321ca36ac625ea1ff013db8056cd)
      • Added ability to set ellipsis on title in CollapsingToolBar (7b043c3b684eb0a680bf5219e0916ccd919760c2)
    • NavigationRail
      • Updated active indicator to use new shape system. (f700e6d6f16fec94fcc84e57c776a9d41c113fcf)
    • ProgressIndicator
      • Fixed indeterminate progress indicator not working on API 22 (61cbb8c9a6b90fcc11148b60c7c7a9f23f28037f)
    • BottomNavigationView
      • Updated item ripple to be contained within active indicator shape when enabled. (11578b34f3cd37ac57c4c8856850f385bb338d2e)
      • Updated active indicator to use new motion system. (1995438305044de55b36e7f54e5b9620aae4814a)
      • Updated active indicator to new shape system. (9a16aa471bd1f31f47c0c3163456735a4583e32f)
    • ExposedDropdownMenu
      • Added support for default/ripple background colors for the selected item of the exposed dropdown menu when the default MaterialAutoCompleteArrayAdapter is being used. (6206ff5a1f68de815b779673b73f860a0f277607)
    • Switch
      • Update dev doc with the new switch design (f469720cca7fa0603fafe421ff560963bd0b009a)
      • Added thumb icon tint to the new switch styles (2f33cfc2133036127a0c09d21d6a40b8aa77e1f9)
      • Added associated text styles (06bba009d441b7448c36f23040b366ec621adc38)
      • Added material switch style to M3 themes (1e08c680d41fd55263246a555f6d97a27ce9c540)
      • Created an icon style for the new switch design (a3ca744776aab9d69234e8ea52796feb3084c4df)
      • Support tinting thumb & track according to thumb position (3b257c0169bb2a86e9bff1c7df09233feafe8d09)
    • MaterialDatePicker
      • Migrated to new shape system (91a2550afd2218e0a15cdc3471dac5b6c32e336c)
      • Hide the keyboard when switching to calendar mode (5d6678cc66e64c379818bc294a3db4a19e1005a4)
    • FloatingActionButton
      • Migrated "regular/default" sized styles to new shape system. (25482b142510a2b30ab398f91edb0c07afdf896a)
      • Migrated "Large" styles to use new shape system. (30bb583f206bd60a3b1c540366f8f54835dc9b20)
      • Migrated "Small" styles with new shape system. (acc75697ea20fc8aa978f235586a50810edcf819)
      • Updated FAB to use new motion attributes. (934985ec5338e7cfd8fe1f4ffbdb9f9149ddba34)
    • BottomAppBar
      • Changed default Material3 theme to follow use BottomAppBar M3 specs (53b30013969e14c7aaafb808b4bdda7502684622)
      • Added an attribute to remove embedded FAB elevation (f2423de558f727316f290b7f3b4a0ae4a4f6e855)
      • Added fab end margin attribute (88a73ebb8eebc883fe84724162ad706d3c551076)
      • Added menu alignment attribute (397e48f2790a95878caf7523a026eabfac286c07)
      • Generated resources from tokens. (4188995b115534643f3a95a8a46818ca18753100)
      • Added new anchor mode attribute for FAB for an embedded option (cab45dd1dfd90a2c9069cb9486400c7467e64b97)
    • ExtendedFloatingActionButton
      • Updated show and hide motion specs to use motion tokens. (5c0003ca81dfa51503efd6f640fd8e18bd65d59d)
    • Checkbox
      • Added indeterminate state support to the checkbox. (4da7ce1a4136e5dcea08df080e75344de05e5981)
      • Updated checkbox to M3 look. (1666fbc3aa16d584956b2acba3dd0d5ad7040165)
      • Added support for error state. (8dd9c7e30c6c2a36d16b9a9c933547705f7e9af5)
    • Tabs
      • Fixed indicator not updating when a tab to the start/left of the selected tab is removed. (2fc2e6a167213e7b7f0f1491120b212132972543)
    • NavigationView
      • Update foreground boundaries of menu items when setting a new foreground (4dc3d93ac24df8ee630a4e95a11540b611a82f22)
    • ShapeableImageView
      • Updated to not layer type when view is detached from the window (74b7706de9ff3b1613aaf911f2285401ca39c45d)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.6.1...1.7.0

    Full list of release notes

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(10.69 MB)
  • 1.8.0-alpha01(Sep 1, 2022)

    What's new

    • MaterialTimePicker redesign: 2-ring support for 24H clock!
    • Updated SDK target version to 33 (89a2b6fc1c654190d7390d3e0160e436671b7af0)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | errorproneVersion | N/A | 2.15.0 |

    Library Updates

    • Button

      • Added support for toggleable Icon buttons. (8a4af079796a9594c97315a943d73d5bceb95bd3)
    • Divider

      • Fixed logic of determining whether to draw divider in MaterialDividerItemDecoration. (6f547d4fd3ed090a7686d4020761b43428848c27)
    • BottomSheet

      • Add shouldRemoveExpandedCorners attribute (6e6c53a4f4408604dd010bdb3d88117fb102128c)
      • Corrected guidance to use modal bottom sheet default style theme attribute for standard bottom sheets and added a callout explaining that there is no default style theme attribute for standard bottom sheets. (48656398cbad7cd19aa1015a606d4fe200765362)
      • Fixed drag view alpha not changing when swipeDirection is END_TO_START (39b4c76c720f00d00a9641550c522e57984f553a)
      • Add method to calculate slide offset (2958d8d51b2363bc441eb5eb3e842094c1b5788f)
      • Add attribute for significant velocity threshold (d845db8979cc5ba59362886768dd8c3c0f3c01be)
    • TextInputLayout

      • Added method to set corner family programmatically and a setShapeAppearanceModel method for greater customizability of the box background shape. (08c40d85e5710bc1cd208d7cea2d8268d98c42e6)
      • Update motion specs for hint animation (6b53f62aa2713a96ef4f5f5a48037d40b11c38f2)
      • Add scale type setters/getters for start and end image buttons in the TextInputLayout (e284e57d6412941dd534a1d93e2f42cdf199ecfe)
      • Adding set/get methods to control minimum width and height for start/end icons (633b3cecfa983436180edec40620bc369927fd1a)
    • TopAppBar

      • Make a new setter for scroll effect and make SCROLL_EFFECT_COMPRESS public (14415a1308876f03af0611d0f7d26c2f3e47d58b)
      • Added documentation for status bar foreground on scrolling app bars. (32f41ff41aaaa5c13213bbda7d726a6744103dd4)
    • Slider

      • Update motion attributes (c7a3d5e874abdebb77405e66acd542cc41466da3)
      • Release slider thumb if gesture has been cancelled (f3a5f2ff8a646c24e39b99925c0117316f01c0c8)
      • Ensured the minimum touch size of handle is 48dp (f3952f83df7443156d83c38dcd55c1712ad3978a)
    • MaterialDatePicker

      • Expose CalendarConstraints start and end getter methods (95ab9794cbe5a3915999059f1479b94984aaf546)
      • Add initialize() method to DayViewDecorator to better support configuration changes (be650c4f57aa437c873c0696e77d66a8fcd872d6)
      • Refactor header styling to allow for multiline title with description text (debe22e3978ffd41ea31c9fe9fe9b0e3d78ef1b6)
      • Hide month pagination from the year picker (51b605412af7ff6c69b35900c922dcb67f606f26)
      • Add ability to customize background color to DayViewDecorator (24201b42467773c612fd2093c62f517f0ec180fd)
      • Add support for decorating day views and a demo for circle indicators (bca0f2ea8eee79c45a5684cafa550815d3951c6c)
    • TimePicker

      • Fix text appearance on the clock display (0dbea2df1af208558a8b7a8e0e17a9c2de3e4ddc)
      • Use a single layout for time input (60bc025aa9be8efcc421273d7768b53a8f676cdc)
      • Fix text and cursor alignment on the clock display (16edbb986bc60ba169f69a79a808336ca6aab0a3)
      • Fix TimePicker appearance for RTL (b3acd17ee4b5b5949e5c698a2c3678a2e8dc25f1)
      • 2-ring support for 24H clock (cbc0711ca34bf42af1ac3e6bb2e0587195b63b86)
    • Switch

      • Update dev doc with the new switch design (a6df2545efb84e7bca37fdf987ec35c6846e5025)
      • Move public.xml to the correct directory (aa59bddca94399be5b9b32509e2c4c742f47eb14)
    • A11y

      • Fix focus when changing input mode (eca825fd37738e49aae5bd9b0aeb20480d3d133f)
      • Update hour content description for 24h clock (ee19b01e2eada55f31aad5caf5b6d789095a4aa5)
      • Make Clock text scale with system font size (e9fc0a033a10ec2e53d8a721aa68779dbc33aa7c)
    • BottomAppBar

      • Update motion specs for show/hide bar (21b74f90b2113ef32d093e853d36c867b08cdb2d)
    • CollapsingToolbarLayout

      • Exposing methods to set text size for collapsed and expanded text size (29bed9a021dd84b07fdab38a055bf3bb72cfff1a)
    • Tabs

      • Update motion attributes for tab layout (d1c5a52cf47a4c67a6ee453c7474e18ab3377094)
      • Fix icon position in icon-only tabs (cebf5919ad404f3dfba65bf9a9fe0f7045c0cbaa)
    • ProgressIndicator

      • Finish all visibility animations when animate = false (26aa22b26df23c05818fe9e35e7399cf1e42a684)
    • ExtendedFloatingActionButton

      • Update extend/shrink motion spec (9db041cc52472b1e5d2ad0643acaaa5879d9fed8)
    • Snackbar

      • Update motion specs (3d3edce956b88ffd1c52e9a1f7155c41a4b4b45c)
    • Shape

      • Change relative corner size behavior for "vertical" shapes (158d9f012a5753b0321ca2c16d8e47481d5a42aa)
      • Fix rotation angle calculation (41eb6d0ff4eb72f7343191a0bd28f28219439c56)
    • Catalog

      • Fix navigation bar overlaps ui #2927 (5c2eb45fd9eee06374a4e687aec93550a750610f)
      • Replace android.support dependencies with androidx (3d32f73f4d661af9dfd5856147c6b964f22896f3)
      • Update date picker demo text appearances to M3 (c19efa03e524278238e0c5c53bf58115cacc9f73)
      • Updated button demo to provide the correct content description for icon only buttons. (2697e0f699c66dcc7f2bcb0a7eec5e9ce4a169df)
      • Added search/filter functionality to MDC Catalog. (549fe191340452403605a80946c40d21de37e211)
      • Fix the favorite icon vertical alignment on demo landing rows (745acfdfc7914be14414dea7642741f8647eb3af)
      • Fix favorite row button alignment in lower apis. (849be73edb5510748d66e8b84d50639ee9082856)
      • Updated color in Crane, Fortnightly, and Shrine with the colors generated from custom theme builder. (676a6585eb4efce738add2f886f1c02ee2d186ab)
      • Moved edge to edge mode from the app header to CatalogPreferencesDialogFragment. (98ce465aef1f89649361c7ae00edefb9b9c2f732)
      • Add ability to favorite a specific demo fragment/activity to launch on start (15196f5a56bdeea08215fc1751934d948addc3dd)
      • Updating catalog to remove M2 options for Bottom App Bar (8bec1675e6671eacffd77ce46efbc6a5e322c952)
    • Other

      • Add @CanIgnoreReturnValue to some APIs that return this. (44cc9b745ceb9bfc842c69666ca4f46500505c79)
      • Update lerp to accept input ranges of any size. (1a336b5cecef90f8018eeb4d13e1b2d360393988)
      • Simplify size computations for some views (41d446074491ae0c3422d32aae8280d1cabfd011)
      • Added AnimatableView Interface. (edcb7fb38c87d17a82d6d4b884b25b2270ed797f)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.7.0-rc01...1.8.0-alpha01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(10.74 MB)
  • 1.7.0-rc01(Aug 30, 2022)

    Dependency Updates

    • No dependency updates

    Library Updates

    • Checkbox
      • Fixed NPE crash due to layer drawable's constant state issue in APIs < 23. (7e18ac458a7e37eee669e30a332c6a4160722941)
      • Fixed a11y announcement for indeterminate state. (ec1663fe1c33b76f192695925e6327f1c6c67e72)
    • Snackbar
      • Made snackbar javadoc more clear of how its dismissing works. (5cb92c84d72eef877747538b0b22f8deeb6481e5)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.7.0-beta01...1.7.0-rc01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(10.69 MB)
  • 1.7.0-beta01(Aug 11, 2022)

    Important

    New minimum requirements for your app project:

    What's new

    • Updated MaterialCheckBox component with indeterminate state support!
    • New icon-only styles for MaterialButton component!
    • New MaterialSwitch component! (Spec)
    • Updated BottomAppBar component! (Spec)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | androidx.appcompat | 1.5.0-beta01 | 1.5.0 |

    Library Updates

    • Divider
      • Fixed lastItemDecorated not being applied to horizontal orientation. Also updated the demo to include both orientations. (92caa194b8e99de232cee00a696f05dff28f78dc)
    • BottomSheet
      • Disable drag handle when restricting expansion (d4da5b10a38b126f9503ddefcd9bb7bd61c1baff)
      • Handle half-expanded state when drag handle clicked (f0e662535c57c1ae4edfaaad412e9d95b4d2a16c)
    • Catalog
      • Updated Catalog preferences demo to use MaterialSwitch (f82e7275dcc3f12219e3ce2543a744cd57c6d6f4)
      • Updated catalog preferences for shape corner sizes. (f1624947cb7ee8a89b917a1fe60a7f13ee724dbb)
      • Fixed corner family options in preference. (f6942a4c440be0e0ad7b6f24363c8078fb6ee8a1)
    • TopAppBar
      • Fixed bug in HeaderScrollingViewBehavior that causes child translation Y not to be reset to default if the behavior is changed from an overlapping to non-overlapping behavior in layoutParams.setBehavior (00c62d21c9e21eb595d2d83bddcf6782a9773729)
    • Checkbox
      • Fixed pre 21 issue where the icon did not update its color according to its state properly (2cc8932ef9b7fcf040cd9bb8b511b1187f87bfa8)
      • Updated checkbox documentation. (130a35c3935b253f7406ed73cca65c905b4709d5)
      • Added indeterminate state support to the checkbox. (4da7ce1a4136e5dcea08df080e75344de05e5981)
      • Fixed icon color not updating correctly in light mode in pre 21. (a5f8e9325a1e3bb9d80973f7ad865c21e7229d02)
      • Fixed pre-21 issue where a child of the layer drawable (the button and/or the icon drawables) may not have its constant state set up properly. (f76b75a5faf025ccda4474b5339582465dad1905)
      • Fixed issue where AppCompatCheckBox would not display its drawable when a Material theme was being used. (04fed55780665f58bfb59382a8417fd3264ad654)
      • Updated checkbox to M3 look. (1666fbc3aa16d584956b2acba3dd0d5ad7040165)
    • Slider
      • Fixed NPE when trying to remove labels when ViewOverlay doesn't exist yet (95e585cfa5c0e890e5fd7f70c637328a410fcb93)
    • Badging
      • Fixed NPE in BadgeState (4f844ab35f01ad62482f23edd262f7076bb56271)
    • Switch
      • Updated doc with the new switch design (f469720cca7fa0603fafe421ff560963bd0b009a)
    • Documentation
      • Updated typography guideline to M3. (104a342307c31170494c3dcd2011ca63b182e4b5)
    • BottomAppBar
      • Updated catalog to remove M2 options (048c35d8c00d14e40a9cecaa5d3e7fb19d0c9234)
      • Updated docs (be861680ec9e9d956d3b633a9623fc5a8c5cb1ed)
      • Small bugs and padding adjustments (949f623610f28428ee4f2dc7e0a58510903f2b98)
    • Color
      • Added additional condition to check dynamic color supported devices (81c2ded085e8721dd05ed534e9ae5ac3eac567b1)
    • ExposedDropdownMenu
      • Fixed missing icon activated color. (3af5784b5be19ac161b3540924482dbdc390de3c)
    • Button
      • Added support for toggleable Icon buttons. (631f0eb2c0c5e3059fd33048861607f5360f145e)
    • Other
      • Added defensive null check for typeface passed in to util (2e815d24147af12ca9e0a5460cce771c769fc3ee)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.7.0-alpha03...1.7.0-beta01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(10.69 MB)
  • 1.7.0-alpha03(Jul 14, 2022)

    Important

    New minimum requirements for your app project:

    What's new

    • New MaterialSwitch component! (Spec)
    • Updated BottomAppBar component (Spec)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | androidx.appcompat | 1.4.0 | 1.5.0-beta01 | | Android Gradle Plugin (AGP) | 4.0.0 | 7.2.0 | | Gradle | 6.1.1 | 7.3.3 | | Java Version | 1.7 (7) | 1.8 (8) |

    Library Updates

    • Switch
      • Update to AppCompat 1.5.0-beta01 and remove workarounds (also update compileSdkVersion/targetSdkVersion to 32) (e968929c08228f475f0f09c302da437a97180284)
      • Tokenize the new switch styles (e9b5328490b23e6c8f5ab31280bbbe452a8d9fb9)
      • Refine tinting logic to have better performance (072578dde65c83ea2929bfca81791a9650820682)
      • Add thumb icon tint to the new switch styles (2f33cfc2133036127a0c09d21d6a40b8aa77e1f9)
      • Add associated text styles (06bba009d441b7448c36f23040b366ec621adc38)
      • Add material switch style to M3 themes (1e08c680d41fd55263246a555f6d97a27ce9c540)
    • BottomSheet
      • Add drag handle to scrollable demo (f89a91f534c7f5a53cf552f904ca3c91cd8e269b)
      • Create a drag handle view which support accessibility control (ac7b761294808748df167b50b223b591ca9dac06)
      • Do not find scrolling child that's not visible (1fe1618fca91f9431b82c60fa8a7a2e1f18d83cd)
      • Update javadoc of setHideable() method (132ff888ea0cf429c4799096bde17a765ef9c7b6)
      • Fix BottomSheetDialog edge-to-edge mode (2d3024ea1092b55d46e7785527853186e124d5aa)
      • Fix BottomSheetDialog edge-to-edge mode (fd8d30d55c11b7bd38e1697c68ac1e2ada830560)
      • Fix full-screen dialog layout after restrict expansion is enabled once (109748e9958f36e439a65dd975edde99a937d2b5)
    • ProgressIndicator
      • Renamed res/animator to res/anim. (04f4a1abc036efe255db0b81583efe78a79a0111)
      • Fix ProgressIndicator's size under a complex measurement (71bfaca70617ae70bfbf570ccdf16b6fc05aa133)
      • Make progress indicator drawables scalable by setBounds() (69e484dd1eaa1200da54c8a8b8fc505969703f37)
    • Catalog
      • Small fixes (51c59faf71d1d0817726a9ce6a28df69f47ce5b0)
      • Updated Buttons Demo to showcase toggleable icon only buttons. (273554f5f4f37a8c62372a1b0e701aeb8e16fa2a)
      • Updated checkbox catalog demo to include error state. (0cb355b26a66e2a67cd1332be7fef80a712a51dd)
      • Migrate M3 catalog to use the new Switch design (93e53d0cc95d2ae68dff2163762e7ff3d0086a6b)
    • Documentation
      • Add an example to demonstrate how to make bottom sheet dialog edge-to-edge (57a3c989ffdaee252fa00bbe5246f837d18b6a60)
      • Update Snackbar doc regarding CoordinatorLayout (ef2c2fad36d11933d71ea5c9a2826be3119bec17)
      • Update Getting Started Guide with new minimum requirements for 1.7.0-alpha02+ (cdc781dde60cc1cf04e0e538f0e5a823f10d5554)
    • FloatingActionButton
      • Reorder styles. (5ff3930833155b9b7923c6f8d8def302a8682609)
      • Integrate component tokens. (ac5c4df3ae9a0dc29b4d1453ff9d320af3acc48a)
      • Combined Small, Regular, and Large styles in one catalog fragment. (ab04c9c64a7986ca4b87a403995c42b8450c5cab)
      • Migrated "regular/default" sized styles to new shape system. (25482b142510a2b30ab398f91edb0c07afdf896a)
      • Fix the issue that state-list animator cannot be customized (ea12f84f2bff4174c53dcacb66beb952c68279f3)
    • Tokens
      • Integrate component tokens. (2719859ec8dc7db743c83ab6b1357fea8b4efb6f)
      • Included parent display group names in the output file comments. (cc317e15d7031c41e4d616f76242396e5790eae4)
      • Updated formatter to add an new line between token_set sections for better readability. (cd37b9170c149de80ca5729035b5a2ad33afc9dd)
      • Integrated elevation overlay color. (d320d4866b29c1693cf2112555235307f8fb62a3)
      • Upgraded token resources to v0.99. (d0c3ea0eb563cf496f22e5094b0f7ec700a6dd31)
    • Snackbar
      • Avoid update layout if bottom margins for anchor view does not change (fd5ee4a98980aab6be52c775eb974dfdf0efa057)
      • Add defensive null check for messageView.getLayout() in SnackbarContentLayout onMeasure (e981f2f96cbca1eee2b0621db5ee84df578a0ae6)
    • Slider
      • Fix label visibility when slider is hidden (ed11e694e7e893deba91d9b56008a42f339572b0)
    • TopAppBar
      • Add status bar foreground to compress catalog demo. (4e52469ec43e18aaeac6ae20efd4c4ceab66ebaf)
      • Exclude gone views from scroll range calculation (687e73590de5ea219a14a336094002b9d3884af5)
      • Add clearNavigationIconTint() method (c5b37e6ea654b400dcf0dcfe8ab6dfa5ecb3f0af)
    • BottomNavigationView
      • Updated item ripple to be contained within active indicator shape when enabled. (11578b34f3cd37ac57c4c8856850f385bb338d2e)
    • ExtendedFloatingActionButton
      • Updated show and hide motion specs to use motion tokens. (5c0003ca81dfa51503efd6f640fd8e18bd65d59d)
    • Checkbox
      • Added support for error state. (8dd9c7e30c6c2a36d16b9a9c933547705f7e9af5)
    • MaterialButton
      • Add methods to not toggle checked state on buttons on click (a6011078689521cf0c042e7444c36b6607cedcf9)
    • RadioButton
      • Refactored button tint color resource and updated docs (254abc58b8a3969fa11e3b42af42dcee9730ceeb)
    • TextInputLayout
      • Delete unused paint (b18f45ee9983421a5f655cc426ed33e93327a59e)
      • Fix "android:enabled" attribute support (15fa4db6167c3d2954fa5cfa33ed8a69e1e3c220)
      • Stop saving/restoring TextInputLayout's themeable fields (051410b7efc089e50e7f83db9a922258e2ba359e)
    • CollapsingToolbarLayout
      • Added experimental API to allow generic customizations of the StaticLayout.Builder used for the title text (241aa5cd8bcb321ca36ac625ea1ff013db8056cd)
    • BottomAppBar
      • Changing default Material3 theme to follow M3 specs (53b30013969e14c7aaafb808b4bdda7502684622)
      • Token integration (f2f588af828f04e9e317bd7a4c9f6adef0c4f949)
      • Add attribute to remove embedded FAB elevation (f2423de558f727316f290b7f3b4a0ae4a4f6e855)
      • Add fab end margin attribute (88a73ebb8eebc883fe84724162ad706d3c551076)
      • Add menu alignment attribute (397e48f2790a95878caf7523a026eabfac286c07)
      • Generated resources from tokens. (4188995b115534643f3a95a8a46818ca18753100)
      • Add new anchor mode attribute for FAB that has an embedded option (cab45dd1dfd90a2c9069cb9486400c7467e64b97)
    • Tabs
      • Mutate selected indicator drawable when it's being set (d1895cdd35d6732c7f5a5cf535b04b22a7f8a53a)
      • Refine tab update logic from ViewPager adapters (36efca0aa28e4a8389b43daf82aabb7fd0171442)
      • Fixed indicator not updating when a tab to the start/left of the selected tab is removed. (2fc2e6a167213e7b7f0f1491120b212132972543)
    • Transitions / Motion
      • Update documentation with new visual assets. (a9752ee5ccabb7ae9f4c0be074a72405791e76ef)
    • TimePicker
      • Refine AM/PM toggle logic (0c56a45639cc0a7f525ad116d9e139402443aadb)
      • Fix AM/PM toggle (1dc0e6b4909958d50522a6e9cb70ecdcd42ec384)
    • NavigationView
      • Update foreground boundaries of menu items when setting a new foreground (4dc3d93ac24df8ee630a4e95a11540b611a82f22)
    • Divider
      • When lastItemDecorated false then creates a blink with the last view contains a dropdown from visible to gone (03c4353937c18ccf13855fc27dc4e6d36ef0eecf)
    • ShapeableImageView
      • Don't change layer type when view is detached from the window (74b7706de9ff3b1613aaf911f2285401ca39c45d)
    • MaterialDatePicker
      • Improve error formatting (be8e4e2d9acf85ab0cb95176946b9ceade8f967f)
    • A11y
      • Fix announced Chip count and index (9b1a74b95e609a2367f275b2ea161cd196870a5a)
    • Chip
      • Fix API requirement (777ba0d55a33aeb4cd7658a613cee62a03e0a0a6)
    • Other
      • Version 1.7.0-alpha03 (a40f5faabc19b35fe3e27ac6a81af095a462248a)
      • Automated g4 rollback of changelist 458265064 (34ac0ecf72207b5b8e0e9acff04422dfd0829212)
      • Update guidelines for CollapsingToolbar + PreferenceFragmentCompat (201b4a0944908dda6e3f5094b0bee0aea6d86b90)
      • Automated g4 rollback of changelist 457744460 (10ac255bb2c6e47193a2432dcdca07f6709da85b)
      • Automated g4 rollback of changelist 458476376 (c49f9615a80818eca0ae34096c6dfe302293c7c0)
      • Added support for toggleable Icon buttons. (2d83321a91715d7b6a74959ab7de9c7992c33034)
      • Automated g4 rollback of changelist 457648699 (65a3ac555ad73d88619e5bd9d931b4824c13b3e7)
      • Remove unused public.xml resources (cd80b71817c05321e51e53d951c09764c50837e6)
      • Automated g4 rollback of changelist 454163860 (ca2da6c6a4a34adad76936333f978c2eaf867828)
      • Automated g4 rollback of changelist 457576897 (7e9045b8b76d955a60907582abca3db75ffda8dd)
      • Updated translated strings. We know how to say "Cancel" now :) (3fdfb6e230767138849edf858c13da1bf1d3f90b)
      • Fixed overlapping of compat shadow of inner corners. (ecb6284a8bee61677dc5859346d36e75100c69de)
      • Updated dev doc. (36e204f5871cf25b507130156680a8da03b87032)
      • Update Appcompat and Emoji2 libraries from aosp-androidx-g3-release with build id #8479725 (eb54d6a51a494ab51ae6fe4708c1db2c60fec541)
      • Add glide to catalog dependencies. (8a352fdf38fe845f81da6104115f5d0f46609baa)
      • Automated g4 rollback of changelist 452075757 (a9a57af629efc27b2174c3e4beabf91b2cef5fc1)
      • Added isMaterial3DynamicColorApplied attr to identify whether dynamic colors are being used in a theme. (7d0f1badea05b87afb5a4aa7600c940f1f304a0b)
      • Migrated to new shape system. (3db210931136abbd55874f943709678da4f10a7c)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.7.0-alpha02...1.7.0-alpha03

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(10.66 MB)
  • 1.6.1(May 31, 2022)

    Dependency Updates

    • No dependency updates

    Library Updates

    • TopAppBar
      • Add null check for logo ConstantState check (299c8e1e82c459d7de9fac0884edfbc32f571cb8)
      • Loosen check for scrollable child when adding a11y actions (dff14cadd78af3992dfd7c8c989314d11758554d)
      • Fix scrolling for a11y (a5a738bfa2f2786e8d6bd91e77d823d3534612b1)
    • Color
      • Fix Resources Loader bug for color harmonization (bef8ca1b49c92660410c6a68cda326af86cfa749)
      • Provide better logging for ColorResourcesTableCreator (b33cf80dd7937b6d31c511e9c545f2a040c70665)
    • Chip
      • Fix ChipGroup.getCheckedChipIds() returns wrong state (0356d7c391c4aa64e54a5aa398d58def673d0114)
    • TextInputLayout
      • Fix for TextInputLayout leak via AccessibilityManager. (#2718) (948d5dac03a55971338d36bb52f1f49bd448ebd7)
    • Other
      • Update library version to 1.6.1 (248d4c8efb89b0f8579b8fc5b5bc9e23695f29b4)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.6.0...1.6.1

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.55 MB)
  • 1.7.0-alpha02(May 25, 2022)

    Important

    New minimum requirements for your app project:

    What's new

    • New MaterialSwitch component! (Spec)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | androidx.appcompat | 1.1.0 | 1.4.0 | | androidx.core | 1.5.0 | 1.6.0 | | androidx.test | 1.1.0 | 1.4.0 | | Android Gradle Plugin (AGP) | 4.0.0 | 7.2.0 | | Gradle | 6.1.1 | 7.3.3 | | Java Version | 1.7 (7) | 1.8 (8) |

    Library Updates

    • Switch
      • Create icon style for the new switch design (a3ca744776aab9d69234e8ea52796feb3084c4df)
      • Added token generated resources. (65120923d590579f3083e05eba542a4ac57e98c5)
      • Support tinting thumb & track according to thumb position (3b257c0169bb2a86e9bff1c7df09233feafe8d09)
      • Add a workaround to get thumb position (72bac616ccca4f7789ada118f1a3f34548eb61e0)
      • Override switch width set by AppCompat to respect the drawable width (fd40fea4618b8c7c29d36e138aa5b3a8efc01217)
      • Implement track decoration in the new design (1e7bd27a29e7e2d40d0786ce3063a4c161643e18)
      • Add thumb and track drawables for the new switch design (1414f9e480107ebe8970b1cb6a7be8a32decebca)
      • Create a base skeleton of the new MaterialSwitch package/class (b2a3fbe1f3998dc908dba3698e155998b46f55e5)
    • Chip
      • Fix ChipGroup.getCheckedChipIds() returns wrong state (413a0479574b66be74f42bf9e8a11e1245c72a09)
      • Migrate M3 chip styles to new shape system. (3fc53ac51fb1f49e2e6094d9e9c20c57124fe510)
      • Fix chip layout not updated when programmatically setting text size (788866e4483621e2222f649e617ee95f7aa9caa6)
    • Snackbar
      • Fix margins are added multiple times when show() is called (46fa8cc45b8bb6d1423f7349986c7f3f4cdc5d4e)
      • Add shape theming support and update M3 style to use new shapeAppearanceCornerExtraSmall (a71781355e48eb6106fc42bd4237027b71e8d803)
      • Make dismiss direction the same as swipe direction (5b9f27aad0bb185261d6e400274a416953755d74)
    • MaterialButton
      • Updated M3 button style to add outlined icon button style. Updated catalog to showcase the same. (467a2c9f7314cdfd5300594b4e66a70657d5d702)
      • Updated M3 button style to add filled tonal icon button style. Updated catalog to showcase the same. (14578ed68cb296080d511ceb502469903c0ef5d7)
      • Updated M3 button style to add filled icon button style. Updated catalog to showcase the same. (25606cf34addae1420eeba24eec0f90aef06d0d2)
      • Always update drawable state when background changed (363e2b1708ba5a9981fbba3a31da9ddb1e9174dd)
      • Added materialIconButtonStyle attribute and updated M3 doc to document icon (only) button style and attribute. (402bdf4bbe48c814dc59772983c6263d2be0c84a)
      • Migrated shape appearance to new shape system. (1d3bb00de2279c4ff2ee6996557a57eb7d3ad333)
      • Fix the issue that button state is not updated (45b99f603e377e978d7a73cdfee10b50ed83ff43)
    • Color
      • Added DynamicColorsTest. (66581f289548134716f4fad89ac93cad2ea397a3)
      • Fix Resources Loader bug for color harmonization (78d2c1f3db44c07fc84e6878fcd56bc2a5db310e)
      • Update Dynamic Colors condition (b3a7dafe6e9a6f5ed7c83ed5b1898b2024957d09)
      • Provide better logging for ColorResourcesTableCreator (29fddaa40a8c0f1ad15d91b8f72c8f7346a24f55)
      • Refactored ColorHarmonizationDemoFragment to DemoActivity (65e75062f2f6fd2645f7f95b9dfaf7f2d885d601)
      • Refactored PreferencesActivity to allow configurations on any activity-level preferences/options (dfd8dbaf3a31dc8b1228310a0149ab3e035dc5c6)
      • Added DynamicColorsTest. (a2507b8b13117404f5e78b0a08ae5be3db7e1504)
      • Updated color harmonization demo (dc65df3acebbc1eed10cec2e4f46282225e56354)
      • Fix resources being re-harmonized when wrapContextIfAvailable() is used. (f0f07c5cf207e82bcbf05636a0919a09597a44b3)
      • Added ColorGrid classes for color harmonization demo. (03475874f77c1c7132ac6febf3ed60cd529bf58c)
      • Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. (66990a1da18fcf490f3de2c816af9f2298b9c350)
      • Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (824a12b7c80703d59a909496f3dbe0126d0dd899)
    • TopAppBar
      • Fix copy constructors (382ce9c792e6c4fa5c9728602d68c5b42061682d)
      • Add null check for logo ConstantState check (2ac796fdf4bd29f455bcf04bd25ad42540c19af4)
      • Loosen check for scrollable child when adding a11y actions (4b81bb1d1a467d03b6f323639f5358ec14445c67)
      • Fix scrolling for a11y (72228f4f35b0c155c870f59bc7c807e05443bf95)
      • Fix collapsing title issue with different fonts (0c341c4e9b9703945ffbf22af0a4158bde41582c)
      • Fix margins not applied when collapsed and expanded text size and type face are the same (526ce8c6c56dbea789fa8e778dd5a45794fc0f91)
      • Add setLiftOnScrollTargetView() method (d6c435461eece74656db5e2de92944c7ca807439)
    • TextInputLayout
      • Add a new custom length counter field and getters/setters to switch how text length is calculated for the counter. (4ded01ed3ff5f6669080b6330c3d6dce8869cdca)
      • Link OnItemSelectedListener of AutoCompleteTextView with the actual drop-down list (2db8b0cd5ae80809fad89440b6c094fa6077c3b0)
      • Fix hint is not displayed when expanding space is limited (73cb1b6e78a0e28d157a1b5da061568117c2fa40)
      • Fix for TextInputLayout leak via AccessibilityManager. (673cefc71463cdffe13ce17e7146181365ddfd44)
      • Centralize icon view state handling logic (ac74bc3bfd53771cd3ec2d64c976369fe51c0f32)
      • Move end icon and content description logic to the layout class (86b512a81c9e1abea5f8e209ec28b947fdf8e409)
      • Centralize accessibility event dispatching logic for drop-downs (d3ab6d7bf1946f60a510686003ec1d91d934cade)
      • Remove TextInputLayout.getEditText() calls from EndIconDelegates (7b2f92443ad847c73294d1f5bf2c6406ce3b8850)
      • Fix icon ripples go behind the edit text (2c0e42f56a5c3caf386fe23312c12f90f3cffdd1)
      • Move drop-down background and ripple creation to TextInputLayout class (1a42c743fe6ae24089916a606f61cb5676b780c4)
      • Updated shape to use M3 attrs/styles. (0e4e44e8cdc00251275c4c4b6af6873fdb2e3fea)
      • Create EndIconDelegate.deactivate() method and remove the relevant listener (a0e8c3547077dc530734710afd6f2496523573f6)
    • A11y
      • Make multi-selection Chips announced as Buttons (d4c2c9549051d706d91dcd96ceb79c52e1aedd30)
      • Announce number of items in drawer (b1f7d5bebc298865a25747d2f28050a67b15761d)
      • Fix label for hour/minute EditTexts. (5b78bf48964a5a398c9953988908a54c49c199eb)
    • TimePicker
      • Properly align text vertically in MaterialTimePicker on S+. (703249d8727141f5cd9c346756b4e69682c54110)
      • Clean up shape appearance hardcoded in layout files. (269830e94ec60f599ee70a52455980029fbda5c8)
      • Migrate to new shape system (f302da7401487303d42e97822dbce66b1efdc9dc)
      • Restore hour/minute selection when switch to text mode (72abed042f7577a6e24219742d0a5ac860adcb56)
    • BottomSheet
      • Add back accidentally removed setLightStatusBar method and annotate it as deprecated (53086a0533077c1cda5a887a8a8640335dbfd1ef)
      • Fix bottom sheet dialog status bar color adjustment (1a91e683a38184c116cd6683c8ea88f1f493f7d7)
      • Exposing bottom sheet hide friction with get/set methods. (be1b38c30b4383a332e8b0ff297d636789287d99)
      • Migrated shape appearance to new shape system. (921868d31ba733b99c7175fbc7dfa7678f4a2fa5)
    • Divider
      • Fixed extra space when lastItemDecorated = false (714521b4aca7c2f6602324fe25643a747556ca70)
    • Slider
      • Add back deleted tooltip shape appearance (64bdf9e2b7784858e5e824b08077373a7775a6a1)
      • Updated tooltip shape style to use M3 value. (75af80cf4687da527542b57980bcaa869cfba4c0)
    • Transitions / Motion
      • Update container transform to use new motion system. (f2f454ba8a9d40912608a458681ea3b1dfbc50c0)
    • MaterialCardView
      • Migrated shape appearance to new shape system. (bfce84a27cf6d69bfb32e270da969dcc801fdf49)
    • CollapsingToolbarLayout
      • Allow application to Set ellipsis to Title in CollapsingToolBar (7b043c3b684eb0a680bf5219e0916ccd919760c2)
    • NavigationRail
      • Update active indicator to use new shape system. (f700e6d6f16fec94fcc84e57c776a9d41c113fcf)
    • ProgressIndicator
      • Fix indeterminate progress indicator not working on API 22 (61cbb8c9a6b90fcc11148b60c7c7a9f23f28037f)
    • BottomNavigationView
      • Updated active indicator to use new motion system. (1995438305044de55b36e7f54e5b9620aae4814a)
      • Update active indicator to new shape system. (9a16aa471bd1f31f47c0c3163456735a4583e32f)
    • ExposedDropdownMenu
      • Added support for default/ripple background colors for the selected item of the exposed dropdown menu when the default MaterialAutoCompleteArrayAdapter is being used. (6206ff5a1f68de815b779673b73f860a0f277607)
    • MaterialDatePicker
      • Migrate to new shape system (91a2550afd2218e0a15cdc3471dac5b6c32e336c)
      • Hide the keyboard when switching to calendar mode (5d6678cc66e64c379818bc294a3db4a19e1005a4)
    • FloatingActionButton
      • Migrated "Large" styles to use new shape system. (30bb583f206bd60a3b1c540366f8f54835dc9b20)
      • Added "Small" styles with new shape system. (acc75697ea20fc8aa978f235586a50810edcf819)
      • Updated FAB to use new motion attributes. (934985ec5338e7cfd8fe1f4ffbdb9f9149ddba34)
    • BottomAppBar
      • Add a callback for whenever bottom view hides/unhides through scrolling (21f9b0ff25d23506e9300f057a42bd24508d1b7e)
      • Updated FAB alignment mode slide animation to use new motion attributes. (722756e389b89f21cf37c99e51b3b772343aadda)
    • Tokens
      • Upgrade resources to v0.95. (c3406dc3abedb0190e7a10e8d745c09587690d6e)
      • Regenerated token resources with type. (a1e83052d9d4ccda4d6fc8363aadcdef369273df)
    • Documentation
      • Small fix on divider doc. (13e27a828cb6f59288465da1683b9615e6844c6b)
      • Update doc to mention liftOnScrollTargetViewId attr (e52326060c4c874afb6011880a0fb7b009da7bc7)
      • Added a note for shape theming. (e74baff97b6388d9ef54631594061aa6194ac5c1)
    • Catalog
      • Surround TransitionFragment platform demos with proper sdk int check to fix lint error (265cb867cdaba0a4bc8dcdc7d6050910db073fe9)
      • Apply M3 style to bottom sheet in bottom app bar demo. (d25d18d462402f819576e84058dba257e0b2ab7e)
      • Fix DateValidatorWeekdays description (5549e53dedae48d464ea0f876031851d8e191165)
      • Fix DatePicker when the "Last 2 weeks" option is selected (2fa78da1a2a97777f44295f7c8b46cb60b356e96)
      • Fixed Button demo to use the correct style for Icon Only Button. (83f7a7a0abe543f4c6e12a26180001a276f08983)
      • Fix the demo image of the DatePicker component (b2c3dd601f7bb08f0c99210c652068d7be7d1f76)
      • Fix timeFormat toggle in TimePickerMainDemoFragment (db167635e49e75522c808aaf1caf4068002da3b3)
    • Other
      • Remove unit test resources from main library source set and refactor the way test resources are configured/accessed (9cd794c72f98e5f09a0e5d8e4b190c3fd28671e5)
      • Add runtime dependencies to Javadocs classpath to fix failure (188ea5514c90deaabcea9ca40eafcb16baa843e0)
      • Added constructor with layout ID and update appCompat version (4d4f3ccd8f33aa7941988bf8fb2171a61394e509)
      • Migrate M3 NavigationView style to new shape system. (cfeb31a3f251aeb02b2b5381c3f75aa7571877da)
      • Update date and time picker translation strings (8c775cb418afe75ab3e1779880bed73a71b12795)
      • Workaround the issue that Context.obtainStyledAttributes() doesn't handle @macro properly (3fa48d4cd517170720032f87f88baf92f9778c0a)
      • Fix container transform easing mapping. (5b50bf13a28a96a3f3b09194a3a04c7702b57d2e)
      • Update shared axis, fade through, and fade to use new easing and duration system. (e151b7a8ae03a0ea95e6e93be5294110a6835629)
      • Update M3 style to use new shapeAppearanceCornerExtraLarge attr (391d2b2c3465a8a6daa43b678cef84bdf9eb8b77)
      • Use regular strings instead of @android:string/* which can have translation issues (7109aa4b8b5f966569c8a5db9c5676374577d716)
      • Update library source and target compatibility to Java 8 and add lambda + method reference usage (b62b9a50b0b204cabe41edb4af9c387a5c9fd441)
      • Update string translations (431e291b01a4862146bba73381cda749bbfe4363)
      • Added theme attributes and styles for new shape appearances. (6217aa8581f159961abef56ecf10ea6701043834)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.7.0-alpha01...1.7.0-alpha02

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(9.97 MB)
  • 1.6.0(May 4, 2022)

    What's new since 1.5.0

    Other highlights

    • Material 3
      • Hide shadows on all M3 Toolbar styles, not just Surface style (b49284ec75ab16a9f649b97cb26aa4a17bc82512)
      • Migrate action bar popup themes to M3 (2ae3ca42985722900f53de9d9a1ef61c143767eb)
      • Update M3 card elevation according to the spec (bb23e2d6ad7888713d51e1dc53f36a69b0db62ff)
      • Add missing attributes to M3 button styles (3c9b45292d78a80f511d672bb5fe4ef1431dd8bd)
      • Update M3 navigation rail text appearances (6b57c52973c2ceb97c88da1df1b72859ed28775a)
      • Fix M3 date picker styles (fba1a341c31cbe2c5d71c239afc8bcc14af9d968)
      • Change checkedIconGravity values to enum (bc56d5b43b93ab6dbed4d561ad8b8b1351f9535c)
    • Badging
      • Prevent multiple badges being attached to a menu item at the same time (b3db1cc02855453f91353fca9e9cb11ccf0db9cc)
      • Refactored Badge state managing logic (bbbeacd64e3b1cc64e8edc6adf430aad45d03e32)
      • Added support for different locale on badges (b8f2dd53e0e19ea376639a610a0b51faabf0f9af)
    • BottomNavigationView
      • Added supported NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (12222684370dfb6c3400fd984578059d22741bb3)
      • Removed font scaling from NavigationBarView item labels. (d66676fd6bb93556c2cb3b0d9f7885821ac5bd8f)
      • Set backgroundTint explicitly to @null in M3 bottom navigation styles (adbcf8cbbc6e95921d233c87eb87dc01b6cc8f0d)
    • BottomSheet
      • Fix bottom sheets in EXPANDED state when the expanded height is the same as the collapsed height (493243ea1e5a2a0eee675b652cae0eeaec73b6a3)
      • Simplify state transition logic (04c483cf3466cd0a7bf4835cadccc2372ba0da2b)
      • Fix activity leak when setting states on destroying activities (43114c4f7c9ca0c70c48c777dbd2957386d539e5)
      • Update edge-to-edge paddings when bottom sheet is laid out (19af0ac9d98cc3c504ce69ae38fbc00570cc85f5)
    • Chip
      • Refactored chip group selection logic to a standalone class (f3c6430f94bb7f82afc740e5545fd6302e9bf3aa)
      • Added missing attributes to M3 chip styles (cc18f3f7e8ff097b80d774911c2ede92d4b30698)
      • Update M3 chip styles with spec (8ed0ac9fd383bbb53fac100e74b2a0e9ee41bc9a)
    • CollapsingToolbarLayout
      • Fixed shadow issues when transition between expanded and collapsed states. (86e8b00ecdc9f9c5212e5a7e0700bd95be4da94b)
      • Constrain adjusted font weight to acceptable values (5dce006a5c1649df4eb6631c85619017728726af)
    • Color
      • Fix resources being re-harmonized when wrapContextIfAvailable() is used. (b402cb3c032ea10beb941284b49a9667ee7abe1e)
      • Added ColorGrid classes for color harmonization demo. (fcc10914f2b87c0e5f28761e8316bba2d9d1a318)
      • Add kyocera to dynamic colors allowlist and reorganized based on alphabetical order. (1dad5f65d4c54952a3a63efa4b9fd81b9c46d4a2)
      • Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aaf3ab11d815e4086b37575e829e0b626db)
      • Added support for color resources harmonization in XML (869d9430677e66f9007bee65960dc0539627fd4a)
      • Refactor DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052aaf1e824f221057ca3c3acae80d1a521d)
      • Update DynamicColors to use peekDecorView() instead of getDecorView() when applying dynamic color theme overlay (56ed07008ba0bff682e99c5d91126596fe9e6ddf)
      • Update DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5aefc84a1543eca3056a538120de0b4297)
      • Update DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f1211028e7c456ce1ca91685a938f0ffcc)
      • Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 (48741b4e16236ee8ac9dc0052204e6a7be32c0f4)
      • Add Resource Table format for XML color Harmonization. (822a5b2cb2dedf133618d981140edf30db0058ef)
    • Dialog
      • Fixed crashes when colorControlHighlight is a CSL (1c5c054b70a55c2567cdfee460d3876158b2945a)
      • Added date and time picker themes to M3 dialog themes (8342f9025eefe64ca24312467d021a522e833769)
      • Fixed dialog icon color tint (246b3400ec698da2805f9b7023dcb28b3601daad)
      • Fixed dialog paddings (672e7440f9586cd6ab276cd9e8295e3028f73253)
      • Start-align message text with centered styles (9980596586d270123e36b21980457b56fb70e146)
    • Divider
      • Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item. (9416b2c7d6d927696f3ecd30096dd2e1349538a4)
    • MaterialDatePicker
      • Fixed edge-to-edge mode being applied multiple times (e1ee959b1b6065de37da7a6648fe319b10cc13ca)
      • Always go edge-to-edge in fullscreen mode (be6050a23c773d93469eb5b4cfa26a2a908f6269)
      • Start align edit icon in landscape (94cd532bd17cfc5f6af32b1da79642ce43734c66)
      • Fixed wrong month title with certain months (62e89933d667e5d9c86a1cecaa6f934698803c6b)
      • Added methods to use custom text for positive and negative button (b2fbacecd44671236fd8e0ac03532da07c354cf3)
    • MaterialButton
      • Fix icon position not being updated when size is not changed (b0f37007aa3cd00cc655439ff84484354c478a53)
      • Support icon gravity with text alignments other than centered (6c41f070e88d5b6adf63c7fafb2e897bf939eea5)
    • MaterialCardView
      • Fixed crash on Pre-Q devices when checked icon is null (b4cab87015fa29e23460f4f47d4d06adfe3a9e9a)
      • Fixed checked icon gravity issues (283715d348a3fb9c487469d6f2749727b0705710)
      • Added option to set the checkedIcon gravity (250d56de4b33e8ae25aa056be519ddf507c06880)
    • MaterialShapeDrawable
      • Implement getAlpha() (5ff917dc5f99f9b008d53da269a20d7025b95b57)
    • NavigationRail
      • Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. (c66633b385d20b44bdd632b1c736dd512f4ea1c6)
    • Slider
      • Added LABEL_VISIBLE to label behavior. (ca8594d2d258246d1c56e1e85c4d2f26420d5d56)
      • Add support for custom thumb drawables (17da000a295a4a2554b603940ce014ff6a18da45)
    • Snackbar
      • Fixed margins are added multiple times when show() is called (2bfc7bae0778c8fa20308d2bf434ca1f5cc38cce)
      • Fixed the issue that setting margins programmatically does not work (d5856fd0365b4daeb27f07c8864d88618884dfb8)
      • Support setting max lines programmatically (4c7be527751f1cb11f7c5f55ca5eecbb41c1620c)
      • Enforce vertical layout when action text is too long (ff97a6805c203724d8cd64d7ed7d6fc483c93f16)
      • Fixed NPE on Android 8 & 9 (35d9da8f67911c84267fd0829fea6d5aba7c3544)
      • Fixed maxWidth is not applied on Snackbar (6a3ea94ae0794793c91c11ebafbd87b4a2445112)
    • Tabs
      • Tabs with padding in fixed mode shouldn't scroll (9c2df2811c263679e492f159229028311e24a56b)
      • Added fade indicator animation mode. (a295de97283b51cacfbc74e58e95048d348cc471)
      • Fix NPE caused by set a position less than 0 (823c34a90c97828115e147d482c544bdee6c2b57)
    • TextInputLayout
      • Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (4d788794bac8d3abba22ad1d774e7f145fce90de)
      • Extracted start components from TextInputLayout (9a46af2af2a7faa99ed287e9f1ff89e2a05e3238)
      • Split icon tinting logic to a helper class (9789f2e286e5452f9e566a1c0db5b398b56bb4ac)
      • Provided set simple items API with default item layout for MaterialAutoCompleteTextView (85ed9938d73786ea001ccb4ac2642a1384f673ec)
      • Added support for minEms and maxEms (7d46b95e9e183907c12dc86f065a13b6ad6bf7f0)
      • Applied edit text's letter spacing to expanded hints (88eb0890219b49c12dd9c873bc51c3929eee44e9)
      • Text field should comply with system level bold (e8bde7546b0828dc348685ef9e0cc87fb6d74409)
      • Fixed crashes when text field size is too large (cf5df22ccefae252a77b21119d56f86eeac5217c)
      • Fixed getBoxCornerRadiusBottomEnd and getBoxCornerRadiusBottomStart returning wrong values. (9d2f864f0ac6c75b6601fedcf3a2a6c9c1648184)
    • TopAppBar
      • Fixed app:expanded=false not working (2f3110ff5d67dc46308621e5bf63d4dae9b2e04b)
      • Fixed centering logic when title and subtitle are the same (f69e3a025b533ed6eb2e20016a5fc31b0e17a9be)
      • Support scaleType and adjustViewBounds for logo (b01051b8bcafa1aa732de2a1bef82aa43de71d05)
      • Make title and subtitle match ActionBar's (0f2b5378f709e3eb58fe92d321bf441761860f66)
      • Save and restore scroll state during scroll range recalculation (698cf9b45e8d9358e4accbf0685e6a6daf3effec)
      • Fixed top app bar snapping issue (acb7958c662f37d5a89589f67f05a72ffa0ce816)
      • Fixed expanded title margin not applied (89d80d080fbb2c53d1a09102a2e4ffb71d7bb0fc)
      • Correctly set letter spacing when expanding titles (44d4c3ea3fa6d81f127c6d92ed76df232afb45cc)
      • Fixed text alignment of multi-line title in collapsing toolbar (e6db8a4d31fa5566e287254121969a589cdfaf97)
      • Fixed snap issue with transparent status bar (b935604e2c9192e3ad3f9e3f5f2ebf93086d2ea0)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | androidx.fragment | 1.0.0 | 1.2.5

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.5.0...1.6.0

    Full list of release notes

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.56 MB)
  • 1.6.0-rc01(Apr 19, 2022)

    Dependency Updates

    • No dependency updates

    Library Updates

    • A11y
      • Make picker header focusable to improve TalkBack response (9dd0952fd42b51c25eaab15034ff5f0805faf898)
      • Attach/detach badge contentDescription when using menuItem. (bed5c5997cea201bc0e28d77c232d2a33973285e)
      • Make label important for accessibility (ebc9d19c324a725fb4cab64bb1c3ed241dee75cd)
    • TextInputLayout
      • Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (4d788794bac8d3abba22ad1d774e7f145fce90de)
    • Material 3
      • Add additional condition to check dynamic color supported devices (51093e19c0b1fc19acdc526c383ccb1a6d00727f)
    • MaterialDatePicker
      • Fix edge-to-edge mode being applied multiple times (e1ee959b1b6065de37da7a6648fe319b10cc13ca)
    • TopAppBar
      • Fix app:expanded=false not working (2f3110ff5d67dc46308621e5bf63d4dae9b2e04b)
    • Color
      • Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable (44054aaf3ab11d815e4086b37575e829e0b626db)
    • Other
      • Changed gradle so that tests run in parallel, preventing OutOfMemory errors (a8256c23a61ac508ca8834e77c2175c28ec645b4)
      • Make sure targetSdkVersion is applied to all Gradle sub projects (9be224b51af4836851692b7b5bcfd51b88d070a1)
      • Update Robolectric to 4.7.3 (aeed98758a848765abbf6c1a22f1842c6aa5a26e)
      • Update library version to 1.6.0-rc01 (9e758afa4e75345b51414066408e37fbf38bd7c9)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.6.0-beta01...1.6.0-rc01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.54 MB)
  • 1.7.0-alpha01(Apr 15, 2022)

    Dependency Updates

    • No dependency updates

    Library Updates

    • TextInputLayout

      • Centralize EndIconDelegate listener logic (26308d97d845cddd58589d2eca34b103e284dd16)
      • Fixed regression bug of prefix spacing being shown and making expanded label be in the wrong position when text field is not focused. (784f901135c654e938a4b0a71252b6887a276244)
      • Create EndIconDelegates in an on-demand fashion (7c160c86fb2f97c70684ea215a0d4f40ec20e43b)
      • Extract end components from TextInputLayout (6cdf7b51556064d708799589893b7ca2bb9e156b)
    • ExposedDropdownMenu

      • Updated the elevation of the popup to match M3 specs. Also fixed bug where elevation wasn't being read via xml. (2c335b5f77718a237a2e487ec5cfc6ace4b7c9a5)
      • Removed update dropdown background call from setInputType as it indirectly calls setRawInputType (f915ffdd8ae52057e474102b7452716ac1c51707)
      • Update dropdown background when setRawInputType is called. (f31414af02185fef16168cfcb0b65876552b28a4)
      • Fixed android:popupBackground not working in xml/styles for the AutoCompleteTextView. (df3a708392eb6a441ce33d3fde928a3010619b85)
      • Update background when setInputType is called so that ripple is or isn't present properly. (1c02b62eaf78d498b62dd18e5d0805fed6501c40)
    • DatePicker

      • Fix edge-to-edge mode being applied multiple times (c6a654c7dd68827a55d6d3dcda424cf6749678fa)
      • expand the touch area of a month's days (ffb64c164323c94b95b357d1d80ac86b9d773cf1)
      • Fix for issue that causes the month view not to expand to show all days in a month. (a1ec73beb851565f7d908ec303d136db88d1f554)
    • RadioButton

      • Documentation review (b7b0aa33d85872bdd7dcb67783e5e91393cbf388)
    • Tabs

      • tab layout should not ignore focused state ripple color (5a0541f851666ba9ea8a7b9a4f667bd39ac5e66c)
    • Slider

      • Make slider's height adjustable with track height or thumb radius (dc0d8a956e12c0c44b1cec8e6438fbe71debb3c4)
    • Button

      • Fix icon textStart/End alignment with multiline text (b6b895a1e40efbf2e36b2ea5e91bae7bcd0bdb8c)
      • Fix icon position with multiline text (19d05000bcc273f781a85ce41530f604fead268e)
    • TopAppBar

      • Fix app:expanded=false not working (05be1b92c5720e4c6c6f42f93918bd6554099625)
    • TextView

      • Deprecated 4 arg constructor. (df273cd91b66fd1fdc06d95c87d2dbc7be31b524)
    • NavigationRail

      • Fix bottom padding being applied to top bug (51739445315b818fa3b424903e0845a043c55357)
    • Accessibility

      • Added more a11y tests for text fields and exposed dropdown menu. Also updated robolectric version (863d6aae31148d3890beccba307c32904d3d7ad8)
      • Make picker header focusable to improve TalkBack response (c23daec8b1e217f92bb49ae9007c43cb47df9cd9)
      • Attach/detach badge contentDescription when using menuItem. (ee49c5aa8bed9b0c3a15421725b4f3164c3c6973)
      • Make label important for accessibility (0ba0d6540ad18f62970b6a9ac44ebea2397bce6e)
      • Fixed bug where setting the AutoCompleteTextView's input type to TYPE_NULL in code would make it unusable in a11y touch mode, as it was still seen as editable for a11y. (01021a710af8eed9d556ac7c836dc97e40b0afad)
      • Update accessibility className used for hour/minute Chips (a51d1dcb68d51af7810272b63816067b983db3c1)
      • Fixed text field's focused rect wrong behavior when using a11y magnification. (dce4419744ba4e336e31a80521ab8a9ecb1136de)
    • Transitions / Motion

      • Open MotionUtils and update resolveThemeInterpolator to load both new and legacy easing attributes. (894edb6aa53a8be559d97046bda0951532778990)
      • Add new motion system duration theming (0ab2068bacdb061dc9c3e700eb793711168b5afd)
      • Add motion easing xml interpolators and theme attributes. (0d91f4ac3bfdb5884ca0965f9ca9ab8844f88c3d)
    • Color

      • Add additional condition to check dynamic color supported devices (6fdc114bcd998ba6fab38c1d0d1469a0bd960100)
      • Refactored MaterialColorSpec to take @ColorRes or @ColorInt for the demo. (f43995f0dd8e0128e865e19addda7d5598639b29)
      • Fix MaterialColors cannot handle CSL issue (2544c1f243969d4fb6ae4cc97d60d8d41fa27835)
      • Update link for m3 Color design guidelines (2a7f14a212f1f09d0993726063b6a2ee75971692)
    • Catalog

      • Make card selection accessible (a49fa6ab36276a762d46d9f716b4ef8ff5947907)
      • continuous slider demo should use a single switch (dbfcd35356c35c4fdfa59bffebb13c3b3368ad0c)
      • consolidate slider switches to a single switch (315c496cf8be792446bc34ff3be73db4bf51246f)
    • Documentation

      • Added a note for shape theming. (e74baff97b6388d9ef54631594061aa6194ac5c1)
      • Add status bar / edge-to-edge section to Top App Bar dev doc (b8e1f978940c218502ee6161d0b3f673299eceb0)
      • Correct style name used in FAB dev doc (d26cb4549d694aa59b643daa491ee2d1dfed6d4c)
    • Tokens

      • Upgraded to v0.87. (c5284c6ce87cecaba5f1ddb8ead1601adf3f756a)
    • Other

      • Changed gradle so that tests run in parallel, preventing OutOfMemory errors (e9b04a6bb462195ce3205cc7e4bb00a40dfa8cd2)
      • Make sure targetSdkVersion is applied to all Gradle sub projects (06348a0a30aa1b662524e3db5d34500e13ceb0de)
      • Update Robolectric to 4.7.3 (139f35cbc87d1303b5b4b021025f35df2c2f3775)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.6.0-beta01...1.7.0-alpha01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.55 MB)
  • 1.6.0-beta01(Mar 22, 2022)

    Dependency Updates

    • No dependency updates

    Library Updates

    • Color
      • Deprecated previous apply...() APIs and add overload for activity apply method with no options (8363cde162720240340b2ee2aa626c01aa5194d5)
      • Iterated on HarmonizedColors and DynamicColors feedback (b70bbc2942bdbd1ea763e72a6b1e561e4813f10c)
      • Updated dark tone values for ColorRoles. (7b51353c84bad3575f013fc085cf527ed4fe08ee)
      • Updated getters/setters naming in the HarmonizedColorsOptions (bfb6086e248d3a6f73e5e0db2e5baeff1a84b8c7)
      • Fixed formatting and typos for resources harmonization. (d24b3a96bb92ed5d47c585399c7fa42b8d12c45d)
      • Updated Color dev doc and added new section for Apply dynamic colors using DynamicColorsOptions and Resource Harmonization. (a81a65879153d9eb1aff76c11eb45f830a0a3e6e)
    • NavigationRail
      • Updated documentation to include window inset attributes. (3b2b56ec5d1ef89a7b1f59e435e9aced5fac461c)
      • Fixed bottom padding being applied incorrectly (51739445315b818fa3b424903e0845a043c55357)
    • TextInputLayout
      • Added class documentation to use TextInputLayout's context to construct the child TextInputEditText. (108558326dc35975c7709df30223e09af4b827b7)
      • Fixed end icon focus in a11y mode when a11y mode is turned on/off after views have been attached. Also added a11y tests. (b9a21f0d97b39184ee17a9d28bb697d48d3a0982)
      • Fixed text field's focused rect wrong behavior when using a11y magnification. (a8d8e70d898e61a190f0fc64eae298a713fbbdb8)
    • Tokens
      • Upgraded to v0.79. (ccfc0eecdf8b7536a48a69f132fb6eecac04292d)
      • Migrated deprecated motion token generated resources. (91c25301dbbfab77d1aa8b45c13b91800b942111)
      • Removed deprecated font family resource. (6a4fa0b9915a9b71c589d8e386e9db7ff6f3946f)
      • Added missing palette token generated resources. (e7a691e067db83186d3dbaab709f0a0f7b29184b)
      • Added new shape appearance styles. (a5b78e659c3f8dfc11d1c27c16c94204b408d6bb)
      • Added lineHeight attr into TextAppearance. (b4d445064faebeebb417f721f3cc19ed84e7444a)
    • TimePicker
      • Updated accessibility className used for hour/minute Chips (981129f8ecc9f80f3a15e5641be03041053e94cf)
      • Updated to give more context on hour/minute selection (380778f99218fbfb760c3df79a98a656551b1ee1)
      • Fixed TalkBack from announcing unavailable action (1b14715cdeeadcd3eb9a5d135e2dd1923a699c82)
      • Fixed TalkBack announcing wrong selection between hour/minute (47781d58b7c3e1e3905810139d96f8f0fb70c0cf)
      • Fixed wrong clock item selection (9cdf4c9559fea99ce2808bda0b4463479aa90120)
    • Tabs
      • Fixed tabs with padding in fixed mode from scrolling (9c2df2811c263679e492f159229028311e24a56b)
    • Slider
      • Added LABEL_VISIBLE to label behavior and added a demo fragment in catalog. (ca8594d2d258246d1c56e1e85c4d2f26420d5d56)
      • Refined javadocs of thumb radius setters (78b532c420caf06dfe4c99dbd7b95a5d1f86b1a0)
    • DatePicker
      • Always go edge-to-edge in fullscreen mode (be6050a23c773d93469eb5b4cfa26a2a908f6269)
    • Catalog
      • Fixed status bar and action mode glitches in ActionBar demo (ebfb3dbc6ce2cee9f4c57c991c53f09c0eb7568a)
      • Removed the overflow menu from the bottom app bar demo (52daa6f8a9ac3cc9f19fc24388590e576fe2bb86)
    • Material 3
      • Added additional condition to check dynamic color supported devices (69121c8b813e0afb4352f7f3342fe3fb3671e948)
    • NavigationView
      • Fixed navigation view item ripple (cfc307ed4e6bfee676d5e6d374f76193c5a36edf)
    • TopAppBar
      • Fixed centering logic when title and subtitle are the same (f69e3a025b533ed6eb2e20016a5fc31b0e17a9be)
    • Other
      • Updated bug report template with more instructions for minimal sample app (a147bcada3e6573d0f71fc0f9e59f4d4102b81af)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.6.0-alpha03...1.6.0-beta01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.54 MB)
  • 1.6.0-alpha03(Feb 25, 2022)

    Dependency Updates

    • No dependency updates

    Library Updates

    • Color
      • Refactored DynamicColors overloading methods and added DynamicColorsOptions class to support color harmonization. (bdbf052aaf1e824f221057ca3c3acae80d1a521d)
      • Updated DynamicColors util to applyStyle() on window decorView theme as well to fix potential ContextMenu issue (f6c8fa5aefc84a1543eca3056a538120de0b4297)
      • Updated DynamicColors util to use activity.getTheme().applyStyle() instead of activity.setTheme() to workaround Force Dark issue (b84f35f1211028e7c456ce1ca91685a938f0ffcc)
      • Added missing M3 color attributes to public (0c8fc4144e28d570f4b1bc41e650b57e36165cd8)
      • Add support for color resources harmonization in XML (869d9430677e66f9007bee65960dc0539627fd4a)
    • TextInputLayout
      • Provide set simple items API with default item layout for MaterialAutoCompleteTextView (85ed9938d73786ea001ccb4ac2642a1384f673ec)
      • Updated documentation to clarify end icon mode's expected usage and behaviors relating to the icon's drawable. (1b7e92d99cd9276daa7d671759ae7f3d6b48a77e)
      • Fixed icons behaving unexpectedly when switching modes + bug of wrong icon tint state when setting an icon programmatically. (ae16efd5da02bc2c96a1645f6175672fae6c6596)
      • Added line mask expansion animation to filled box underline. (2463946d247b079071002218b435564609c3bca1)
      • Added support for minEms and maxEms (7d46b95e9e183907c12dc86f065a13b6ad6bf7f0)
    • MaterialButtonToggleGroup
      • Removed getAccessibilityClassName() override since TalkBack doesn't recognize the class name, in favor of getting identified as a generic list container (96fa85e216bca74fa809e5f36f7f1bba5df39f9b)
    • Catalog
      • Added Navigation Drawer demo (2ce5f3bcd733077e25d29c57aa787c0be74f8f7f)
      • Removed Nav Rail Fab elevation to remove shadow in catalog demo. (6c1bdd7418711f4db348d1dcd5c6e65e1afafd00)
      • Updated Fonts section title (8b9be721ebf7b5098a8d36c47d8c01a8451bf004)
      • Updated catalog preferences menu to a nested scroll view. (9a5ec35aaf5dd326dea2d1d91c55efbe826a8698)
    • Dialog
      • Fixed crashes when colorControlHighlight is a CSL (1c5c054b70a55c2567cdfee460d3876158b2945a)
    • NavigationRail
      • Added support for opting in/out of the NavigationRail automatically adding system top and bottom window insets. (c66633b385d20b44bdd632b1c736dd512f4ea1c6)
      • Enabled Resources Harmonization with Material defaults in Catalog app (d7a07ab94475a96ab8d1cd1f0f1f441fa44e0696)
    • Tokens
      • Better output ordering (37fcd242bdfc206fe0da8a0a5bd1e0f3e4237f56)
      • Generated TextAppearance styles instead of atomic typography resources. (878ea36a79481425047ecec2ff43ea226b8a8acc)
      • Updated motion token resources. (0de6ad4764c7ccd051ac28e1f13b711ad2553b27)
      • Updated atomic shape resources to ShapeAppearance styles. (e721c468c25f6350204e908afcfdbd03aa57fcf2)
      • Re-upgraded to v0.73. (53863287d6891baf564bf584071fac5e070ee601)
    • Snackbar
      • Fixed the issue that setting margins programmatically does not work (d5856fd0365b4daeb27f07c8864d88618884dfb8)
      • Added support for setting max lines programmatically (4c7be527751f1cb11f7c5f55ca5eecbb41c1620c)
      • Fixed lint error caused by @IntDef (3cf23e4bf151bf37ff81859ae83301926c3b0dc1)
    • Badging
      • Prevent multiple badges being attached to a menu item at the same time (b3db1cc02855453f91353fca9e9cb11ccf0db9cc)
    • CollapsingToolbarLayout
      • Fixed shadow issues when transition between expanded and collapsed states. (86e8b00ecdc9f9c5212e5a7e0700bd95be4da94b)
      • Constrain adjusted font weight to acceptable values (5dce006a5c1649df4eb6631c85619017728726af)
    • A11y
      • Fixed prefix/suffix not being properly announced when the text field is focused and they show up. Improved their screen reader focus order to align with the visual order of the elements: navigating to the left will focus on the prefix and navigating to the right will focus on the suffix. (b6901275d961c2738acecbd7c91fe098e1f27bbb)
      • Fixed Switch Access not being able to reach clock items (f9914da4e952ea1b7c722e26ef65d0bf663d0214)
    • TopAppBar
      • Support scaleType and adjustViewBounds for logo (b01051b8bcafa1aa732de2a1bef82aa43de71d05)
      • Made title and subtitle match ActionBar's (0f2b5378f709e3eb58fe92d321bf441761860f66)
    • MaterialCardView
      • Fixed crash on Pre-Q devices when checked icon is null (b4cab87015fa29e23460f4f47d4d06adfe3a9e9a)
    • BottomNavigationView
      • Added NavigationBarView#LabelVisibilityMode alternative to deprecated BottomNavigationView#LabelVisibilityMode. (12222684370dfb6c3400fd984578059d22741bb3)
      • Fixed IllegalArgumentException in preview mode. (18554d9cb5ff21da3633c198795ed7e7a29a008a)
      • Removed font scaling from NavigationBarView item labels. (d66676fd6bb93556c2cb3b0d9f7885821ac5bd8f)
    • BottomSheet
      • Updated edge-to-edge paddings when bottom sheet is laid out (19af0ac9d98cc3c504ce69ae38fbc00570cc85f5)
      • Fixed IME bottom padding being ignored in edge-to-edge mode. (1304522beb5761130a8ff47a48f10f1fd3378b27, 6454b8709aa3deab58f15cc9591629fd882989c2)
      • Added support for background tint without shape appearance set (13dbc9f906c1fec7139d11af008acbcc6811dfb4)
      • Fixed activity leak when setting states on destroying activities (43114c4f7c9ca0c70c48c777dbd2957386d539e5)
    • MaterialDatePicker
      • Start align edit icon in landscape (94cd532bd17cfc5f6af32b1da79642ce43734c66)
    • Chip
      • Refactored chip group selection logic to a standalone class (f3c6430f94bb7f82afc740e5545fd6302e9bf3aa)
    • MaterialButton
      • Fixed icon position not being updated when size is not changed (b0f37007aa3cd00cc655439ff84484354c478a53)
    • TimePicker
      • Added setters for hour and minute (85a44054f358c12ae473d02c041e621dd0928d00)
    • Toolbar
      • Hide shadows on all M3 Toolbar styles, not just Surface style (b49284ec75ab16a9f649b97cb26aa4a17bc82512)
    • Slider
      • Added support for custom thumb drawables (17da000a295a4a2554b603940ce014ff6a18da45)
    • Typography
      • Refactor how bold typefaces are created (2d90a7a50844e1caa094e9deb55aeaf76aa6d538)
      • Clamp typeface weight when adjusting it (dff1e4edf1932e0efa22d9a1905ea088c3f90095)
      • Support setting text color programmatically. (10edcd11d527996c22d29ce2d0c95ab6533eee73)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.6.0-alpha02...1.6.0-alpha03

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.52 MB)
  • 1.6.0-alpha02(Jan 18, 2022)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | androidx.fragment | 1.0.0 | 1.2.5 |

    Library Updates

    • Material 3
      • Migrate action bar popup themes to M3 (2ae3ca42985722900f53de9d9a1ef61c143767eb)
      • Add additional condition to check dynamic color supported devices (c6527d177bcc3bd0fefe66f978f5eb10ec79f9e2)
      • Add supporting brand list of dynamic colors (b2f05d545473ecd37adcd781a97698018fd1fd01)
    • TextInputLayout
      • Speedup simple inflate. (26d862bc5433eb50ba0875e136ff937d4e5ae617)
      • Apply edit text's letter spacing to expanded hints (88eb0890219b49c12dd9c873bc51c3929eee44e9)
      • Refine the hint cutout logic (79b2c3d7c5e9f3645576e11714c0705a3cb11335)
      • Text field should comply with system level bold (e8bde7546b0828dc348685ef9e0cc87fb6d74409)
    • MaterialDatePicker
      • Replace fragment container with FragmentContainerView (e7bc947cd5d0291e4b8c5cb9d17af0edf13c0d10)
      • Fix wrong month title with certain months (62e89933d667e5d9c86a1cecaa6f934698803c6b)
    • Dialog
      • Add date and time picker themes to M3 dialog themes (8342f9025eefe64ca24312467d021a522e833769)
      • Fix dialog icon color tint (246b3400ec698da2805f9b7023dcb28b3601daad)
      • Fix dialog paddings (672e7440f9586cd6ab276cd9e8295e3028f73253)
      • Start-align message text with centered styles (9980596586d270123e36b21980457b56fb70e146)
    • Badging
      • Refactor Badge state managing logic (bbbeacd64e3b1cc64e8edc6adf430aad45d03e32)
      • Support different locale on badges (b8f2dd53e0e19ea376639a610a0b51faabf0f9af)
    • TopAppBar
      • Save and restore scroll state during scroll range recalculation (698cf9b45e8d9358e4accbf0685e6a6daf3effec)
      • Fix top app bar snapping issue (acb7958c662f37d5a89589f67f05a72ffa0ce816)
    • Snackbar
      • Enforce vertical layout when action text is too long (ff97a6805c203724d8cd64d7ed7d6fc483c93f16)
      • Fix NPE on Android 8 & 9 (35d9da8f67911c84267fd0829fea6d5aba7c3544)
      • Fix maxWidth is not applied on Snackbar (6a3ea94ae0794793c91c11ebafbd87b4a2445112)
    • A11y
      • Make dialog icon not important for accessibility (8bc64201d461ba816be2b871195ec7f2501cfce0)
      • Make Talkback announce selected state for clock items (fcc68a2de7b47eed04c767e84f1bc2d6ce39512e)
    • Color
      • Avoid Short#compare usage in ColorResourcesTableCreator.java since it requires API level 19 (48741b4e16236ee8ac9dc0052204e6a7be32c0f4)
      • Set android:windowBackground to android:colorBackground (dac9bf360acc2f753dedeba1e45d9f51eaff0ac3)
      • Add additional condition to check dynamic color supported devices (833f410404c39641030947bc266142642855075c)
      • Add Resource Table format for XML color Harmonization. (822a5b2cb2dedf133618d981140edf30db0058ef)
    • Divider
      • Added attribute in MaterialDividerItemDecoration to remove item decoration from last recycler view item. (9416b2c7d6d927696f3ecd30096dd2e1349538a4)
    • Tabs
      • Added fade indicator animation mode. (a295de97283b51cacfbc74e58e95048d348cc471)
      • Added tab demo for fade mode indicator animation. (1beedec9f858e179528b7c3f27ad1d4b044bdb59)
    • MaterialButton
      • Support icon gravity with text alignments other than centered (6c41f070e88d5b6adf63c7fafb2e897bf939eea5)
    • Slider
      • Fix lint error caused by hidden super interface (3cf0647da0239d65174fc6d651c37fae80048b66)
    • Tokens
      • Upgrade M3 token resources to v0.71 (4de856563434eaa3d350cd773e4911edbf5cbc12)
    • Documentation
      • Update library version in Getting Started doc to 1.5.0 (e98cee55d35ff1450cf0bce09dfd6fd04c8e9fb1)
    • Catalog
      • Fix chip icon colors (5fac4fd735764c8ccb5374d35687cabc2bf2968d)
    • Other
      • Update library version to 1.6.0-alpha02 (80e50def049a3e795d8b91b21287681da49c6d88)
      • Replace all jcenter with mavenCentral (ad97f015cee1567f1fd984262a942164456e9112)
      • Horizontally center the checkbox button drawable if there is no text (8f4837e05954f89a36360c3037017f359e705e80)
      • Fix drawables not applying system level bold (90787bf0e0dd3e89433b5db855e26df94c758554)
      • Simplify MaterialButtonToggleGroup's checking logic (3db25be3b6d523e90cf4583a7d203228a563c00b)
      • Remove paddingTopSystemWindowInsets from flags checked to apply windowInsetListener (2e73d1a1cfdb68da48a378a149cd6bab553751aa)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.6.0-alpha01...1.6.0-alpha02

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.50 MB)
  • 1.5.0(Jan 13, 2022)

    What's new since 1.4.0

    Other highlights

    • Badging
      • Added support for differing offsets for badges with/without text, and support for badge width and padding in styles. (bd4914dd8bcdb64c4ec8734c95b90cec2a3d723d)
    • BottomAppBar
      • Added attr to set the color of navigation icon. (0ed7c7675e42cbe417fb947f150ed9faf6a5174b)
      • Added support for showing/hiding immediately (34740b6fdf164665c438658935653d354a64d72b)
    • BottomNavigationView
      • Updated to explicitly read and set minimum height. (943c4f0eedb35850f19167ac989387f5b640af2f)
    • BottomSheet
      • Added maxHeight to bottom sheet behavior (a38d2d89a8aa22a40dd200f2d1c9e837f87669c1)
    • Chip
      • Fixed icon tint states are not updated after setting new icon (c08a07d7e8247647ea939549c1a493f1d42ac326)
    • CollapsingToolbarLayout
      • Added option to add extra height when title text spans across multiple lines (655dde062aa4e7cd4cad0137f4e975c6ed1d2c27)
      • Added option to force always applying system window inset top regardless of layout_height (9ebf1a1387be4dfad00ad2af58ef9f02ec204d10)
      • Fixed multiline RTL collapsed title text position (af35dfb86bebdbd913e74df7cb828a0218b7889a)
      • Added support for expanded and collapsed title text color attributes (5c147722edcd5e6696248a1fdd372a1385d8a7df)
      • Fixed RTL text only laying out as RTL when actual text is RTL (841f2295921b4eed8bd16bb72b28d4ef7ca7cfa5)
      • Added title line spacing and hyphenation frequency setters (f0ce498108616ee26f84d8afd26c4627a4cdcf48)
      • Added support for multiline RTL when using fade title mode (f0ac3629682b003629858ab18bf74a878f2398ac)
      • Updated default multiline hyphenation frequency to StaticLayout.HYPHENATION_FREQUENCY_NORMAL (3ad232d829b8c1192b9c1af74225a69ac1632597)
    • MaterialButton
      • Updated Material Button style to set the preferred maximum width to 320dp. (c5c7a74cef46569ee74f92d0ef973cafe06c06e9)
      • Fixed MaterialButton lollipop shape issue (153fdee2f6f9f528856130be28c74f92bf739346)
    • MaterialDatePicker
      • Avoided NPE caused by getSelection() before created (cb5d622f131323bf1f27e9e6c27c16f4a918d3d1)
      • Fixed opening at the selected date in the end month (eb7b11478b110fc917958565876899856ba2411b)
      • Fixed DatePicker crashes and and potential issue of range selection (281688a2f21263817f037d187a98b4cbc8471985)
      • Fixed excessive whitespace (8fda897e1d2670b82752e8906a2a00700557408c)
    • Snackbar
      • Handled anchor view properly so no memory leak will happen (58ceeab63ca74d740fb96fbb5e999de325822330)
      • Fixed memory leak caused by not resetting anchor views (b0558dc006ac60f1c33cff4706bef109a6f77e07)
      • Fixed maxWidth and maxInlineActionWidth are not applied (8729d8ab571bc58582147cfb01c140d2c014617c, 15e2254397996e47128d73129b305abe5b17d071)
    • TextInputLayout
      • Applied tint when setting start icons (4044183f46385d09fe0059143bda77ce78f2dad9)
      • Made clear text icon focusable (8a4f42aca737f4b0c2b7e7851e557ef275df6ebd)
      • Added a fade transition to placeholder TextView's appear and disappear. (c92e6934d53032e9a3c0b4550787e665e6494d86)
      • Fixed cutout padding so text field outline doesn't overlap collapsed hint. (87b50c6aee240659841a7d5f2e52c1a6324d611f)
    • TimePicker
      • Hid cancel button when it's not cancelable (35c2af3c2dabdc470d55b8eddff56d174cbd9763)
      • Updated accessibility event sending when updating input mode (00c0df9e7d27c093b0b8ad82934a06637247bbae)
      • Added ability to customize positive and negative button (168c69189e5f9df27bcc9a72d4b0e27189f087df)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | compileSdkVersion | 30 | 31 | | targetSdkVersion | 29 | 31 | | androidx.annotation | 1.0.1 | 1.2.0 | | androidx.drawerlayout | N/A | 1.1.1 |

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.4.0...1.5.0

    Full list of release notes

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.29 MB)
  • 1.5.0-rc01(Dec 13, 2021)

    Dependency Updates

    • No dependency updates

    Library Updates

    • Material 3
      • Add supporting brand list of dynamic colors (66b1c0e69bce35db1bc93628c076bce571b325c2)
      • Update M3 card elevation according to the spec (91f1f2e5ce49ef2362c14fce4cf2486721212613)
      • Add missing attributes to M3 button styles (55a67a6ad88672e6d3376cca10da5779a7fd4730)
      • Update Button elevation to match specs (835624ea774a54e820fe76b3fb384a232a6418fd)
      • Update Button padding to match specs (0ac68ec8e6edb174052475e7bc4ee72391996fc4)
      • Update M3 navigation rail text appearances (db5b3d4e6761c5cd413222c8b0637391604bef23)
      • Do not enforce text appearance with Tab M3 styles (79759203cc6d833216b2db87ab63409f0aed2346)
      • Fix M3 date picker styles (1579272b959da36a3ede572641b0e6f8d98edcad)
    • Chip
      • Add missing attributes to M3 chip styles (d95ad416d85f21a4989a2105fbc3c0c062cfb19b)
    • Dialog
      • Start-align message text with centered styles (287858a469934c0e3d91d79f7a14cae4b652ebee)
      • Enforce material theme in M3 dialog styles (4d12f80809080d112bfa2ed90184a2a1192d8a04)
    • BottomNavigationView
      • Set backgroundTint explicity to @null in M3 bottom navigation syles (f44d00111a1df27175e798b58d94c6df88e46b71)
    • Snackbar
      • Fix maxWidth is not applied on Snackbar (15e2254397996e47128d73129b305abe5b17d071)
    • Color
      • Add additional condition to check dynamic color supported devices (817dc124bbde8801dcd4b9f7b6f4c0be944f8bfd)
    • Other
      • Update library release version to 1.5.0-rc01 (f14d1a2dd63d037611ce379946d4c66eecc995b5)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.5.0-beta01...1.5.0-rc01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(7.92 MB)
  • 1.6.0-alpha01(Nov 29, 2021)

    Dependency Updates

    • No dependency updates

    Library Updates

    • Material 3
      • Update M3 card elevation according to the spec (bb23e2d6ad7888713d51e1dc53f36a69b0db62ff)
      • Add missing attributes to M3 button styles (3c9b45292d78a80f511d672bb5fe4ef1431dd8bd)
      • Update elevation to match specs (db64adb5fb78dce58dcd093896580a44b52a1c41)
      • Update padding to match specs (f028380fb249565fd99ebc5d5113791411df0391)
      • Update M3 navigation rail text appearances (6b57c52973c2ceb97c88da1df1b72859ed28775a)
      • Do not enforce text appearance with M3 styles (04a6b6c39eb8e826af8c2d9320019043a105c379)
      • Fix M3 date picker styles (fba1a341c31cbe2c5d71c239afc8bcc14af9d968)
      • Change checkedIconGravity values to enum (bc56d5b43b93ab6dbed4d561ad8b8b1351f9535c)
      • Add supporting manufacturer list of dynamic colors (e5023f63ae52a98ceae8d46fd8c8eb70ff92bb1a)
      • Add textAppearanceListItem* styles to theme (bed2ac17a756ca64445dde042bef56b6e134de7c)
    • A11y
      • Improved accessibility for switch access. (2d337c5b815d88b15685992521c7b43e66d1d73a)
      • collapsing toolbar layout not respecting system level bold (65754bd152afaee1fa9e0369b1d17fc681193162)
      • accessibilityManager.isEnabled() is not reliable to check if component is in a11y mode, as it may return true unexpectedly. (b878fc3209d72270d5a30e376e561bf4dfca8162)
      • Fix Talkback doesn't announce minutes selection (c07e5f2c36ad2c26a9a4928b5be4abcf70dc0e7f)
      • Make Talkback announce action on clock items (38406e15a56eb004f8c1af1f7c24fd7f42d75da2)
      • Fixed dropdown list not showing for non editable dropdown menus in switch access mode. (d8e19ddedffda4633df4d2bca0433da793d2f54c)
      • Fixed RTL support for setting corner radius on TextInputLayout. (dca7fc070155f8ca6ecdfebc724580da6f7177e0)
      • Fix system level bold not applied (c6be59ce8b2033be2b1ae8e0f6572a7e3277aa23)
      • Removed TextInputLayout's placeholder text duplicated announcement. (20c3ad04130b9bbd6ca554268412d2acebb7e5cf)
    • Documentation
      • Added note about screen readers skipping decorative text field elements. (a3694498096bc60059784ddd31023a9e90894ced)
      • Add migration codelab and M2 -> M3 theme mapping to Getting Started doc (05a74bd605de5e24890d08cf3a2f15739c145392)
      • Removed broken links from divider doc. (3b6c804f6731c88166f14454c47e83e61e4a0cf5)
      • Reformatted color.md. (735b88e55479440dafb4de4316a86f3f4dd3b245)
      • Update Getting Started doc to link to Material Theme Builder (255cc1773c52d4225c322b048aa709891f82fe3e)
      • Small typo fix in checkbox doc (2b441e6bf08f09e71cb80fafe95ab9d2ac848dd8)
    • TextInputLayout
      • Remove unneeded logic (1d50ed7846a05fe34d428ba95c6edefaf34e202d)
      • Fix crashes when text field size is too large (cf5df22ccefae252a77b21119d56f86eeac5217c)
      • Correctly calculate hint text offset (34cce18d4a6138eb8f65ec0a9a2d25ac0b1dd481)
      • Fixed calculateLabelMarginTop() value for filled text field style, which caused getBaseline() to return a wrong offset. (c7c5c7c625fb701ea02fb520a0613ef0e5aac0ff)
      • Fix helper text label for usage (aaac96d724effb770d494037eca86e3f9f4c0701)
      • Fixed getBoxCornerRadiusBottomEnd and getBoxCornerRadiusBottomStart returning wrong values. (9d2f864f0ac6c75b6601fedcf3a2a6c9c1648184)
      • Fixed shouldAnimateCaptionView() returning true when captionText is null. (c352dfde8ded87506f38595f61ed4df2bb853a04)
      • Don't add placeholder view to text field's input frame if placeholder is null. (3ca3b71bb230f0f2994c28561c0273b44894825f)
    • Color
      • Added Color Scheme demo in Catalog. (f898ba84b603dc57866e57691ed4a3132abb9d57)
      • Move dynamic color public resources to all versions (a455a53a6d898fc72df3827dd6434231eda30620)
      • Refactored and added the Dynamic Color Palette demo in Catalog. (b8084848a0be590efddc3dec4cf7adef0fe46e38)
    • Catalog
      • Added update button to customizable text fields. (a3b54406f550ab6b7847dc3ab3fb881d64947ecf)
      • Add example of Preferences screen with Top App Bar (83edbc4c496137090017d2849bd1748254feb433)
    • TopAppBar
      • Fix expanded title margin not applied (89d80d080fbb2c53d1a09102a2e4ffb71d7bb0fc)
      • Correctly set letter spacing when expanding titles (44d4c3ea3fa6d81f127c6d92ed76df232afb45cc)
      • Fix text alignment of multi-line title in collapsing toolbar (e6db8a4d31fa5566e287254121969a589cdfaf97)
      • Fix snap issue with transparent status bar (b935604e2c9192e3ad3f9e3f5f2ebf93086d2ea0)
    • MaterialDatePicker
      • Wrapped text fields from range picker selection in a ScrollView so their heights don't change in landscape mode. (9b5356f2fea884c2153441c53775a9c2ec37bd42)
      • added methods to use custom text for positive and negative button (b2fbacecd44671236fd8e0ac03532da07c354cf3)
    • Chip
      • Add missing attributes to M3 chip styles (cc18f3f7e8ff097b80d774911c2ede92d4b30698)
      • Add input chip elevated styles to public (e9ec82f5e942006bddfd975346dbf0b0fa2219ca)
      • Update M3 chip styles with spec (8ed0ac9fd383bbb53fac100e74b2a0e9ee41bc9a)
    • MaterialCardView
      • Fix checked icon gravity issues (283715d348a3fb9c487469d6f2749727b0705710)
      • Added option to set the checkedIcon gravity (250d56de4b33e8ae25aa056be519ddf507c06880)
    • Tabs
      • Fix NPE caused by set a position less than 0 (823c34a90c97828115e147d482c544bdee6c2b57)
    • Dialog
      • Enforce material theme in M3 dialog styles (728a1e658b07702cfc5f6d74b331fa256cb4f65d)
    • BottomNavigationView
      • Set backgroundTint explicity to @null in M3 bottom navigation syles (adbcf8cbbc6e95921d233c87eb87dc01b6cc8f0d)
    • MaterialShapeDrawable
      • Implement getAlpha() (5ff917dc5f99f9b008d53da269a20d7025b95b57)
    • Other
      • update library version to 1.6.0-alpha01 (53ddac45a7486251cd97c81f3f71988a4ba0ac8f)
      • Internal change (a487c891854d0689508a5174cd5d0d3203d2f4d3)
      • Internal change (9d86d273880325c5f8ca351e4eacafa6ad957d7c)
      • Add margin flags to BottomSheetBehavior for system inset bars. (185a0f9c922944b6142e0fd922659cb68a3fa01b)
      • Automated g4 rollback of changelist 409212345 (d5729d59352ba1a5e1ff3c1f3154be55dadaa322)
      • Removed extra space between the list view container and the navigation bar. (6517aa6a6985411bb563dfae24ade54e96686bde)
      • Add margin flags to BottomSheetBehavior for system inset bars. (022a05f526300517d412f6367b820d1e59cc23fa)
      • Small clean-up of CollapsingTextHelper (c80177d062e0a490bd573edc0413c4e648d0c943)
      • Internal change. (33f1e3b33eed2cdfe28279ea1108f6dc9ef0ccb3)
      • Remove IllegalArgumentException in settleToState (dbd37d27917530d3fd79cf05bfabfad2804e9a40)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.5.0-beta01...1.6.0-alpha01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.48 MB)
  • 1.5.0-beta01(Nov 11, 2021)

    Dependency Updates

    • No dependency updates

    Library Updates

    • Material 3
      • Add supporting manufacturer list of dynamic colors (59ca95b76565ff02c83910cfbdd44fb94e77c610)
      • Add textAppearanceListItem* styles to theme (644f8c18d2b082857a25c0c14d0967dbd41b5347)
    • Color
      • Move dynamic color public resources to all versions (34c068f702ea215a38543e0efce7169010488488)
    • Chip
      • Add input chip elevated styles to public (36518905278fc6fff5c113f193c2159db70cff84)
      • Update M3 chip styles with spec (b96bbaf92c2a6cc3ccddf34ed03376f6014bf182)
    • Tabs
      • Fix NPE caused by set a position less than 0 (b26242347d80517b85ce66ab6edfd88459da1ab2)
    • Other
      • Remove IllegalArgumentException in settleToState (cdf9a281d4c432d60d6b1d7eda0cd219c6a4847c)
      • Update library version to 1.5.0-beta01 (499f4f9e5a095b1d4ddec0e9aa3915c023ae6a9a)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.5.0-alpha05...1.5.0-beta01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.29 MB)
  • 1.5.0-alpha05(Oct 25, 2021)

    Dependency Updates

    • No dependency updates.

    Library Updates

    • Material 3
      • Unify the theme/style names of time pickers (841fe974f041101e68e10efa55d8da0fbdacd877)
      • Remove redundant day-night theme overly aliasing (f6426f691c891beab8ca9a0037cc2e7f9ece6919)
      • Fix month navigation button alignment (ca09b7b04b9ba31a95d9b9d257ded2b3918c4e9c)
    • Color
      • Add public dynamic color resources (dc0c5f3d85eab6273c3a300ef97e4c498385be29)
      • Harmonize iteration (df873168e057ee911cb371cd813cef12073521ac)
      • Add M3 Dynamic Color Themes for AppWidgets (90c78b97a5f21a32287d3ccf5b9acd784b5d0656)
      • Reformat ColorRoles and Custom Color's table (fba7e79f21ec21151c849d17777927fe508f2991)
    • Dialog
      • Simplify M3 dialog theme structure (a1e33f19d4c2a7d044f7bfb6812093e0fb857cac)
      • Update M3 dialog elevation (d045b2d1ebe3eabfb6d22a86d580ed5a5c6f3130)
    • Slider
      • addOnChangeListener should take NonNull value (8297cf86abee002ac483a70c7d91d3ee0da4f6a7)
    • ProgressIndicator
      • Fix typo in ProgressIndicator.md (bf3a87e7affdbded653c459e75e28feff2f66122)
    • TopAppBar
      • Defines collapsing text alpha value to be at most as transparent as the user defines. (a290c38cfde25e07db668961eb5f598780712695)
      • Fix the issue that top app bars not collapsed when top padding is set (7fc006c5e494be764ec27ea82c97b789daddb2db)
    • MaterialButton
      • Update icon state on Drawable state change. (5844d3c13400208170a36001426acd7d6db01aeb)
    • MaterialDatePicker
      • Replace confirm button strings (cde684ab423da0cd466ab11d9dfe35fe3cc28364)
    • CollapsingToolbarLayout
      • Allow customizing the title position interpolator (1b8fb3037068419cca76bcf21893c6a3c9d468ac)
    • BottomNavigationView
      • getPresenter update (c1f48a74c24eafdcc72b2039770f8a4d38130ecd)
    • TextInputLayout
      • Fix collapsed hint cutout is not correctly applied (d10c75b35734ae64108834200a23a01a8ddca089)
      • Create label cutout only on borders (79ae9b1351159533b58939b9f11c72fc779eede1)
    • TimePicker
      • Attempt to fix onDoubleTap() NullPointerException (3a57f5d58b5aa5103b759c7c580c2f0cfb5573f8)
      • Make MaterialTimePicker implement OnDoubleTapListener interface instead of instantiating anonymous inner class (93cdd95d6a9eb0dfb8910309c8cb472873f39db6)
      • Fix showing keyboard requires 2 taps in text input mode (e906367de5588ec3e22827b84a56ae0e06370f35)
      • Fix Input mode is not changed when keyboard icon is clicked when the app is returned from background (0181029efbf082c6f800c28bfb3c8d3cebdd289d)
    • FloatingActionButton
      • [FloatingActionButton]add setter for max image size (1f7202a95334e54ae4f846191c617b16cabf10ae)
    • Snackbar
      • Fix maxWidth and maxInlineActionWidth are not applied (8729d8ab571bc58582147cfb01c140d2c014617c)
    • Chip
      • Update chip styles with spec (abb9d5bf99c06e27ca7db59bbb935bf2313606ae)
    • Tokens
      • Updated resources to v0.54. (c1f7dfc314b082c1b35b3d6d326089fc4feb3eed)
    • A11y
      • Removed TextInputLayout's placeholder text duplicated announcement, and fixed edge case where placeholder text was being enabled and added to the input frame while it was set to null. (2701161bbd263050c1ce028fc4b753fcebbeb508)
      • Removed TextInputLayout's placeholder text duplicated announcement. (aa58657042d1f5046ed570e3af86d8847d03b1a7)
      • Announce time has changed after clock selection (228ad853f446f1f3f79cb81ac032e3a939f7f16d)
    • Catalog
      • add snackbars to toggles (7cc64fdd767ae93c31eed2f0b789ac93384b52ec)
      • Simplified getting the fold position for the Adaptive demos. Included considering whether there's a hinge for some cases. (3668ca7e544d1411aa7cc7391b9d9bce15150d83)
      • Fixed Activities in manifest for single module Gradle build (79e6834c0cfce3c4c56eb79c76ff89a046483a4e)
      • Changed ListView adaptive demo to include fold position if needed. (82ca11a86c8dbcd5709de0aae5406c424a65974d)
      • Implemented M3 Supporting Panel demo. (a2815ae72468d4ece8146c1c47e413827996363f)
    • Documentation
      • Update for FAB developer documentation (d247b5bad0c27a06185e59227e7e37df9c4f10c2)
      • Update Button developer documentation (f14c86d1913083520139f56912af7d1d9309930d)
      • Fix container transform links in Motion dev doc (9954963192b72d94cda2b4d30fa25a154674309a)
      • Update title case to sentence case in developer documentation (905520e447dc0638b795f9f01ad3909e5ef8f62b)
      • Minor punctuation and formatting fixes (84e60c9a387bc8f81694958ad2d64d7d50f2363d)
      • Update Getting Started doc link to DSL -> MDC migration guide (e4f70b6d7e9014d18dc8246ddbf2c20f42789258)
      • Update Motion dev doc assets (a5f6d104161142c425cccb6247b03a6590bbc9cc)
      • Small doc fixes. (11c59d6c4d57cb71dfaf3bbc2f266c9708353325)
      • Small fixes. (844248c6c17a4e02a273754d5e21026cb2ca08a0)
      • Fix links in CanonicalLayouts.md (adb1ef5f42d68b48f6e75697f0ee9460aa76d403)
      • Updated Canonical Layouts doc. (f664923c503b2e59e2fbeb3a34e1373720f960d2)
      • Update library version in Getting Started doc to 1.5.0-alpha04 (2e5957e2e1fd2b93e535ef74bbee898f6e45398b)
      • Fixed formatting of multiline tables in dev docs (a01323072c7456e255999a1e710796e74cfb76d7)
      • Fix dev doc format (615954d357b6c79ffc53a03c82ff42e3b735b202)
      • Update Divider developer documentation (7879b27885d178092e77db76f61a4fb085dc271f)
      • Added initial canonical layouts guide doc. (5290988bf859abef40359a12887a4975be022222)
    • Other
      • update library version to 1.5.0-alpha05 (fb8e13160ae057fac3a34474141ddecfab8f776a)
      • Automated g4 rollback of changelist 404871534 (8bf3bdeb8a4a002a9f3c580735cf4efc9d84a160)
      • Automated g4 rollback of changelist 404266249 (01c1fc723d784c545a214adae8ca85b4192d83eb)
      • Remove all broken attr links from Javadocs (9ae56ceedd9fcd646ade8864a5dd67d10c0a1560)
      • Added styles in res-public. (9de9319b1e6e3ef442396eb54ef75dd56635fba9)
      • Automated g4 rollback of changelist 398768587 (e9bca65652735312e9de03264ce9c78f4ac9619a)
      • Cleanup (15f9b24e1378a3f2bb47f8975b61f1be56ab31e5)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.5.0-alpha04...1.5.0-alpha05

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.28 MB)
  • 1.5.0-alpha04(Sep 29, 2021)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | drawerlayout | N/A | 1.1.1 |

    Library Updates

    • Material 3
      • Updated generated typography token resources and text appearances (39f6190da672621cebd0430564e4621d058c67a1)
      • Added M3 Bottom Sheet styles (cdafe752e35585f1a88cd78786b8ee15124c8636)
      • Added M3 Progress Indicator styles (5c2a5920d511303acc11a74c6d9c863137e5eace)
      • Added M3 Snackbar styles (41219f05ac3d135146fe5b78991a50a58a8e5a3c)
      • Fixed Gradle dependency of BuildCompat (31af6194df9b0b0534cb34a4f99cb216fbc47015)
      • Added Medium and Large collapsing toolbar Top App Bar Catalog demos (7463f9a294eac19a0e28b3b01cf8d084624a19ee)
      • Added compress effect Top App Bar demo to Catalog (9534612864e03d6b8f065253686d8a26c534fedd)
      • Added tertiary FAB color variant (054f1dba1e372d2517253262db11f1ed1863cae3)
      • Added M3 styles for Dialog (f01e6a849d4823a78242a6a02402b530da551361)
      • Added M3 theme tests (e509cb4a6a28521b791b06ed1c8a95f2fb72be53)
      • Updated date picker title typography (83e73de6b8af1ac5ddd9363674722ecbed33df8b)
      • Added new navigation rail styles. (c6d0f7c7855adceff63bc47d82eaa0f9c362e03b)
      • Fixed favorite demo button icon colors in Catalog (574f83da18ad147899e8745e7663193570f0e1e8)
      • Added M3 styles for navigation view (d0edb458938858147e890bbc6b012dbbf92e1690)
      • Added filled card style to M3 themes (b40b782525f922f09d32f604b0c518cf15546f81)
    • CollapsingToolbarLayout
      • Update the duration in setScrimAnimationDuration if scrimAnimator is already created (9382bb03c32a7680da0a7ababb49cadb0a741f00)
    • AppBarLayout
      • Fixed stateListAnimator related elevation bug (b7786451ca3b038873b3cddd80c70d31745cbb1f)
    • MaterialDatePicker
      • Fixed excessive whitespace (8fda897e1d2670b82752e8906a2a00700557408c)
    • BottomAppBar
      • Support showing/hiding immediately (34740b6fdf164665c438658935653d354a64d72b)
    • Color
      • Imported new color library into Material (4b936dc13e86088a7718e2c3eb2cae9128936b2d)
      • Added APIs for color harmonization and role mapping utilities (1d3bb92cf0e84274906e04c92070ffe6b860ff73)
    • Catalog
      • Removed MaterialComponents references from musicplayer package (ed0567d26dc550e058636b7df6a65ed6889f1c03)
      • Added adaptive canonical layout demos (c64bb76222621386b0e44dcd4c8b580b04468b07)
    • LinearProgressIndicator
      • Improved the smooth transition from indeterminate mode to determinate mode (2161743bdc0e87ed5c274467f113c621fb783306)
    • TimePicker
      • Send accessibility event when updating input mode (00c0df9e7d27c093b0b8ad82934a06637247bbae)
      • Added ability to customize positive and negative button (168c69189e5f9df27bcc9a72d4b0e27189f087df)
    • NavigationRail
      • Updated rail to support a minimum menu item height (674463fb6d709f05cdb5ebc14c420dc315feca40)
      • Added support for unlabeled items to automatically resize their active indicator (fd23c6b0addc235d0d4ba72e94418e12c3031516)
    • Tab
      • Fixed isSelected() may returns incorrect result (8a1f221e3920d7026ea5cbe02b3d40e71f646163)
      • Fixed setting tab indicator and its full-width flag (868f8aaba3bf22dc54bb2787ffa1021da48cb0a4)
      • Fixed NPE caused by null tab indicator (328d269e6d461b6a7c0e8c025ed98811700931d9)
    • AppBar
      • Fixed incorrect scroll position after orientation changes (4bec3e2b13e8a4d9453425ff286e4d27cca150fe)
    • NavigationView
      • Added support for changing item size, divider insets, label insets, and corner size (e8c1d98b160dd09382a0ad8a1b8281c41734375c)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.5.0-alpha03...1.5.0-alpha04

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(8.27 MB)
  • 1.5.0-alpha03(Aug 31, 2021)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | compileSdkVersion | 30 | 31 | | targetSdkVersion | 29 | 31 | | annotation | 1.0.1 | 1.2.0 |

    Library Updates

    Highlight: Early access preview of Material 3

    This release includes a preview of the new Material library.

    New Material 3 themes and many updated component styles have been added. More to come in future releases!

    Important:

    1. Make sure to update your app's compileSdkVersion to 31 when using this version of the library.
    2. If using the new DynamicColors.java util class to apply dynamic colors on Android 12, make sure to update your app to depend on AndroidX Core version 1.6.0 or later (e.g., androidx.core:core:1.6.0) (https://github.com/material-components/material-components-android/issues/2353).

    Changes

    • Material 3 (new!)
      • Create M3 themes (27757d026acdae3c0624e655404e5a06c036d206)
      • Create M3 Top App Bar styles (18490ff82dfbe8c0a7f6db60e8574f879cd99cc6)
      • Create M3 Bottom Navigation (Navigation Bar) styles (999b247)
      • Create M3 regular FAB styles (b06977b5db78fb65cf05892bb4df6065f8f3956a)
      • Create M3 large FAB styles (ca8f4cbb80c7b08bb6ef9ffbf50ad23ed2a082ab)
      • Create M3 Extended FAB styles (6ba1a9206f0e0954dd2316688c2fb88ca36aa1e7)
      • Create M3 Button styles (6bfa5842b9fcae455543f06e054c3d27199885d6)
      • Create M3 Chip styles (7f597a7)
      • Create M3 Tabs styles (60782a5)
      • Create M3 Bottom App Bar styles (167b1986e7c0a4219d359ae5931834df60e003f5)
      • Create M3 Date Picker styles (2901012)
      • Create M3 Time Picker styles (a1d09ac)
      • Create M3 Menu styles (0998e9d018659f7b99984b1005b819f557d1dc1a)
      • Create M3 Switch styles (906fb2d6d5d91a030a0ceb711e43fed1fbd571c5)
      • Create M3 Checkbox styles (4e0d5b018c51c12abdfce4cb9e4a081a8ca8427d)
      • Create M3 Radio Button styles (a342adcac7b600bb66dbdf367b45a825eaa0a8bb)
      • Create M3 Text Field styles (edbc4e1)
      • Create M3 Slider styles (0064aa1)
      • Create M3 Card styles (e5fb9d1)
      • Create M3 Badge styles (786e6b5)
      • Create M3 Tooltip styles (a7cb1f0556b4efb9dd9660eae2bc3c1e62bb0c0c)
      • Create M3 Divider styles (fabb5ea498c754d7a3845d1ead30d8bf0230e598)
      • Split dynamic color token resources into values-v31 (8357c9a4a8ea38ce88689739130d2ffc2f1854f0)
      • Chip style updates (492e37f46f3b75db7184c50e0d69103aafbf821a)
      • Update Color dev doc to M3 (687505e29b3771150cfc5ae3acf7d196ed361c01)
      • Create SurfaceColors class in M3 (27e7b00057f85d0d8f5bfac39ac622eee055f29b)
      • Reorganize styles (ebacf79ec103e75b31d873747991ec69f5f56510)
      • Reorganize resources. (f2eaf0c40a57c67ecca8b3de7032701d683ce4f3)
      • Use colorPrimary for elevation overlay color for both baseline and dynamic (1cf724b2edd7409294c2815d52a776a3bd29ae15)
      • Integrated Tokens shape resources. (585fd8df895f78e18df78166ebace7a2189471fb)
      • Integrated Tokens motion resources. (083f01d8e382d8400ceafc594252e0984bcd3afd)
      • Integrated Tokens state layer resources. (d1fb3f9ad297b95d6b69c27b6ef131471ede66a0)
      • Integrated Tokens elevation resources. (3caa9cdfea77174bb78118063d2547279680b0c9)
      • Integrated Tokens system resources. (293457c6f8d2ca4a2472a06e98f611518faf3feb)
      • Integrated Tokens color system resources. (0995f99965b655ba7a06387bd521eee004ccb09b)
      • Create dynamic color support in M3 (febe25707c8275e5f1bfccd69b77530cb971a2eb)
      • Fixed collapsing toolbar collapsed title text appearance (cb741340755bf91af5fc9f3087f321b9f2b296b8)
      • Update Font catalog demo to use new typescale. (7bcb91786252e1edf53fffc05417b97d6c2201dd)
      • Updated text appearance mappings (a461de5fd856638a7acb537cdd4adfa6926fad7b)
      • Fixed styling in themes due to bad merge (0c6f435a403709af9a97a9da48cc73965c9ceab0)
      • Updated ref colors, background/surface color, and error color. (23c9f276213f04eb3bf4e5525d8e5a0a35486f04)
      • Updated colorPrimaryDark to point to colorPrimary (f428f20829a7a6940e481c62e308b30c076134b8)
      • Set up elevation overlays and colors in themes + theme overlays (b9e5797c7345e1111a84fe7af96c2cad4c05e6c5)
      • Removed disabled color theme attrs (17a459abd3ea20a317ffaac2a8f9423a65794e2a)
      • Create M3 ripple alpha resources (04b06ae4251e605d22d9ddc6e3d6c2f030b0d74b)
      • Update compileSdkVersion to 31 - Android S (40509dc94edb4f710eccbf842ddd5933d640a7b2)
      • Add new typography system TextAppearance styles and set attrs in theme. (baf55ec93c6bd2c6f72931fd5510178b2c3310cd)
      • Define new typography system theme attributes. (beb51dc9382623598c8ce2fd8d278e93e7c60ec6)
      • Define new color system theme attributes (1ed1c29de32f356a32fa16f3a3407ebee45237a5)
      • Update Dark dialog theme to have correct dark dynamic color theme overlay (c3691284aad7da735d6e1a3ff805790225b22170)
      • Updated some Catalog demo references to Material3 styles (e776908bd2bb96ec187780d8745a8843d579b2bf)
      • Update Catalog naming to Material 3 (ae2003180650deaa8ebb05c109511d54a419ea14)
      • Update Catalog theme(s) to Material3 and fix Material3 date/time picker theme overlays (5d940f1ff88d5bdb306e03944207082d28edebcd)
    • Documentation
      • Full list of components link is broken (22571566cb7d1159e589ef40feaefa7c7f9c77d7)
      • Added class description links to progress indicator doc. (e019c82f6dd07fb9002b570711652880353f1321)
      • Updated bottom sheet doc. (104337f2ba9b57aeeb80f3a9d48c7efeba3f2052)
      • Fixed content link in divider doc (4df4d56027f2c0d7822bb1ce53cfc691b963412c)
    • TextInputLayout
      • Adding getter and setter for boxCollapsedPaddingTop (cdeeb824cbe7510f8971e89250a50b8cc12de957)
      • fix counterTextColor java docs (10edc29b4fef32692171dbb25cffecdbb8bb046a)
    • TimePicker
      • Clean-up TextApprearance overriding (2dfa3d6906541df5a20253a3c98032184d25d172)
      • Add some defensive null checks for internal views (45f4fa0ac8cc5092d3c212c3bb46f438dc62dfa6)
    • AppBarLayout
      • Make it possible to disable app bars' shadow (a682ab0ee0b118552463e4832282afb7d06053f9)
    • Tabs
      • Make secondary style change label color when selected (804cd600b034c2342fb334a6e596a5e120c9e4a5)
      • Fix icon tint not applied on lower SDKs (126df4c082e1c0f4d92aa47ab05dccbcfd70e7ff)
    • CollapsingToolbarLayout
      • Fix expanded height incorrect after rotation (ec3f96cbb964c72e21c3c4905503ed10fc9e99d7)
    • Catalog
      • Adding android:exported to catalog main activity. (7abf166170a6b0ee030c289d5be037ecb69f75a3)
      • update FAB demos (5e98a056c1ef660d294afb07a8bc7360f83089fd)
      • Music player demo updates. (864ef024ab4e7d19258578ab8a45cf9486b292a0)
      • Fixed filled text field demo style (fb522a576bce759191fe348430f45045b10ca54c)
    • Theming
      • Add isMaterial3Theme attr and set to true in 4 main Material3 themes (8670643c304fa47e009d43740f1d74210a111680)
    • Badging
      • Move badge assets into directory to be consistent with other components, and delete unused image (760effb893984f2d2cbfb5a2ef913d69afbbdc2e)
    • Chip
      • Remove duplicate line (f80b8660293c84c39bb4ed045f261579a69c9675)
    • MaterialButton
      • Material button lollipop shape fix (153fdee2f6f9f528856130be28c74f92bf739346)
    • Other
      • Version 1.5.0-alpha03 (05a64e8cb867703b8f5d24516407bc5904f8dc7d)
      • Fixed menu visibility changes causing active indicator flashing. (619c95c2f8d6022dbe81917d46ef1fa8ccf02292)
      • Internal change (8968255508bca6127bc9c5c25928deb10a97aa66)
      • Updated targetSdkVersion to 31. (b24e802c30335cc6238c6fbeafde4c25c475b071)
      • Fix toolbar menu arrow not visible (8123c63747c97984e02dbddf36f1f753a50c6454)
      • Update documentation (267da1080fc31b8cdc9910e3fbed5afc7668a543)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.5.0-alpha02...1.5.0-alpha03

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(6.72 MB)
  • 1.5.0-alpha02(Aug 11, 2021)

    Library Updates

    • BottomSheet
      • Fix fitToContents reference in comment (c3713724de6115f0f1b0391e63ffc475e7523a5b)
      • Add maxHeight to bottom sheet behavior (a38d2d89a8aa22a40dd200f2d1c9e837f87669c1)
    • MaterialCardView
      • Add invalidate when stroke changed (4acc56dcebd4976236869366360d895d5e4df37b)
      • Fix checked icon tint for API < 21, BitmapDrawables (b06446006c2af909acf4b107c547d7ac191390e5)
    • Chip
      • Fix touching cannot put focus on chips with Talkback (7085319b3508b5625aa1d74bf006d4f2631f7f25)
      • Report a11y class name as RadioButton in single selection mode (31ca1106ab5478ee34fbb3113bfd5205595899a7)
    • Slider
      • Fix minSeparation having no effect when stepSize > 0 (2d589bd351e59b461eab19cc7461c129c6a33c41)
    • BottomAppBar
      • Fix default style not being applied (ac1caf460a1ddc143e3a9f30f4e9deb406b44ddd)
      • Add functions for checking (STATE_SCROLLED_UP | STATE_SCROLLED_DOWN) (3bb0911d1b5ee113b58fdb1b440df02a39f074d2)
    • Other
      • Version 1.5.0-alpha02 (0e5c3932cb790ef40a632bea69fc9b2035552345)
      • Updated some string translations for date picker, time picker, and text field (57e3bc02fa29128eaeba25388dc736d7540586ed)
      • Fixed the transparent strip drawn at the ends of the indicator. (a55f3b8ee9efb5f89dfcd4f0137724cd514e3487)
      • Added null check in requestAnimatorAfterCurrentCycle for disjoint indeterminate animator. (456abd5471c2c2727bc3a7c7a4098b2e5a0fcbdc)
      • Fixed the transparent strip drawn at the ends of the indicator. (f9f57d7d3cb643de17f4cc1ad28ea42b936b27fd)
      • Add setLiftableOverrideEnabled() method to allow toggling between automatic and manual setLifted() behavior (e2c911b9e597ab667a967eaf85792d75bf0c5bab)
      • Updated setLifted() to preserve lifted state if using setLiftable() programmatically (67f9e9da88209c6592444bc75af25e048e92d5f4)
      • Apply the max width/height during measure instead of modifying layout params (9fb73b50ff97d897b4716a733ce22bfed9c67b12)
      • Internal change (cbf7bcad591eec0be35f84e711ad9804060a19ea)
      • Added listener for when lift on scroll background elevation and color change (3008d782e7e9fe7957bd96f236490e8cbdfea406)
      • Modify updateAppBarLayoutDrawableState logic to only require a child at an offset for conditions that depend on that child. For conditions that can be determined just based on the AppBarLayout, always check those conditions. (3eea60727f8e3cdbb28164e9774ed50cf8b5fcb1)
      • Added support for statusBarForeground lift on scroll elevation overlay for edge to edge mode and updated demo (aaa04443088a1b1dd14a793bbf30f6cef6333043)
      • Fix ViewDragHelper state inconsistency (a2e76736c5c3d06c116ffef605bde5ab11c92909)
      • Fix styles and attrs references in documentation (27b99ed69b7fd4e0658aebb443c0d783be633687)
    • Catalog
      • Small updates to music player demo. (cc4a6040fd191387b4980b6db872ab3627a032c5)
    • Transitions / Motion
      • Fix NPE when removing window background (b51692da7dad9cf6f322ce118f1c8326383709f7)
    • MaterialDatePicker
      • Date selector hint incorrectly localized (47868d884e67f660a55e001e670009c36658448a)
    • Documentation
      • Fix typo (4229145761008f752bf55a7939f7976b470d2828)
    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(6.51 MB)
  • 1.5.0-alpha01(Jul 8, 2021)

    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. (782dffa8b719ff4129590380896d2619531906dc)
      • Added divider demo in catalog (acf08f76400124721c0f767aaf8ae52eaf05705d)
      • Fixed divider title (d0e3ce152ed93ad2450264209764a88e97d7d223)
    • Transitions / Motion
      • Extracted music player app into its own package and made transition demo depend on it. (a536a8068de35dc84b826ed92ad5d5895c0cd8a8)
      • Add motion package and utils to resolve motion theme attrs. (217bdef9f04c34968882433ba151951f011fffdf)
    • BottomSheet
      • make FloatRange for setHalfExpandedRatio() exclusive (77c2a8383ced5c91c26762d7a31bd5e330341032)
      • Adds additional methods that are restricted to the library. They will be used for Experiment and deleted/revised after experiment. (b4982f9cdc9dbb61515b5f4dc9f514fba650cec2)
      • read the edgeToEdgeEnabled value earlier in the lifecycle (030e5bd65bc2a20f626947af0bf3b84634bac27b)
    • BottomAppBar
      • Improved Bottom App bar demo controls. (c995ae200ef2b02a2110612844b94f9e6c1f4f01)
      • Adding the attr to set the color of navigation icon. (0ed7c7675e42cbe417fb947f150ed9faf6a5174b)
      • change cornersize to float to avoid truncation errors (8e9b68089353c7f92dd35fe5a2f0f39cad4f3053)
    • MaterialButton
      • Updated Material Button style to set the preferred maximum width to 320dp. (c5c7a74cef46569ee74f92d0ef973cafe06c06e9)
    • BottomNavigationView
      • Added deprecation Javadoc for BottomNavigationView#OnNavigationItemSelectedListener and BottomNavigationView#OnNavigationItemReselectedListener. (720088c5c2462dbaaa90490bca04bb3bbdc708b1)
      • Updated to explicitly read and set minimum height. (943c4f0eedb35850f19167ac989387f5b640af2f)
    • Documentation
      • [Documentation] (f6237e337e81f24759b63beb30d698c74a5cb4d7)
      • Fix menu doc. (86f8c5167fc41315e4844dbd57840a103d04bdd2)
      • Updated BottomNavigation documentation. (b5032876e2e7e3b4b45fa0304a0c0c61970f92b6)
      • Fix typo in the word "checkbox". (bd5a96fd13e9bca7ab2ca7e97668199bf44dd8d9)
      • Fixing typo. (af9570c40fc818a6c918e3969c1b33fcc1877864)
      • Improving navigation rail documentation. (95a769c373792d2fce70d7ee21f3857f65e9d74e)
    • TextInputLayout
      • Apply tint when setting start icons (4044183f46385d09fe0059143bda77ce78f2dad9)
      • Do not load default drawable if custom end icon is being used (717774ec7f9d44c66fae6c801f1c4308243b9802)
      • Make clear text icon focusable (8a4f42aca737f4b0c2b7e7851e557ef275df6ebd)
      • [Documentation][TextInputLayout] (336042dd0ddd58fdd2f4154ec4c68c48527f11bb)
      • Added a fade transition to placeholder TextView's appear and disappear. (c92e6934d53032e9a3c0b4550787e665e6494d86)
      • Fixed cutout padding so text field outline doesn't overlap collapsed hint. (87b50c6aee240659841a7d5f2e52c1a6324d611f)
    • Badging
      • Update badge position after clearing numbers (5973920cffb3ddec11703c1bf044577c7727f676)
      • Support differing offsets for badges with/without text, support badge width and padding in styles. (bd4914dd8bcdb64c4ec8734c95b90cec2a3d723d)
    • MaterialDatePicker
      • Avoid NPE caused by getSelection() before created (cb5d622f131323bf1f27e9e6c27c16f4a918d3d1)
      • Fix opening at the selected date in the end month (eb7b11478b110fc917958565876899856ba2411b)
      • Fix DatePicker crashes and and potential issue of range selection (281688a2f21263817f037d187a98b4cbc8471985)
      • Make calendar day of week label stying more flexible (37f0ca1a971628e4e9988b2a1d0fb9448a68c6b0)
    • TimePicker
      • Hide cancel button when it's not cancelable (35c2af3c2dabdc470d55b8eddff56d174cbd9763)
      • Make display divider styling more flexible (b420eab0bc2f45085a7d49c1fa8aaf86877a3586)
      • Make time text input fields stying more flexible (818f253ade1b7060fd525385a91fea218a3a1e04)
    • MaterialShapeDrawable
      • Move static paint initialization to static block (b8c9f4949db9312003cc46e6ca59e480b6d53a3b)
    • ProgressIndicator
      • Added the OnAnimationEndListener adder and remover for spring animation used in determinate drawable. (cd5c2cc03ff30eb3f6c6959ffbc0c173ec63c089)
      • Fix NPE caused by animatorCompleteCallback not set (f732070619797d8af5fa5ac0ab535ad8dd59d420)
      • Enabled switch from indeterminate mode to determinate mode while visible. (209bad3299c9317601bebd53e84bd5340a5b9ee2)
      • Fix first animated progress update issue. (f9687312cb6c6393400506fffd0dd7f1fc6f35d1)
    • Snackbar
      • Handle anchor view properly so no memory leak will happen (58ceeab63ca74d740fb96fbb5e999de325822330)
      • Fix memory leak caused by not resetting anchor views (b0558dc006ac60f1c33cff4706bef109a6f77e07)
    • Chip
      • Fix icon tint states are not updated after setting new icon (c08a07d7e8247647ea939549c1a493f1d42ac326)
    • FloatingActionButton
      • Updated documentation for RTL support (9a603aaf26e9a988d5a69a86c887d106e89ad0b2)
    • Slider
      • Do not invoke OnChangeListeners when restoring states (db8b2390215badc5d822c36951aafa48ce57840b)
      • Fix halo showing under wrong thumbs (8431bd43ebd8978ff8ed2862fd715fd6072d0b98)
    • Tabs
      • Redraw indicators after their color is updated (e92ebdef094699d50aac02198e47030cf6d0ba4b)
    • CollapsingToolbarLayout
      • Added option to add extra height when title text spans across multiple lines (655dde062aa4e7cd4cad0137f4e975c6ed1d2c27)
      • Added option to force always applying system window inset top regardless of layout_height (9ebf1a1387be4dfad00ad2af58ef9f02ec204d10)
      • Fixed multiline RTL collapsed title text position (af35dfb86bebdbd913e74df7cb828a0218b7889a)
      • Added experimental setRtlTextDirectionHeuristicsEnabled() method (ae82585b79a59172c0867bacdaf3c2d58a49e23c)
      • Added support for expanded and collapsed title text color attributes (5c147722edcd5e6696248a1fdd372a1385d8a7df)
      • Fixed RTL text only laying out as RTL when actual text is RTL (841f2295921b4eed8bd16bb72b28d4ef7ca7cfa5)
      • Updated fade mode to allow expanded title to translate 1:1 with scrolling content. (c7541833b73afd50359b81cf69783071992bc448)
      • Added title line spacing and hyphenation frequency setters (f0ce498108616ee26f84d8afd26c4627a4cdcf48)
      • Added getLineCount() method (be85a92a73c8ce817a7af6735953244bb5b7d257)
      • Added support for multiline RTL when using fade title mode (f0ac3629682b003629858ab18bf74a878f2398ac)
      • Updated default multiline hyphenation frequency to StaticLayout.HYPHENATION_FREQUENCY_NORMAL (3ad232d829b8c1192b9c1af74225a69ac1632597)
      • Fixed multiline animation for fade title collapse mode (5a35bf7d38357e55b0f33fa88812f8f022fb978c)
    • Catalog
      • Make card view demo paddings aligned with spec (65e99d02eef9ab81b0baaed8498b35703b46c34a)
      • Remove theme switcher implementation (415ed744b003efe6d25fe31d08a4c81e85049614)
      • Fix system navigation bar demo (2a23ef40509d0bc8b31b5aa20b24fd0f3e8f1f2c)
      • Replace theme switchers with preferences screen (ce84b5826cfc9801506a3ac2d9d14dfb796c9e02)
      • Add shape corner size preference to preferences screen (6e7be6070c2037a6afe366f32575600705ecfb6c)
      • Add shape preference to preferences screen (832e43f7a5d2fafaa8218de7ab01761655e18e28)
      • Implement app preferences mechanism in Catalog (3aa76dafaa40b9953bfd4ba130e8257088500e0b)
      • Refactored fab demos to improve alignment (988681059f4e69e149574b2ebdde73ba8f7e3b81)
      • Added Navigation Rail demos to catalog. (401a5a8d011eedb8b4536adb4bc9119c82c63c9c)
      • Removed full width button style and related dialog themes. Updated catalog dialog demo to showcase how to create dialogs with full width buttons. (95da70589c321b1329c018fd04c158331576c592)
      • Update dialog main demo fragment to allow subclasses to override the theme overlay resources used in the demo. (15daf58d53a4a363af32fd427304f495bb57331c)
      • Updated Catalog demo to show full width buttons in dialogs. (633ef0ded8122beea5576f46c7679db8dad3d565)
    • Other
      • update library version to 1.5.0-alpha01 (4b9148cc6660539c06569f8a92e6b57c0e29e798)
      • Update inset handling for Navigation Rail & Bottom Nav (501ef8ea2a742739e3fcf4eb2dfc030509316da6)
      • Fix progress indicator is not shown when set as the icon (456f135627cebcef9be214c70d7a2ead10d24e83)
      • Updated documentation (48a58262a55a16934ef0a7a49541a15f27dbf69d)
      • Update @SuppressWarnings annotations for go/nullness diagnostics (ed719b2ad93068b3f0e23c78fd03804c44cabcf8)
      • Updated navigationIconTint implementation to mutate drawable to prevent tinting drawable globally (e3343326ab626b2d777d5ba0cf0ea77a88b16b05)
      • Adding android:textColor support (7adfd93d803e2797143ece017d67d7dee0392710)
      • Fix title fade mode collapsing title position errors. (0ef2e910ce892fdaa9efd029073fc6ff0fa48d68)
      • Added a TextAppearanceConfig.shouldLoadFontSynchronously() check to allow forcing synchronous font loading for edge cases (9b92fd8f465d65c76563586e37593f715c82f62f)
      • Updated androidx.core dependency from 1.5.0-rc01 to 1.5.0 stable (ea2b0bc202af6115488466da61919907f92d1eec)
      • Fix catalog preference state restoring issue (967745a2ea50fcfbb5ace6e08dcd90af29d67506)
      • Fix test missing assertion (265055f53d0eda59a49b5c22b8f4d96baaca9c96)
      • Added manual constructor for ElevationOverlayProvider. (43cfc050f80e6dc80386f33de9d73738e726ba9a)
      • Added elevation overlay accent color option (2c557b68336fa5ee0a7642bef4f8f10f1aedc7a8)
      • Update compile sdk version to 30 (5c0b8d6be6e5a3632fdc644919a63eb768fbe763)
      • Added compress scroll effect. (586d5543e278334050013fdc26037a78f756789e)
      • Updated TextAppearance to load font synchronously if its cached. Also updates lib to depend on 1.5.0-rc01 for the ResourcesCompat#getCachedFont method. (0ad429db2afec2fa97f71dd2120ba23a7d8fe8b9)
      • Added dimen resource for opacity of disabled background colors (d2c7b719ce4b377081d7d42fcc0246573f5ffc90)
      • Fix elevation overlay on time pickers (f617557ff9feed2df26a7987e2e32aba91a3807f)
      • Added support for full width buttons in dialogs. (cd9e6204d88ae07111a9a0eff0714241c91a2910)
      • Update FAB to use motion theming for show/hide animation. (b4cca5b8a495e7b978381d5ee5b792b851fbf69d)
      • Updated indicator and label to use motion theming. (166d9f6471ff66408f1ce51505ed4f1a8e0bed6e)
      • Adding a max width for bottom sheets to optimize for large screens. (ce928fcb65370706a9484a38cfb49e56bcb8d102)
      • Add active indicator. (7eea2b25bc47553c9b11b7ec5268257588601c76)
      • Moves OnNavigationItem listeners to the NavigationBarView class (a200a5ef1736dd92d6fd33bc362bd83bd0eacdb2)
      • Rename popup menu background drawable (357bbf30542d363e56f3013137f5eed0bbf493f3)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.4.0...1.5.0-alpha01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(6.51 MB)
  • 1.4.0(Jul 2, 2021)

    What's new since 1.3.0

    • NavigationRailView (Docs)
    • Motion theming (Docs)

    Other highlights

    • Support for centered titles in MaterialToolbar (cbf528e3a6deaa2bc39d0836b3a850b27c2ada49)
    • Max width for MaterialButtons (eb5453cd7ee0cc8e0610b57d39b44b26cd95f31e)
    • Max width for BottomSheets (63d01aa2686d56b165e9131265a449d810359695)
    • Updated edge-to-edge support for BottomSheet (c15139a5c3f685ff8c0e64857fdac4b2afc49abc) (b163458a3a7919d7b7c76de81a7a9b5c940c8def) (c574e9ea23a6f54f7e0582495f9a9d3691b6af22) (28c3254d2a9d51a76ef25aa245a6a140536bcdb6)
    • TextField's collapsed hint background no longer overlap with the field's background color (6015a4e901dc55a02f86e12703820d520684f95e)

    Dependency Updates

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

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.3.0...1.4.0

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(6.48 MB)
  • 1.4.0-rc01(Jun 3, 2021)

    Dependency Updates

    | Dependency | Previous version | New version | | - | - | - | | androidx.core | 1.5.0-rc01 | 1.5.0 |

    Library Updates

    • CollapsingToolbarLayout
      • Fixed RTL text only laying out as RTL when actual text is RTL. (72b0c39ca01388713ead773e8b48034437f196bb)
      • Added experimental setRtlTextDirectionHeuristicsEnabled() method. (5af36434cf1234f382095319bed58ad4a1e71c65)
      • Fix title fade mode collapsing title position errors. (bab907f08e9af6522b3632934808885be418e796)
    • TextAppearance
      • Added a TextAppearanceConfig.shouldLoadFontSynchronously() check to allow forcing synchronous font loading for edge cases. (4e45c2cd202afa03b6ce47dfe508bc5f86652041)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.4.0-beta01...1.4.0-rc01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(6.48 MB)
  • 1.4.0-beta01(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 (0ad4a8df9b9285885ec2ce1c7fbe197e6c8a3e59)
    • TextInputLayout
      • Fixed cutout padding so text field outline doesn't overlap collapsed hint. (1c7b75fe1761175d0e580b15e0889c11d7759c75)
    • MaterialButton
      • Updated Material Button style to set the preferred maximum width to 320dp. (eb5453cd7ee0cc8e0610b57d39b44b26cd95f31e)
    • Documentation
      • Improving navigation rail documentation. (dabdef988de5cdf4a8be7a54b8c59052d16eec2a)
    • CollapsingToolbarLayout
      • Updated fade mode to allow expanded title to translate 1:1 with scrolling content. (1445e6df6e76de42ca7e11ef8f3f7a6db95d3ea1)
      • Added title line spacing and hyphenation frequency setters (3ea60e6ebb6fddb58c50e5606a8b1fef62484d0b)
      • Fixed multiline animation for fade title collapse mode (a29c93a598ee77eb7ef3ca9afec4bd4730d5a62d)
      • Updated default multiline hyphenation frequency to StaticLayout.HYPHENATION_FREQUENCY_NORMAL (2c45dcca0069c4e8cee2c2d4bb2ce01b1564913f)
      • Added support for multiline RTL when using fade title mode (ffef9f6e39ea39b4a6873d440d8809dc7d905a56)
      • Added getLineCount() method (c9f7a61fa4d19f591acafe63ec685df8ed111d07)
    • BottomAppBar
      • change cornersize to float to avoid truncation errors (7ffa57191506c84312cb3f8caeda6cadc88fc6be)
    • BottomSheet
      • read the edgeToEdgeEnabled value earlier in the lifecycle (9c842a21299cf3db7b6e7be7fa85bc7f6370f497)
      • Adding a max width for bottom sheets to optimize for large screens. (63d01aa2686d56b165e9131265a449d810359695)
    • Other
      • Update compile sdk version to 30 (123438570f9b672e65a0559c2b0c214b9560dc01)
      • Updated TextAppearance to load font synchronously if its cached. Also updates lib to depend on 1.5.0-rc01 for the ResourcesCompat#getCachedFont method. (d301145698fec7c734278024879a9448afc332dc)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.4.0-alpha02...1.4.0-beta01

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(6.48 MB)
  • 1.4.0-alpha02(Mar 31, 2021)

    Dependency Updates

    • No dependency updates.

    Library Updates

    • Catalog
      • Updated catalog to showcase header view inside a Navigation Rail View. (6a37a553e756f42169d4e1241b08ac68a01c4932)
      • Updated catalog to demonstrate navigation rail in compact style. (ae8b1858f37c5a13170aad62623cef270129c861)
      • Updated Navigation Rail catalog demo to showcase a colored navigation rail with animated icons. (4ff1440995819b98673c3c20a506c0f9fcbca8f5)
      • Updated Navigtaion Rail catalog demo to showcase label visibility mode and menu gravity. (6cd0737807b3ffff6515919d189e1e5e0d798661)
      • Updated catalog demo to showcase navigation rail component. (547979e1212eebfb9d57a84d04ee62b807a7e8dc)
    • Other
      • Increment mdcLibraryVersion to 1.4.0-alpha02 (9bae8a7d10268077405015e1555c947e1384ba3b)
      • API Fixes (fed90a9e57cc57bce2ef454afaba5324a4b6330a)
      • Added setTheme api in builder to support passing theme via builder (64164677a991527335254447bd62a99308b974d9)
      • Fixed javadoc formatting issue for lerp function (06993c88128caf1927cc2121878a2176b2f8af5f)
      • Updated navigation rail documentation to update images and related example code. (b8ed2dac593f3d282557bf18671c7416a7bf4af2)
      • Added support for centering title and subtitle (cbf528e3a6deaa2bc39d0836b3a850b27c2ada49)
      • Update packaging.yaml (a9a493ff17a28c3aaea8da7d9942a40bf96355f6)
    • BottomSheet
      • Sets default for BottomSheetBehavior paddingTopSystemWindowInsets to true (6f220b11a75ce2d2ddcb0f5c1244ffd4d8c2836d)
      • Allow opting out of edge to edge on the top (28c3254d2a9d51a76ef25aa245a6a140536bcdb6)
      • Only add OnApplyWindowInsetsListener if edgeToEdgeEnabled is true (33f5aefb35d64c1a956db31f79d30770fabc9c0a)
    • ProgressIndicator
      • Move canvas to the middle of the bounds, rather than by half the width/height. (dca33e3952d5cdb9f2f3923f1329688696b16729)
    • CollapsingToolbarLayout
      • Added support for fade out/in title collapse mode (9c75ad07f7323387c7dae59455ea6ebc711b5f12)
      • Fixed Toolbar link errors in javadoc due to androidx vs framework Toolbar support (1f6ebe9e7bb224cc3adc60de3944adfb9e8eaacb)
    • Documentation
      • Updated progress indicator document to clarify a usage requirement for linear contiguous animation. (ca285ea3495170ad0b06baca728b9ccac13ecfeb)
      • Updating date picker doc. (be5d96d70b4019392e3ddbfb1df1e96d0bf563d0)
    • Transitions / Motion
      • Updated FadeThroughProvider to allow customization of the fade through threshold. (5d65278c829f7b33c02ca2c9672f61e09564a1b9)
    • TextInputLayout
      • Adding setMinWidth and setMaxWidth methods on the TextInputLayout so it works as expected. (f97560d8a85fd177bc103281da89ce62e2e779cd)
      • Fixed clear icon being displayed when the text field is not focused. (740a3d247b0bc0a4b90ffa227b6636bdf1b40bae)
      • Adding default, max and min widths for text fields to optimize for large screens. (81273acb26458ecf60eb639174fca8651128809d)
    • BottomAppBar
      • Support fab with rounded corners in cradle (ef8ad4dff47f7c88e858a6c473fa86f1349e6272)
    • Badging
      • Fix badge offset bug when attached and detached from a menu item on a toolbar. (948738e618416783694c9e4691454beb9701eeee)
    • MaterialButtonToggleGroup
      • Fixed issues with uncheck and check methods (ffb2ad14ffaeb82901ff31ec79051f3c1ac068a3)

    Full list of changes

    https://github.com/material-components/material-components-android/compare/1.4.0-alpha01...1.4.0-alpha02

    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(6.43 MB)
  • 1.4.0-alpha01(Feb 22, 2021)

    Library Updates

    • NavigationRail
      • Added Navigation Rail component to the library. (e13610e589be1b1f785e3ece09ccd038a7a15ab6) 🎉
      • Added documentation for navigation rail view component. (853c6951483bdd5beb9591a14596173e80728502)
      • Fixed spacing issue between destination icon and label. (585e0ff0ff1b424ad1f4abf89a37df587014ccd1)
      • Fixed issue that caused navigation rail to show label for active destination in compact mode. (1c872e8eb1ff0d328a57d507d86d95dd53310894)
      • Fixed issue that caused destination views to be smaller than the rail width. (42a19ab7253d45256cfd7e5cc36bd51f553a601d)
      • Extracted common logic from bottom navigation component into navigation package. (aca5bfb6f722a166fc9447e4dda2c72a8582b75d)
    • BottomSheet
      • Prevent adding half expanded accessibility action if fitToContents is true (2933600552b9ba2a988bedd46a5623c86ec86325)
      • Automatically enable insets for ThemeOverlay style (c15139a5c3f685ff8c0e64857fdac4b2afc49abc)
      • Added flag to opt in to edge to edge behavior rather than only relying on the navigationBarColor (c574e9ea23a6f54f7e0582495f9a9d3691b6af22)
      • Updated the way BottomSheet handles insets (b163458a3a7919d7b7c76de81a7a9b5c940c8def)
    • Documentation
      • Removed broken @link from MaterialButton Javadoc (25bf03ea2ab40023bd887c945a1dcff15d747684)
      • Fixed theme attr name for floatingActionButtonStyle (5b32b25c0cd05b11036776b6f6297e05d6f18d62)
    • ProgressIndicator
      • Updated "indicatorSize" in CircularProgressIndicatorSpec to be never less than twice of "trackThickness". (1fb57bcaa274f9de70553184e5eed35daf8153c8)
      • Fixed NPE while setting progress in the indeterminate mode after inflation. (7a9e3f6d89ec6691d4b5a4c8e24dd273d2a7eecd)
      • Fixed visibility bug in RecyclerView. (59109559903f61ef922f838e7f8f64d9cdb59dcf)
      • Fixed not hidden when committed hiding is interrupted by window hiding (i.e., home button pressed). (196116ffa442aeac5a4d535792ab44fc3c0688cd)
      • Fixed determinate drawable not fully shown when switched from indeterminate mode for the second time in SDK 19/21/23. (712f5f3c993b5ab2f4b24d8373c6e74d5c981a95)
      • Fixed indeterminate animation not playing after inflation/being visible in SDK 21. (86b70d7bf7733ebc91141f52b549351e27641d58)
      • Updated linear indeterminate animation. (fdb420f540910315140b2d410e6b95d21d538a06)
      • Updated circular indeterminate animation. (2163e3d2cbf4d259364f883d642edd6c97638f0b)
      • Added other predefined styles in document. (2a6715f4646ea8a3db48cc3d810deaeade8f9588)
      • Fixed incorrect visibility when used in the recycler view. (9ccad215101db0c3d7f71358fab61bdf0211d538)
      • Renamed indeterminateAnimationType enums "seamless" and "spacing". (e5375fcb696c24e479971a65e4061891fef0083d)
      • Removed unnecessary style attributes from catalog. (80b5cf61b31c187ba24215e2c3d8452d527144af)
      • Added sized styles for circular type. (4ab8cb1d4c039a705843695f72aa4547b3fddabe)
      • Corrected comments for javadoc. (379519765a65f57c2c207f2e42637566ff365f80)
      • Updated track thickness used in standalone demo as 2.5 dp. (968fb195dc8f70aba29eb22678f99dc10cccd46e)
      • Renamed some attributes. (9d7ae04e0e2fa6b0f6a077e41aa20b0faab21364)
      • Hid AnimatorDurationScaleProvider from API. (5ff62d30982cea552946b06ffd30207d73a9fd6e)
    • Transitions / Motion
      • Updated documentation to include motion theming (3d4a341ffd4014a944477d42e7c20c9531fc6d59)
      • Added theming to MaterialFadeThrough transition. (655caeddbaffee5b6ae8dbbd97454489e08bcf51)
      • Added theming to MaterialSharedAxis transition. (478b4124d27a5879372df1a39ca4033419cfebf3)
      • Added theming to MaterialFade transition. (8e79c7ea1c036ab4da16845197ce47f56458c45c)
      • Changed motionPath theme attr format to enum|string (7e578e4b1324212ddde4e9943e57470823fced33)
      • Applied easing, duration, and path theme attributes to MaterialContainerTransform (5154eeae3253336800deccadea7bd15a103159dd)
      • Added easing, duration, and path theme attributes, as well as utilities to read them (186d5ed023a69176af3bcd0f69c635cf60285bba)
    • Catalog
      • Make demo links use minHeight instead of specifying height so they won't be truncated at large font sizes. (a8156be40b3431c2a8fcabcf6b89db3d7de9ac45)
    • TimePicker
      • Fixed issues when re-using dialog instance (11169ce616393ed83c97dd931b69b48160455d89)
      • Changed clock face size to be dynamic (bf0d11b4e7970c8a600de5fa670034edffa81df2)
      • Fixed numbers glitching on first show of time picker (74350dead647dce3ef0f6407987c2dcf9e083bff)
      • Fixed text input mode to correctly restore state (76cf0eb07ecf4268fcd47e6c1af238fae46de5c1)
      • Added dev docs (3eddfb99c8516f4e664eeff88740660b12691934)
      • Renamed ThemeOverlay.MaterialComponents.MaterialTimePicker to ThemeOverlay.MaterialComponents.TimePicker to be more consistent with other time picker styles (4af9eabe8ac5246904ed461e4efadcd99410d439)
      • Changed text input view to a view stub (cbef0d3c1be4cca254742ef1acd2a9fcf6bf8af5)
      • Removed hint setting (074ed18255789c199183c79f2e860b0bd8645ee6)
      • Use MaterialColors to correctly read CSLs with theme attributes (9f791574ec86471cac8e9a915eabf449fe6c93b4)
      • Make default theme overlay public (890b727dcbdaf99c8c660dfa4ef050b3d5863553)
    • Slider
      • Improve listener documentation (1f76fcc70f17e88c54baf41a8bc675d94f9c9695)
    • CollapsingToolbarLayout
      • Updated CollapsingToolbarLayout to support framework android.widget.Toolbar (<Toolbar) (036cff7c33b6ce285ee5a4d49d2612249e0bce1a)
    • Snackbar
      • Fixed NPEs (a3b8be845acdb2d326e5002054f011e7bfca67c8, ebd322314719fb65bdfa7299274ed4662a29d88c)
    • TextInputLayout
      • Adjusted background of collapsed hint to not overlap with edit text's background. (6015a4e901dc55a02f86e12703820d520684f95e)
      • Fixed placeholder text not being properly announced. (40e33a772cab583841c2e4e88263a113c21dfa37)
      • Fixed IndexOutOfBoundsException when trying to change end icon (dd0e697aca35b8056337a8b4a0612949fce2866b)
    • MaterialDatePicker
      • Fixed incorrect date being selected on scrollable months. (db42490dde5ee98e5990d5386328012bbaa17090)
      • Fixed NullPointerException on MonthAdapter.updateSelectedState (00e33202a5106785b986e55d6cf3a03a47a23085)
      • Localized numbers in month (3e799428717a8f82b27f753c49f9748175b24121)
      • Fixed day of week adapter localization for APIs before O (bec2de92ac96f7ea061556bdc4ea114a17818eea)
    • Other
      • Do not show tooltip on long press for L and M devices to avoid freezing devices on repeated long press. (da2d8264d1644e85aa29ef1c1a37f306bc67d3ac)
      • Remove duplicate state from BottomSheetBehavior#getState doc. (8f77050a254701f80af59f3b337bc1d5b31bd8c3)
    Source code(tar.gz)
    Source code(zip)
    catalog-debug.apk(6.38 MB)
Owner
Material Components
Build beautiful, usable products with Material Components for Android, Flutter, iOS, and the web.
Material Components
Android Material Design Components

Android-Material-Design-Components Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices. G

Velmurugan Murugesan 3 Jun 10, 2022
Default colors and dimens per Material Design guidelines and Android Design guidelines inside one library.

Material Design Dimens Default colors and dimens per Material Design guidelines and Android Design guidelines inside one library. Dimens Pattern: R.di

Dmitry Malkovich 1.4k Jan 3, 2023
Material Design implementation for Android 4.0+. Shadows, ripples, vectors, fonts, animations, widgets, rounded corners and more.

Carbon Material Design implementation for Android 4.0 and newer. This is not the exact copy of the Lollipop's API and features. It's a custom implemen

null 3k Jan 9, 2023
Android Sample Project with Material Design and Toolbar.

AndroidMaterialDesignToolbar -- PROJECT IS NOT SUPPORTED Android Sample Project with Material Design and Toolbar. Project use Appcompat library for ma

kemal selim tekinarslan 713 Nov 11, 2022
Easy creation and management of toggle buttons on Android from the Material Design spec.

ToggleButtonLayout Easy creation and management of toggle buttons from the Material Design spec. Read more about ToggleButtonLayout in our blog post.

Savvy 229 Jan 9, 2023
Navigation Drawer Activity with material design style and simplified methods

MaterialNavigationDrawer Navigation Drawer Activity with material design style and simplified methods       It requires 10+ API and android support v7

Fabio Biola 1.6k Jan 5, 2023
The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.

MaterialDrawer ... the flexible, easy to use, all in one drawer library for your Android project. What's included ?? • Setup ??️ • Migration Guide ??

Mike Penz 11.6k Dec 27, 2022
Floating Action Button for Android based on Material Design specification

FloatingActionButton Yet another library for drawing Material Design promoted actions. Features Support for normal 56dp and mini 40dp buttons. Customi

Zendesk 6.4k Dec 26, 2022
Implementation of Ripple effect from Material Design for Android API 9+

RippleEffect ExpandableLayout provides an easy way to create a view called header with an expandable view. Both view are external layout to allow a ma

Robin Chutaux 4.9k Dec 30, 2022
Android drawer icon with material design animation

LDrawer Android drawer icon with material design animation Note Basically same as appcompat_v7 version 21, you can use appcompat_v7 compile 'com.andro

Hasan Keklik 1.4k Dec 25, 2022
[] Android Library that implements Snackbars from Google's Material Design documentation.

DEPRECATED This lib is deprecated in favor of Google's Design Support Library which includes a Snackbar and is no longer being developed. Thanks for a

null 1.5k Dec 16, 2022
Android drawer icon with material design animation

LDrawer Android drawer icon with material design animation Note Basically same as appcompat_v7 version 21, you can use appcompat_v7 compile 'com.andro

Hasan Keklik 1.4k Dec 25, 2022
Floating Action Button for Android based on Material Design specification

FloatingActionButton Yet another library for drawing Material Design promoted actions. Features Support for normal 56dp and mini 40dp buttons. Customi

Zendesk 6.4k Jan 3, 2023
A library support form with material design, construct same with Android UI Framework

SwingUI A slight Java Swing library support form with material design, construct same with Android UI Framework writen in Kotlin Supported: 1. Screen:

Cuong V. Nguyen 3 Jul 20, 2021
A gradle plugin that generates Material Design 3 theme for Android projects.

Same as Google's Material Theme Builder, but as a gradle plugin.

Rikka apps 41 Dec 6, 2022
Material Design icons by Google

Material design icons Material design icons is the official icon set from Google. The icons are designed under the material design guidelines. 4.0.0 U

Google 47.1k Jan 9, 2023
A Material Design ViewPager easy to use library

MaterialViewPager Material Design ViewPager easy to use library Sample And have a look on a sample Youtube Video : Youtube Link Download In your modul

Florent CHAMPIGNY 8.2k Jan 1, 2023
EditText in Material Design

MaterialEditText NOTE: 2.0 is NOT BACKWARDS COMPATIBLE! See more on wiki or 中文看这里 AppCompat v21 makes it easy to use Material Design EditText in our a

Kai Zhu 6.1k Dec 30, 2022
Material Design ProgressBar with consistent appearance

MaterialProgressBar Material Design ProgressBar with consistent appearance on Android 4.0+. Why MaterialProgressBar? Consistent appearance on Android

Hai Zhang 2.2k Dec 21, 2022