FloatingActionButton icon indicating copy to clipboard operation
FloatingActionButton copied to clipboard

How are the shadow.png assets generated?

Open clocksmith opened this issue 10 years ago • 2 comments

Their generation is not part of the src (or I can not find it). I would like to know because I am interested in generating some other basic shadows from simple borders.

clocksmith avatar Feb 13 '15 04:02 clocksmith

Shadow is a static image asset (you can find it in the drawable resources folder.). It's not generated in the runtime.

makovkastar avatar Feb 18 '15 12:02 makovkastar

Thanks. I see the static image asset. My question is "How can I duplicate this resource on my own" Example: Open photoshop, create circle, apply drop shadow, etc.

I would like to know so that I can create consistent shadows that look the same as the one provided in this FAB. Android 5.0 z value and elevation does no suffice since I need to target pre 5.0. Thanks

clocksmith avatar Feb 18 '15 20:02 clocksmith