Incorporating Material Theming into Custom Views by Nick Rout · · 400 views · mDevCamp











Embed <div id="presentation-embed-38916547"></div> <script src='https://slideslive.com/embed_presentation.js'></script> <script> embed = new SlidesLiveEmbed('presentation-embed-38916547', { presentationId: '38916547', autoPlay: false, // change to true to autoplay the embedded presentation verticalEnabled: true }); </script>

Material Theming is a means of systematically customizing Material Design to better reflect your product’s brand. It allows for easy customization of core widgets in terms of three main subsystems - color, typography and shape - when using the Material Design tools and components. However, how would these subsystems be incorporated into custom components? This presentation will cover approaches to making Views responsive to Material Theming. This will include an intro to the capabilities of the Material Theme Editor and MDC-Android, support for new theme/style attributes and a deep dive into key MDC-Android classes such as MaterialShapeDrawable, ElevationOverlayProvider, RippleUtils and more.