Switch between activities with custom activity transition animations.Ĭreate more natural animations with curved motion.Īnimate changes in one or more view properties with view state change animations. Hide and show views with circular reveal animations. Respond to touch events in your views with touch feedback animations. The new animation APIs let you create custom animations for touch feedback in UI controls,Ĭhanges in view state, and activity transitions. For more information, seeįor information about adding elevation to other views, You can use the CardView widget to create cards withĪ default elevation. Helps you display important pieces of information inside cards that provide a material look. The drawing order: views with higher Z values appear on top of other views.Įlevation is often applied when your layout includes a card-based layout, which.The size of the shadow: views with higher Z values cast bigger shadows.This new property represents the elevation of a view, which determines: In addition to the X and Y properties, views in Android have a Z
You can also import SVG icons from the material icon library with See Material Design Icons for a list ofĪvailable icons. Navigation "menu" button for your navigation drawer should use the standard "hamburger" Use one of many other material components for your app layout and navigation, suchĪs collapsing toolbars, tabs, a bottom nav bar, and more.Īnd whenever possible, use predefined material icons.Show and hide your app's navigation with the Navigation Drawer.Show your brand, navigation, search, and other actions with the App Bar.Promote your UI's main action with a Floating Action Button (FAB).To provide your users a familiar experience, use material's most common UX patterns: