Questions tagged [dropshadow]
361 questions
24
votes
2 answers
Android XML: Drop shadow cut off
I have a relative layout with a margin and a floating action button that is nested inside this layout.

Vancore
- 657
- 1
- 9
- 18
24
votes
3 answers
UIView with rounded rectangle and drop shadow: shadow appears above rectangle
I've got a uiview subclass where I'm trying to draw a rounded rectangle with a drop shadow. Though it draws both elements, I can see shadow through the rounded rectangle fill. I'm new to CG so I'm probably missing something simple (though it…

Martin
- 1,570
- 3
- 19
- 32
23
votes
4 answers
iOS : How to add drop shadow and stroke shadow on UIView?
I want to add drop shadow and stroke shadow on UIView
This is what my designer given me to apply shadow,
For drop shadow, he told me to use RGB(176,199,226) with 90% opacity, distance-3 and size-5
For stroke shadow, he told to apply,…

Hemang
- 26,840
- 19
- 119
- 186
22
votes
1 answer
Adding a drop shadow to NSString text in a drawRect: method without using UILabel
I'd like to add a drop shadow to text drawn using the iOS supplied NSString (UIStringDrawing) category method:
- (CGSize)drawAtPoint:(CGPoint)point forWidth:(CGFloat)width
withFont:(UIFont *)font minFontSize:(CGFloat)minFontSize
…

idStar
- 10,674
- 9
- 54
- 57
20
votes
3 answers
Win32: How to make drop shadow honor non-rectangular Layered window?
i've created a layered window by adding the the WS_EX_LAYERED extended style:
wndClass.ExStyle = wndClass.ExStyle | WS_EX_LAYERED;
Windows will use black as the chroma key color value. i'm going to leave a large border of black to make the problem…

Ian Boyd
- 246,734
- 253
- 869
- 1,219
18
votes
2 answers
Making a with a drop shadow only on the left and right sides
My goal is to add a drop shadow to the left and to the right side of a #container div, which is 960px wide.
The #container itself contains a header, a nav menu, main content, sidebar, and foot. But the header itself juts out of the #container with a…
Chopper
- 181
- 1
- 1
- 3
My goal is to add a drop shadow to the left and to the right side of a #container div, which is 960px wide.
The #container itself contains a header, a nav menu, main content, sidebar, and foot. But the header itself juts out of the #container with a…

Chopper
- 181
- 1
- 1
- 3
17
votes
7 answers
Remove action bar shadow programmatically
How can i remove the drop shadow of action bar from java code ?.
If i remove from the style it is working fine.