# Nick Rout

Stories by Nick Rout on Medium

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Opinion: Jetpack Compose needs a Design System layer

DevFeed: [Opinion: Jetpack Compose needs a Design System layer](<https://devfeed.tech/articles/opinion-jetpack-compose-needs-a-design-system-layer-25996.md>)

Original publisher: [Read original article](<https://proandroiddev.com/opinion-jetpack-compose-needs-a-design-system-layer-dc579fde79b2?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2024-03-15T14:05:16Z

Content type: opinion

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [Design system](<https://devfeed.tech/topics/design-system.md>), [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [design to code tools](<https://devfeed.tech/topics/design-to-code-tools.md>), [Figma](<https://devfeed.tech/topics/figma.md>), [compose-multiplatform](<https://devfeed.tech/topics/compose-multiplatform.md>), [material-you](<https://devfeed.tech/topics/material-you.md>), [designer developer handoff](<https://devfeed.tech/topics/designer-developer-handoff.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [compose-multiplatform](<https://devfeed.tech/tags/compose-multiplatform.md>), [design](<https://devfeed.tech/tags/design.md>), [design-systems](<https://devfeed.tech/tags/design-systems.md>), [figma](<https://devfeed.tech/tags/figma.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [opinion](<https://devfeed.tech/tags/opinion.md>)

### AI overview

The author argues Jetpack Compose should add a flexible design-system layer between Foundation and Material, so custom systems can reuse accessible, behavior-focused components without adapting or copying opinionated Material implementations. The article illustrates the friction with buttons: a custom shadow requires drawing behind a wrapped Material button, while a gradient button leads to largely rebuilding the component because Material APIs do not support that design. The proposed layer would offer adaptable theming through CompositionLocal, publicly changeable component behavior and visuals, multiplatform and responsive support, and better links to design tokens and tools such as Figma. Material and custom systems could then add their own visual styles on top. This is an opinion proposal; the author suggests Google collaboration or a community library and acknowledges the API ideas need further development.

### Source excerpt

Photo by Clark Van Der Beken on UnsplashIn a world of Android complexity, Compose Multiplatform, design-to-code automation, and UIs that need to differentiate by brand identity and craft... Material Design should be a choice, not the default. Featured in Android Weekly Issue #614, Kotlin Weekly Issue #398, and jetc.dev Issue #205 Jetpack Compose is awesome. I'm probably preaching to the choir in saying that it gave native Android development the "shot in the arm" it sorely needed after ~10 years of XML and Views. It claims to be modern and intuitive, and it is--it's easy to rave about the Kotlin-only APIs, the reduced lines of code for both simple and complex UIs, how it's designed for unidirectional data flow (UDF), the growing tooling/community support... However, a quote from the official Why adopt Compose documentation sums it up quite nicely: "There are fewer steps between the thing you want to make and actually making it." I'd wager that this is the "north star" of Compose (and any UI toolkit for that matter): making it easier to implement what your product team--whether that's you as an indie developer or an entire team of designers--has envisioned. Compose is very good at doing this in most cases but, in my opinion, it could be better in one particular, important area: design systems. Why are design systems important in the context of Compose? Before we dive in: If you need an introduction to or a refresher on design systems, Figma has conveniently started publishing a series on the topic starting with Design systems 101: What is a design system? I also recommend checking out designsystems.com (also by Figma) and reading Design That Scales by Dan Mall. Design systems are the "secret sauce" (of truth) for UIs at scale. Just as Compose seems to be the UI-toolkit-shaped silver bullet for Android development (and possibly other platforms), design systems have the same sleek, shiny casing in the world of product design, and they're here to stay. Your aforementioned pr

## MAD Skills Material Design Components: Wrap-Up

DevFeed: [MAD Skills Material Design Components: Wrap-Up](<https://devfeed.tech/articles/mad-skills-material-design-components-wrap-up-25987.md>)

Original publisher: [Read original article](<https://medium.com/androiddevelopers/mad-skills-material-design-components-wrap-up-d22a2df069c8?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2020-12-11T18:01:17Z

Content type: article

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [material-components](<https://devfeed.tech/topics/material-components.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [Android](<https://devfeed.tech/topics/android.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [also](<https://devfeed.tech/tags/also.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-development](<https://devfeed.tech/tags/android-development.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [app](<https://devfeed.tech/tags/app.md>), [applying](<https://devfeed.tech/tags/applying.md>), [apps](<https://devfeed.tech/tags/apps.md>), [article](<https://devfeed.tech/tags/article.md>), [articles](<https://devfeed.tech/tags/articles.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [components](<https://devfeed.tech/tags/components.md>), [design](<https://devfeed.tech/tags/design.md>), [mad-skills](<https://devfeed.tech/tags/mad-skills.md>), [material](<https://devfeed.tech/tags/material.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [skills](<https://devfeed.tech/tags/skills.md>), [up](<https://devfeed.tech/tags/up.md>), [wrap](<https://devfeed.tech/tags/wrap.md>)

### AI overview

The MAD Skills series presents Material Design Components (MDC) as Android widgets for implementing Material patterns. Its episodes cover setting up a `Theme.MaterialComponents.*` theme and choosing color, type, and shape; implementing dark themes with force dark or manual design choices, `.DayNight` themes, `.PrimarySurface` styles, and system UI handling; and using container transform, shared axis, fade through, and fade transitions across Fragments, Activities, and Views. Other material includes MDC's Jetpack Compose interoperability, Android Studio templates, using the MDC catalog and a Theme Showcase, and a Q&A on themes, resources, typography, and shape. The MaterialThemeBuilder sample supports interactive theme customization, while Reply demonstrates MDC in an email app; Owl is also listed among the repository's Material study samples.

### Source excerpt

We hope you liked our materialIt's a wrap_content! The third topic in the MAD Skills series of videos and articles on Modern Android Development is complete. This time around we covered Material Design Components (a.k.a MDC). This library provides the Material Components as Android widgets and makes it easy to implement design patterns seen on material.io, such as Material Theming, Dark Theme, and Motion. Check out the episodes and links below to see what we covered. We designed these videos to closely follow our recent series of MDC articles as well as existing sample apps and codelabs, so you've got a variety of ways to engage with the content. We also had a Q&A episode featuring engineers from the MDC team! Episode 1: Why use MDC? The first episode by Nick Butcher is an overview video of this entire MAD Skills series, including why we recommend MDC, then deep-dives on Material Theming, Dark Theme and Motion. It also covers MDC interop with Jetpack Compose and updates to Android Studio templates that include MDC and themes/styles best practices. https://medium.com/media/79d74fd1bad21a94fc28742b3402afd9/href Or in article form: We Recommend Material Design Components Episode 2: Material Theming Episode 2 by Nick Rout covers Material Theming and goes through a tutorial on how to implement it on Android using MDC. Key topics include setting up a Theme.MaterialComponents.* app theme, choosing color, type, and shape attributes -- using tools on material.io -- and finally adding them to your theme to see how widgets automatically react and adapt their UI. Also covered are handy utility classes that MDC provides for certain scenarios, like resolving theme color attributes and applying shape to images. https://medium.com/media/d41aaddc87de1854e840265d07ed1ad6/href Or in article form: Material Theming with MDC: Color Material Theming with MDC: Type Material Theming with MDC: Shape Episode 3: Dark Theme This episode by Chris Banes gets really dark... It takes you through implem

## Material Theming with MDC: Type

DevFeed: [Material Theming with MDC: Type](<https://devfeed.tech/articles/material-theming-with-mdc-type-25990.md>)

Original publisher: [Read original article](<https://medium.com/androiddevelopers/material-theming-with-mdc-type-8c2013430247?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2020-08-25T16:03:24Z

Content type: article

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [material-components](<https://devfeed.tech/topics/material-components.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [button](<https://devfeed.tech/tags/button.md>), [components](<https://devfeed.tech/tags/components.md>), [design](<https://devfeed.tech/tags/design.md>), [fonts](<https://devfeed.tech/tags/fonts.md>), [material](<https://devfeed.tech/tags/material.md>), [material-components](<https://devfeed.tech/tags/material-components.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [material-theming](<https://devfeed.tech/tags/material-theming.md>), [resources](<https://devfeed.tech/tags/resources.md>), [text](<https://devfeed.tech/tags/text.md>), [themes](<https://devfeed.tech/tags/themes.md>), [type](<https://devfeed.tech/tags/type.md>), [typography](<https://devfeed.tech/tags/typography.md>), [widget](<https://devfeed.tech/tags/widget.md>), [widgets](<https://devfeed.tech/tags/widgets.md>)

### AI overview

Material Components for Android (MDC) lets apps customize typography through 13 type styles, each with baseline values such as size, letter spacing, and capitalization. MDC theme attributes map to text appearance styles and can be overridden per app theme; widgets use them for text, and layouts can apply them through text appearance settings. The excerpt describes headings, subheadings, multiline body text, button text (also used in tabs and dialog actions), small hints and errors, and compact titles or labels. Designers or brand requirements may guide the choices, and Material Design's type scale generator can preview scales, integrate Google Fonts, and export code. The excerpt is incomplete and does not provide the detailed type resources guidance.

### Source excerpt

Type theming on Android using the MDC library This article is also posted on the Material Design blog. Material Theming is a way to customize Material Components to align with your brand. A Material theme includes color, typography and shape parameters which you can adjust to get near-infinite variations of the components -- all while maintaining their core anatomy and usability. On Android, Material Theming can be implemented using the Material Components (MDC) library, from version 1.1.0 onwards. If you're looking to migrate from the Design Support Library or MDC 1.0.0, take a look at our migration guide. Migrating to Material Components for Android This article will be focusing on type theming. Type attributes Material Design provides 13 type "styles" that are applied to all the text in your app. Each of these have a design term (eg. "Body 1") along with a corresponding type attribute that can be overridden in your app theme (eg. textAppearanceBody1). There are default "baseline" values (text size, letter spacing, capitalization, etc.) for each style. MDC type attributes with baseline styling Material Components use these type attributes to style textual elements of the widgets (those parts that subclass or comprise one or more TextViews). Type attributes used by a button They are applied with eg. android:textAppearance="?attr/textAppearanceBody1" in layouts and widget styles. Take a look at Nick Butcher's "What's your text's appearance?" article for more information on using this and the order of precedence with other styling techniques. What's your text's appearance? In the MDC themes these attributes map to styles, eg. <style name="Theme.MaterialComponents.*" parent="..."> ... <item name="textAppearanceBody1"> @style/TextAppearance.MaterialComponents.Body1 </item> <style /> You might recognize TextAppearance styles from AppCompat or the platform and these are discussed in more detail in the Type resources section below. The corresponding attributes are new to M

## Material Theming with MDC: Shape

DevFeed: [Material Theming with MDC: Shape](<https://devfeed.tech/articles/material-theming-with-mdc-shape-25989.md>)

Original publisher: [Read original article](<https://medium.com/androiddevelopers/material-theming-with-mdc-shape-126c4e5cd7b4?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2020-08-25T16:03:04Z

Content type: article

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [material-components](<https://devfeed.tech/topics/material-components.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>)

Tags: [all](<https://devfeed.tech/tags/all.md>), [android](<https://devfeed.tech/tags/android.md>), [attention](<https://devfeed.tech/tags/attention.md>), [background](<https://devfeed.tech/tags/background.md>), [brand](<https://devfeed.tech/tags/brand.md>), [categories](<https://devfeed.tech/tags/categories.md>), [color](<https://devfeed.tech/tags/color.md>), [components](<https://devfeed.tech/tags/components.md>), [define](<https://devfeed.tech/tags/define.md>), [design](<https://devfeed.tech/tags/design.md>), [family](<https://devfeed.tech/tags/family.md>), [friendly](<https://devfeed.tech/tags/friendly.md>), [guide](<https://devfeed.tech/tags/guide.md>), [interaction](<https://devfeed.tech/tags/interaction.md>), [material-components](<https://devfeed.tech/tags/material-components.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [material-theming](<https://devfeed.tech/tags/material-theming.md>), [migration-guide](<https://devfeed.tech/tags/migration-guide.md>), [size](<https://devfeed.tech/tags/size.md>), [typography](<https://devfeed.tech/tags/typography.md>), [usability](<https://devfeed.tech/tags/usability.md>), [widgets](<https://devfeed.tech/tags/widgets.md>)

### AI overview

Material Components for Android (MDC) 1.1.0 and later supports app-wide shape theming through three theme attributes for small, medium, and large components. Override these attributes to style groups such as buttons and text fields, cards and dialogs, or bottom sheets; define `ShapeAppearance` styles for rounded or cut corners and use overlays for corner-specific changes. MDC widgets use `MaterialShapeDrawable`, which also handles fill, stroke, elevation overlays, and corner interpolation; `ShapeableImageView` applies shape styling and strokes to images. These styles work with MDC widgets, not arbitrary views unless custom views are wired to the relevant attributes and drawable. Compared with XML shape drawables, they offer theme-level reuse and support cut corners and complex edges, but support only solid fills and strokes, so gradients require XML drawables. Platform elevation shadows require API 21 or later; MDC offers optional backport support.

### Source excerpt

Shape theming on Android using the MDC library This article is also posted on the Material Design blog. Material Theming is a way to customize Material Components to align with your brand. A Material theme includes color, typography and shape parameters which you can adjust to get near-infinite variations of the components -- all while maintaining their core anatomy and usability. On Android, Material Theming can be implemented using the Material Components (MDC) library, from version 1.1.0 onwards. If you're looking to migrate from the Design Support Library or MDC 1.0.0, take a look at our migration guide. Migrating to Material Components for Android This article will be focusing on shape theming. Most widgets have a background shape, but have you ever thought about the ways that shape influences user behavior? Just like color and typography, shape can guide a user's attention, suggest interaction, and visually distinguish elements in your UI. Material's shape theming gives you the ability to define global shape values that change the style of components across your app -- for example, giving all your cards, dialogs, and menus really friendly rounded corners. Shape attributes Material Design provides 3 shape "categories" that are applied to the shapeable widgets of your app. Each of these have a design term (eg. "Small components") along with a corresponding shape attribute that can be overridden in your app theme (eg. shapeAppearanceSmallComponent). There are default "baseline" values (corner size, corner family, etc.) for each category. MDC shape attributes with baseline values Material Components use these shape attributes to style backgrounds of the widgets. Shape attributes used by a button They are applied with eg. app:shapeAppearance="?attr/shapeAppearanceSmallComponent" in layouts and widget styles. In the MDC themes these attributes map to styles, eg. <style name="Theme.MaterialComponents.*" parent="..."> ... <item name="shapeAppearanceMediumComponent"> @st

## Material Theming with MDC: Color

DevFeed: [Material Theming with MDC: Color](<https://devfeed.tech/articles/material-theming-with-mdc-color-25988.md>)

Original publisher: [Read original article](<https://medium.com/androiddevelopers/material-theming-with-mdc-color-860dbba8ce2f?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2020-08-25T16:02:38Z

Content type: tutorial

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [material-components](<https://devfeed.tech/topics/material-components.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [android](<https://devfeed.tech/tags/android.md>), [components](<https://devfeed.tech/tags/components.md>), [design](<https://devfeed.tech/tags/design.md>), [mad-skills](<https://devfeed.tech/tags/mad-skills.md>), [material-components](<https://devfeed.tech/tags/material-components.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [material-theming](<https://devfeed.tech/tags/material-theming.md>), [migration](<https://devfeed.tech/tags/migration.md>), [usability](<https://devfeed.tech/tags/usability.md>)

### AI overview

This tutorial explains color theming for Android applications with the Material Components library. It describes Material Design color slots, baseline light and dark themes, color attributes used to tint widgets, accessibility and contrast requirements, and tools for selecting and previewing color variants.

### Source excerpt

Color theming on Android using the MDC library This article is also posted on the Material Design blog. Material Theming is a way to customize Material Components to align with your brand. A Material theme includes color, typography and shape parameters which you can adjust to get near-infinite variations of the components -- all while maintaining their core anatomy and usability. On Android, Material Theming can be implemented using the Material Components (MDC) library, from version 1.1.0 onwards. If you're looking to migrate from the Design Support Library or MDC 1.0.0, take a look at our migration guide. Migrating to Material Components for Android This article will be focusing on color theming. Color attributes Material Design provides 12 color "slots" that make up the overall palette of your app. Each of these have a design term (eg. "Primary") along with a corresponding color attribute that can be overridden in your app theme (eg. colorPrimary). There are default "baseline" values for both your light theme and dark theme. MDC color attributes with light baseline valuesMDC color attributes with dark baseline values Material Components use these color attributes to tint elements of the widgets. Color attributes used by a button They are applied with eg. app:backgroundTint="?attr/colorSecondary" in layouts and widget styles. You might recognise some of these color attributes like colorPrimary. That's because a few of them are inherited from AppCompat and the platform, while the rest have been newly introduced by MDC. The table below illustrates the origin of each attribute. https://medium.com/media/913ab7a828a11fee6cf9fb333df54f3a/hrefPicking colors Figuring out which color values to use for each slot may be the responsibility of a designer, or derived from your product's brand. However, it's still useful to know about the role of each color, the relationship between them, and how to meet accessibility requirements: colorPrimary and colorSecondary represent the c

## Material Components for Android 1.2.0 is now available

DevFeed: [Material Components for Android 1.2.0 is now available](<https://devfeed.tech/articles/material-components-for-android-1-2-0-is-now-available-25992.md>)

Original publisher: [Read original article](<https://medium.com/google-design/material-components-for-android-1-2-0-is-now-available-aade483ed841?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2020-08-04T18:42:47Z

Content type: release

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [releases](<https://devfeed.tech/topics/releases.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [Android](<https://devfeed.tech/topics/android.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [navigation](<https://devfeed.tech/topics/navigation.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [jetpack-navigation](<https://devfeed.tech/tags/jetpack-navigation.md>), [material-components](<https://devfeed.tech/tags/material-components.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [material-theming](<https://devfeed.tech/tags/material-theming.md>), [release](<https://devfeed.tech/tags/release.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>)

### AI overview

Material Components for Android 1.2.0 introduces Material motion transition patterns, sliders, ShapeableImageView, and additional theming features. The release also includes bug fixes, accessibility improvements, and stabilization of features from earlier prereleases.

### Source excerpt

Material motion system, Sliders, ShapeableImageView, and more This article is also posted on the Material Design blog. We're excited to announce the release of Material Components for Android (MDC-Android) 1.2.0! A host of exciting new features have been added along with many bug fixes and accessibility improvements. Get the rundown below. Be sure to check out the release notes. If you're using MDC for the first time, also take a look at our getting started guide. What's new in 1.2.0? A fair bit has changed since we launched 1.1.0 in February -- we added the motion system, slider component, a widget for image shape theming, and more. The things you loved from the alpha, beta, and RC releases of 1.2.0 are now officially stable. If you haven't yet started using version 1.2.0 of MDC, there's never been a better time to update. Material motion Material's motion system includes a set of four transition patterns. They can help users understand and navigate an app, and reinforce relationships between components or full-screen views. The transition patterns are: Container transform Shared axis Fade through Fade MDC 1.2.0 enables Material motion in your Android app. The four transition patterns are implemented as classes built on top of both the AndroidX Transition library (androidx.transition), available in the com.google.android.material.transition package, and the Android Framework Transition library (android.transition), available in the com.google.android.material.transition.platform package. They can be used to transition between Fragments (including Jetpack Navigation), Activities, and Views. Container transform between Fragments (using Jetpack Navigation) <!-- fragment_a.xml --> <View android:id="@+id/start_view" android:transitionName="start_container" /><!-- fragment_b.xml --> <View android:id="@+id/end_view" android:transitionName="end_container" />// FragmentB.kt override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) ... sharedElem

## Migrating to Material Components for Android

DevFeed: [Migrating to Material Components for Android](<https://devfeed.tech/articles/migrating-to-material-components-for-android-25991.md>)

Original publisher: [Read original article](<https://medium.com/androiddevelopers/migrating-to-material-components-for-android-ec6757795351?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2020-04-16T14:59:37Z

Content type: tutorial

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [material-components](<https://devfeed.tech/topics/material-components.md>), [Android](<https://devfeed.tech/topics/android.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [Jetpack](<https://devfeed.tech/topics/jetpack.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [android](<https://devfeed.tech/tags/android.md>), [android-10](<https://devfeed.tech/tags/android-10.md>), [android-jetpack](<https://devfeed.tech/tags/android-jetpack.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [background](<https://devfeed.tech/tags/background.md>), [button](<https://devfeed.tech/tags/button.md>), [components](<https://devfeed.tech/tags/components.md>), [dark-theme](<https://devfeed.tech/tags/dark-theme.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [design](<https://devfeed.tech/tags/design.md>), [developer-documentation](<https://devfeed.tech/tags/developer-documentation.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [material](<https://devfeed.tech/tags/material.md>), [material-components](<https://devfeed.tech/tags/material-components.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [material-theming](<https://devfeed.tech/tags/material-theming.md>), [migrate](<https://devfeed.tech/tags/migrate.md>), [migration](<https://devfeed.tech/tags/migration.md>), [refactor](<https://devfeed.tech/tags/refactor.md>), [widgets](<https://devfeed.tech/tags/widgets.md>)

### AI overview

Migrating to Material Components for Android requires moving to AndroidX, then updating Design Support Library packages, themes, styles, and widgets to their MDC equivalents. Android Studio's "Refactor > Migrate to AndroidX" can map the dependency to MDC 1.0.0; apps below Support Library 28.0.0 are advised to upgrade first. MDC 1.1.0 adds Material Theming, dark theme support, widgets, and other changes, but also changes default styling. The guide recommends adopting MDC styles and attributes for color, typography, and shape; older text-field styling can be restored if the new default does not fit. MDC widgets use MaterialShapeDrawable, so custom backgrounds can override shape theming. MaterialButton did not respect custom backgrounds before 1.2.0-alpha06; earlier versions can use AppCompatButton, while gradients remain an exception because MaterialShapeDrawable does not support them.

### Source excerpt

Illustration by Molly HensleyFrom Design Support Library 👉 MDC 1.0.0 👉 MDC 1.1.0 and beyond This article is also posted on the Material Design blog. We recently announced Material Design Components (MDC) 1.1.0 -- a library update that brings Material Theming, new widgets, dark theme support and other exciting features to your Android app. MDC replaces the Design Support Library. This guide will show you how to migrate your codebase so you can make use of the new attributes, styles, and widgets. If you're on MDC 1.0.0 this also provides the necessary migration steps to 1.1.0. Be sure to check out our corresponding video guide as well! https://medium.com/media/dc50384c37815c26247f879e8c76d769/hrefA simplified theming example This guide uses a simplified app to demonstrate the migration process. It uses an AppCompat theme, widgets from the Design Support Library (including a button with a custom background), and various other elements that require migration. We'll start with an app theme which uses the traditional AppCompat template: https://medium.com/media/23a6299512d5244e61f40df7ee9513a9/hrefExample app using AppCompat and the Design Support LibraryMigrating from the Support Library to Jetpack Before you can use MDC, you need to migrate from the Support Library to Android Jetpack. Jetpack uses the new androidx.* namespace and splits the previous Support Library packages into separately maintained, semantically versioned libraries, providing feature parity as well as new libraries. MDC is built with AndroidX libraries so migration is mandatory. To migrate to AndroidX, we recommend following the official developer documentation or watching the "Migrating to AndroidX: The time is right" talk from Android Dev Summit '19. The 'Refactor > Migrate to AndroidX' tool in Android Studio will refactor your Design Support Library dependency to MDC. Note: Jetpack and MDC artifacts with version 1.0.0 are binary compatible with the Support Library 28.0.0 artifacts. If you're not on

## Material Components for Android 1.1.0 is now available

DevFeed: [Material Components for Android 1.1.0 is now available](<https://devfeed.tech/articles/material-components-for-android-1-1-0-is-now-available-25993.md>)

Original publisher: [Read original article](<https://medium.com/google-design/material-design-components-for-android-1-1-0-are-now-available-45e1d576037c?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2020-02-12T18:20:44Z

Content type: release

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [material-components](<https://devfeed.tech/topics/material-components.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>), [Android](<https://devfeed.tech/topics/android.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [components](<https://devfeed.tech/tags/components.md>), [dark-theme](<https://devfeed.tech/tags/dark-theme.md>), [design](<https://devfeed.tech/tags/design.md>), [features](<https://devfeed.tech/tags/features.md>), [material](<https://devfeed.tech/tags/material.md>), [material-components](<https://devfeed.tech/tags/material-components.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [material-theming](<https://devfeed.tech/tags/material-theming.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [release](<https://devfeed.tech/tags/release.md>), [stable](<https://devfeed.tech/tags/stable.md>), [themes](<https://devfeed.tech/tags/themes.md>), [typography](<https://devfeed.tech/tags/typography.md>), [updates](<https://devfeed.tech/tags/updates.md>)

### AI overview

Material Components for Android 1.1.0 makes Material Theming and dark theme support available alongside new and restyled components, Android 10 gesture navigation handling, and accessibility improvements. Components can be themed for color, typography, and shape through themes, styles, attributes, and custom classes such as MaterialShapeDrawable. DayNight themes switch with device configuration; dark surfaces use dark grey by default, with elevation lightening and on-colors intended to support contrast. Relevant components apply WindowInsets-based padding or margins for gesture areas on Android 10 and above, with opt-out APIs. TalkBack improvements include clearer descriptions, focus behavior, and reading order. The excerpt says these features and prior alpha, beta, and release-candidate changes are now stable; it does not enumerate the new components.

### Source excerpt

Material Theming, new components, dark theme support, and more We're excited to announce the release of Material Components for Android (MDC-Android) 1.1.0! A host of exciting new features have been added along with many bug fixes and accessibility improvements. Get the rundown below. Be sure to check out the release notes. If you're using MDC for the first time, also take a look at our getting started guide. A brief background on MDC Material Components for Android (MDC) evolved from the Design Support Library. The initial 1.0.0 release was binary-equivalent with 28.0.0 and mainly served as the android.support.design to com.google.android.material namespace change. Since then, the Material Design specification has evolved. New principles, guidelines, and components have emerged to better represent brands while maintaining the core principles of Material. The purpose of MDC is to provide developers with a library that implements these components and guidelines in code. As guidelines continue to change over time, MDC will adapt and make updates to meet the latest specs. This library allows designers and developers to share a common system and build delightful experiences for their brand, faster. Take a look at our guide that helps you migrate your codebase from the Design Support Library to MDC: Migrating to Material Components for Android What's new in 1.1.0? A lot has changed in MDC since 1.0.0! The things you loved from the alpha, beta, and RC releases of 1.1.0 are now officially stable. If you haven't yet started using version 1.1.0 of MDC, there has never been a better time to migrate. Material Theming Material Theming allows you to customize Material Design to better reflect your brand. Color, typography and shape choices provide common properties between design and development enabling near-infinite design expression. MDC 1.1.0 enables Material Theming in your Android app. All components support adjusting their color, typography, and shape through themes, styl

## Hands-on with Material Components for Android: Selection Controls

DevFeed: [Hands-on with Material Components for Android: Selection Controls](<https://devfeed.tech/articles/hands-on-with-material-components-for-android-selection-controls-25995.md>)

Original publisher: [Read original article](<https://medium.com/over-engineering/hands-on-with-material-components-for-android-selection-controls-a2cf17ea4473?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2019-08-26T14:11:24Z

Content type: tutorial

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [material-components](<https://devfeed.tech/topics/material-components.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [api](<https://devfeed.tech/tags/api.md>), [material](<https://devfeed.tech/tags/material.md>), [material-components](<https://devfeed.tech/tags/material-components.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [material-theming](<https://devfeed.tech/tags/material-theming.md>), [selection](<https://devfeed.tech/tags/selection.md>)

### AI overview

The article explains how Material Components for Android selection controls behave and are configured. Radio buttons support single selection within a group, checkboxes allow multiple selections, and switches toggle between on and off. `MaterialRadioButton`, `MaterialCheckBox`, and `SwitchMaterial` can be added to a layout; all inherit `CompoundButton` check state, which can be set programmatically or monitored with a checked-change listener. `RadioGroup` specifically manages single-select radio buttons and provides APIs to check a child, read the checked ID, and listen for group changes. Theming covers color and label typography: colors default to `colorOnSurface` when unchecked and `colorControlActivated` when checked, with per-control overrides via a theme overlay or a custom tint after disabling material theme colors. Labels use the app theme's `fontFamily`, overridable with `android:textAppearance`. The article says these controls have no shape-theming adjustments. Some code samples are incomplete in the supplied excerpt.

### Source excerpt

Part 8 of a series covering practical usage of Material Components for Android This post will be covering the features and APIs of Radio Button, Checkbox and Switch components. To find out how to handle initial setup of Material Components for Android (including the Gradle dependency and creating an app theme), please see my original post: Setting up a Material Components theme for Android Selection Controls are small components for scenarios in which users need to select options or toggle settings. They are typically found on settings screens and dialogs. From a design perspective, there are three main types of selection controls which can be used in different scenarios: Radio Buttons: A circular control with two possible states; selected or unselected. Has single-select behavior when in a group of other radio buttons (i.e. Only one control can be selected at a time). Checkboxes: A square control with two possible states; checked or unchecked. Has multi-select behavior when in a group of other checkboxes (i.e. Multiple controls can be selected at a time). Switches: A control consisting of a thumb and a track. Has two possible states; on or off. Basic usage 🏁 A MaterialRadioButton, MaterialCheckBox or SwitchMaterial can be included in your layout like so: <LinearLayout ...> <com.google.android.material.radiobutton.MaterialRadioButton android:id="@+id/radioButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Radio Button" /> <com.google.android.material.checkbox.MaterialCheckBox android:id="@+id/checkbox" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Checkbox" /> <!-- Note: ID cannot be 'switch' as this is a Java keyword --> <com.google.android.material.switchmaterial.SwitchMaterial android:id="@+id/switchMaterial" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Switch" /> </LinearLayout>Setting and listening for checks 👂 All of the selection cont

## Hands-on with Material Components for Android: Dialogs

DevFeed: [Hands-on with Material Components for Android: Dialogs](<https://devfeed.tech/articles/hands-on-with-material-components-for-android-dialogs-25994.md>)

Original publisher: [Read original article](<https://medium.com/over-engineering/hands-on-with-material-components-for-android-dialogs-75c6d726f83a?source=rss-37290b859aca------2>)

Author: Nick Rout

Published: 2019-07-29T14:00:13Z

Content type: tutorial

Language: en

Sources: [Nick Rout](<https://devfeed.tech/sources/stories-by-nick-rout-on-medium.md>)

Topics: [material-components](<https://devfeed.tech/topics/material-components.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [UI/UX Design](<https://devfeed.tech/topics/ui-ux-design.md>)

Tags: [alert](<https://devfeed.tech/tags/alert.md>), [all](<https://devfeed.tech/tags/all.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [api](<https://devfeed.tech/tags/api.md>), [builder](<https://devfeed.tech/tags/builder.md>), [buttons](<https://devfeed.tech/tags/buttons.md>), [critical](<https://devfeed.tech/tags/critical.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [design](<https://devfeed.tech/tags/design.md>), [dialog](<https://devfeed.tech/tags/dialog.md>), [flow](<https://devfeed.tech/tags/flow.md>), [full](<https://devfeed.tech/tags/full.md>), [implement](<https://devfeed.tech/tags/implement.md>), [list](<https://devfeed.tech/tags/list.md>), [material-components](<https://devfeed.tech/tags/material-components.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [material-theming](<https://devfeed.tech/tags/material-theming.md>), [modal](<https://devfeed.tech/tags/modal.md>), [setup](<https://devfeed.tech/tags/setup.md>), [simple](<https://devfeed.tech/tags/simple.md>), [surface](<https://devfeed.tech/tags/surface.md>), [types](<https://devfeed.tech/tags/types.md>)

### AI overview

Material Components for Android provides alert, simple, and confirmation dialogs through `MaterialAlertDialogBuilder`. Alert dialogs interrupt for urgent information and actions; simple dialogs present immediately applied list actions without action buttons; confirmation dialogs present single- or multi-select choices with buttons to confirm. Dialogs obscure app content and should be used sparingly. A plain builder `.show()` call does not retain the dialog across configuration changes; wrapping a builder-created dialog in a `DialogFragment` supports that use case. Builder options include titles, supporting text, action buttons, icons, custom views, and list choices, though supporting text and list items cannot be combined in the middle area. Theme overlays can center the title and icon; dialog colors follow the app theme, while typography and background shape have specific styling attributes. Full-screen dialogs are outside the article's scope.

### Source excerpt

Part 7 of a series covering practical usage of Material Components for Android This post will be covering the features and API of Dialog components. To find out how to handle initial setup of Material Components for Android (including the Gradle dependency and creating an app theme), please see my original post: Setting up a Material Components theme for Android Dialogs are components, typically with modal windows, that are displayed in front of app content. They are used to inform users about a task that may contain critical information and/or require a decision. They purposefully interrupt the current flow and remain on screen until dismissed or action has been taken, so they should be used sparingly. From a design perspective, there are three main types of dialogs which can be used in different scenarios: Alert dialog: The simplest of dialogs, despite the name. Used to interrupt a user with urgent information that typically requires user action/confirmation. Characterized by a title, optional supporting text and action buttons. Simple dialog: Used to present the user with a list of actions that, when tapped, take immediate effect. Should not contain action buttons. Confirmation dialog: Used to present a list of single- or multi-select choices to a user. Action buttons serve to confirm the choice(s). All of the above share common characteristics: a background scrim that obscures app content (which can be optionally tapped to dismiss the dialog) and a surface container. Note: A fourth type exists: Full screen dialog. To implement this, the official documentation recommends using a DialogFragment along with resource qualifiers to determine how it is presented. This is outside the scope of this article and won't be covered. Basic usage 🏁 All of the aforementioned dialog types can be implemented using MaterialAlertDialogBuilder. This builder class configures and instantiates an AlertDialog with Material Design specifications and theming. The basic method of showing a