[go: nahoru, domu]

Skip to content

JohnnyKei/STKMaterialCardView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

STKMaterialCardView

I made a CardView which has zDepth.

Thanks to reference(Japanese), I could make shadow.

#Usage Choose ZDepth from 5 type

typedef enum{      
    MaterialZDepth1 = 1,
    MaterialZDepth2,           
    MaterialZDepth3,           
    MaterialZDepth4,           
    MaterialZDepth5,           
}MaterialZDepth;

Use like this

cardView.zDepth = MaterialZDepth1;

cardView.zDepth = (MaterialZDepth)sender.tag;

Image

About

Material Design Card

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published