4. • TheMaterialThemeisDefinedasgiven:
• @android:style/Theme.Material(DarkVersion)
• @android:style/Theme.Material.Light(LightVersion)
• @android:style/Theme.Material.Light.DarkActionBar.
• TheMaterialThemeisavailableinLDeveloperPreviewOnly.
• If You are using Material Theme in your application you can customize
colorofdefaultThemeisbyusingThemeattribute.
• In Material Theme The System Widgets have new design and touch
feedbackanimations.
8. • Recycler View provides LinearLayoutManager . Which can shows the list
itemsineitherhorizontal orverticalfashion.
• If you want to create a custom layout. You need to extend the
RecyclerView.LayoutMangerclass.
• Adding andRemovingofAnimationstolistitemsareenabledbydefaultin
RecyclerView.
• If you want to customize the animations of list items you need to use
setAnimator method inRecyclerView.ItemAnimator class.
9. • CardView Extends The FrameLayout Class. The information shows in the
cardsareconsistentlookonanyapplication.
• CardViewwidgetcanhaveshadowsandroundedcorners.
• If you want to create a card with shadow effect. You can use
android:elevationattributein CardView.
• Someoftheproperitiesof CardVieware:
• android:cardCornorRadius
• CardView.setRadius
• android:cardBackgroundColor
10. • The elevation of a view Determines the shadow of that view. Views with
higerzvaluescastbiggershadows.
• Elevation is also used to crate animations where widgets rise temporarily
abovetheviewplane.
• The Z value for the view has two components, elevation and translation.
TheElevationisastaticcomponent. Thetranslationisusedinanimations.
• Thefollowingattributeshowstheshadowtoaview.
• android:elevation=“2dp”
11. • Animations in material design gives users feedback on actions and provide
visualcontinuityasinteractwithyourapp.
• Thematerialdesignprovidesomedefaultanimations.Thoseare:
• TouchFeedback
• RevelEffect
• ActivityTransactions
• CurvedMotion
• ViewStateChanges.