Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MDCのBottomAppBarのShadowの実現方法

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
HiroYUKI Seto
January 28, 2019

 MDCのBottomAppBarのShadowの実現方法

2019/1/28
potatotips #58

HiroYUKI Seto

January 28, 2019

Transcript

17 slides
  1. #PUUPN"QQ#BS࣮૷ EdgeTreatment topEdgeTreatment = new BottomAppBarTopEdgeTreatment(…); ShapeAppearanceModel appBarModel = materialShapeDrawable.getShapeAppearanceModel();

    appBarModel.setTopEdge(topEdgeTreatment); materialShapeDrawable.setShadowCompatibilityMode( SHADOW_COMPAT_MODE_ALWAYS); … ViewCompat. setBackground(this, materialShapeDrawable);

More Decks by HiroYUKI Seto

Other Decks in Technology