Tuesday, June 22, 2021

Theme attribute all the thingsIn the previous posts in this series on Android styling, we looked at the difference between themes and styles and why it’s a good idea to factor...

Theme attribute all the thingsIn the previous posts in this series on Android styling, we looked at the difference between themes and styles and why it’s a good idea to factor...

?attr/shapeAppearanceSmallComponent used for Buttons, Chips, Text Fields etc. Defaults to rounded 4dp corners.?attr/shapeAppearanceMediumComponent used for Cards, Dialogs, Date Pickers etc. Defaults to rounded 4dp corners.?attr/shapeAppearanceLargeComponent used for Bottom Sheets etc. Defaults...

Can you use MotionLayout to create dynamic animations of data? That’s any data you don’t know about at compile time — like user input. Yes! Absolutely. You can use the MotionLayout...

The Android styling system offers a powerful way to specify your app’s visual design, but it can be easy to misuse. Proper use of it can make themes and styles easier...

Moving where we handle insets to where our views live, layout filesIf you’ve watched my Becoming a Master Window Fitter talk, you’ll know that handling window insets can be complex. Recently...

Over the past two years, I have regularly come across articles and libraries that attempt to improve how underline text decorations are rendered on the web. The same problem exist on...

One of my favorite additions is TextViews being replaced with MaterialTextViews which add support for specifying line heights in TextAppearances. Handy.As well as adding to existing widgets, MDC offers a number...

In previous articles in this series on Android styling, we’ve looked at the difference between styles and themes, talked about the benefits of using themes and theme attributes and highlighted some...

Type theming on Android using the MDC libraryThis article is also posted on the Material Design blog.Material Theming is a way to customize Material Components to align with your brand. A...
- Advertisement -

LATEST NEWS

MUST READ