Border in shape XML

I am trying to make a drawable to use for a button. I would like it to have this coloring, with a 2px border around it. Everything works just fine except I cannot get the border to show up… <?xml version=”1.0″ encoding=”utf-8″?> <shape xmlns:android=”” android:shape=”rectangle” > <gradient android:startColor=”@color/bar_clicked_dark” android:endColor=”@color/bar_clicked_light” android:angle=”90″/> <corners android:bottomLeftRadius=”0dp” android:topLeftRadius=”15dp” android:bottomRightRadius=”15dp” android:topRightRadius=”0dp” … Read more

How to erase a part of a path without altering the stroke’s prior design in Illustrator?

I want to erase a part of a path while maintaining the stroke’s original look. My chosen stroke is the first one BELOW [Uniform]. I’m new and just a week in at illustrator. This is my very first logo design. I haven’t added the missing parts from the sketch though but it can wait. As … Read more

Expanding blended strokes in Illustrator

My question is different than this question. I have created a design with blended lines: And now I would like each of the intermediate steps between the two base strokes to become a stroke as well. “Flatten transparency” doesn’t work, because it only converts some lines, and it converts them to outlines so I have … Read more

maintaining stroke proportions along length of a curved path in Illustrator

I’m attempting in Illustrator to generate a series of images with 6 elements and to maintain their proportions along straight and curved paths. I have a path that represents a segment of an ellipse, and I’ve retrieved the length of the curved path from Document Info and calculated the length of each element in proportion … Read more

Illustrator: how to extend a point selection to the full stroke?

Is there a way to extend a point selection to its stroke ? I want to: select a point (magic shortcut ?) have the whole stroke selected Thanks ! Answer Yes, click the anchor point once to select it, then ALT+Click the same point again, to select the entire path. AttributionSource : Link , Question … Read more

Photoshop CS6: Pen/Custom Shape Fill & Stroke Color Options are Locked?

I’m new to Photoshop, and am teaching myself. In playing with the pen and custom shape tool I’ve noticed that the Fill and Stroke settings for “Shape” appear to be locked. I cannot click to change them and don’t get any kind of drop down like in other tools. I’ve tried making sure I’m on … Read more

Stroke adding size to an object

I know this happens in indesign where i would create a 3″x3″ object and when i add a stroke it becomes 3.0139×3.0139. I know the shape is still the same, but is there a way i can disable this and have it still read 3×3? Answer In Transform or control panel in context menu there’s … Read more