Hot answers tagged

23

After trying a bunch of Windows applications, I haven't found anything equivalent to Sketch for Windows. And no, Illustrator and such are NOT Sketch alternatives. Fireworks is probably the closest, and it's no longer supported by Adobe. It seems that they are now creating a copy "heavily inspired by Sketch" app: Project Comet. We'll see how it goes,...


23

Designing at 100% scale just means designing at the size (in pixels) that you will be displaying/outputing your icon at. If you are designing a 24px × 24px icon, you set up your artboard in Illustrator or document in Photoshop or whatever else you are using to 24px × 24px. As quoted from the Material Design guide, this is for pixel accuracy. If you work at ...


18

They're familiar. Designers tend to use Macs, so when they want to put a mockup on a screen, it's the first that would come to mind. They're popular. Sure, Windows has more market share. But can you name a single model of PC that's super popular? What about an all-in-one desktop? What about an external monitor? They're good-looking. Macs have a reputation ...


17

There are some different ways you can handle this. Don't place vital content below the button This is the most obvious approach, and probably the most general. Whenever possible, structure your design to make sure that nothing vital is below the action button like other buttons, main content, etc. You can add extra space by using padding or a blank entry,...


15

I think the accepted is wrong. The css px is actually Device Independent Pixel(dip), and it is a common pattern to use px as dp in css.


14

Some other valid options for 2017: Gravit Designer: This is a very young product and as such it's still lacking many features, but for now it's a good vector editor, and the roadmap promises a lot more: symbols, sketch import, prototyping, etc. It's great advantage as of now, is that it's free! It's available for Mac, windows, linux, and even online. Edit:...


13

2018 update: Lunacy — reads and saves .sketch files (native Windows app, free) Figma — reads .sketch files (browser-based, freemium) Disclosure: I'm one of the authors of Lunacy. I have no relation to Figma.


10

You can do this really easily in CS6 or later by applying a gradient to a stroke with a rounded end cap. I've circled the relevant appearance settings below: Older versions of Illustrator do not have the ability to apply gradients to strokes. If you don't have CS6+, you can an art brush instead. Follow the same technique described here (replace the straight ...


9

May be a bit simplistic and not the most elegant solution, but: add an empty 'dummy' entry to the end of the list, so the user can scroll further than the last entry.


8

I have an app called Slide that's meant to be used as a graphic tablet. It now connects over USB or WiFi. Website: http://www.slide-app.com/ Google Play: https://play.google.com/store/apps/details?id=com.j03.mobileinput Free Version: https://play.google.com/store/apps/details?id=com.loren.slide


8

I believe the full answer to your question can be found here: https://stackoverflow.com/questions/2025282/difference-between-px-dp-dip-and-sp-in-android To convert dp to px you need to take account of the display dimensions you are addressing to. The greater the DPI, the more pixels you'll have to cram in the same area to make it look good and to avoid ...


8

While the other answers are accurate, the real explanation is far easier: They're standardized. What's a windows laptop look like? What's an android phone look like? What's an Apple laptop look like? What's an iPhone look like? There you have it, two of those you could visualize, two you couldn't. You might have ideas about the Windows and Android look ...


7

I don't think this is referenced directly, but if you look at at the color section there's this paragraph that mentions the status bar vs toolbar: To create contrast between elements, you can use lighter or darker tones of your primary color. The contrast between lighter and darker tones helps show division between surfaces, such as between the status ...


6

Search around for "mockup template". There are some free ones out there, and some paid. These allow you to easily create a realistic mockup using whatever artwork you desire. Here's one good resource: http://www.pixeden.com/psd-mock-up-templates Related question: How can I take an iPad psd file and put an image inside it?.


6

Not all displays are equal. This is a problem in the desktop world, too. I got shiny new monitors last year, and looking at some of my old work now emphasizes just how poorly calibrated my monitors were at the time. My advice is to just accept it as something you can't control and ensure that there is sufficient contrast between your colors so that it ...


6

This is called a ligature. The tend to be very subtle, like the ones used for te ff, fi and ffl combinations. This one is... less so. You can deactivate ligatures (all of them) using -webkit-font-variant-ligatures: no-common-ligatures;, but that will also get rid of the (useful) other ligatures. You might want to check out this StackOverflow question on ...


6

Solution Save as a "Plain SVG" in Inkscape. Note: As of Inkscape 0.91, if you save as "Plain SVG" and then just do a normal "Save", it will save again as an Inkscape SVG. So you'll need to do save and explicitly select plain SVG each time. Related question about SVG-to-VectorDrawable conversion: Inkscape export XML for Android ...


5

I've usually used this tool for this very purpose : http://placeit.breezi.com/.


5

The Android Developers link is a bit confusing because it mentions DPI, but you shouldn't be worrying about that. DPI is important for the devices, but it's not necessary for designing the icons (I don't normally use Gimp so I don't know if it has an automatic way of preparing files for different resolutions, but I'll assume you want to do it manually and ...


5

The transparency is not excluded. I mean, the transparency does exist where it should ( between the blue color blocks ). The image is just trimmed to get rid of that extra blank space that you don't normally need. It does kinda look like you are trying to export all contents within the document, in which case I might recommend Save For Web... like @Nomadme ...


5

This a tough one, as Sketch is pretty amazing. Photoshop is currently adding in Sketch-like features, trying to catch up. And Adobe is also, as previously mentioned, now pushing their new Adobe Experience Design app. But, it's Mac only for now. I'd look at signing up for Affinity Designer's Windows beta. (Currently Mac only but just recently revealed that ...


4

W3C says: The px unit thus shields you from having to know the resolution of the device. Whether the output is 96 dpi, 100 dpi, 220 dpi or 1800 dpi, a length expressed as a whole number of px always looks good and very similar across all devices (...) And altough it says: To get an idea of the appearance of a px, imagine a CRT computer monitor from ...


4

You could try Macaw it's for both windows and Macintosh. It also has a feature to generate mark-up from your designs so you can do responsive design very easily.


4

If I remember correctly (no guarantees there), Google doesn't just use scaled versions of their icons, but responsive icons. Meaning they optimize their icons for each size. So in your case, you could adapt the top edge for each size before exporting. For example, you could make the top edge 1px in the smallest sizes, 4px in medium sizes, and 6px in the ...


4

This works for me. Add bottom padding to RecyclerView <android.support.v7.widget.RecyclerView android:id="@+id/my_recycler_view" android:layout_width="match_parent" android:layout_height="match_parent" android:clipToPadding="false" android:paddingBottom="30dp" android:scrollbars="vertical"/> Ref: https://stackoverflow.com/questions/27768495/not-...


4

There are two easy ways: Use the Color Guide palette. Open the Color Guide options to control the number of steps and variation between steps. There is a script called "Add Highlight And Shadow Swatches" that does exactly that. You'd need to adjust the values manually in the script, though.


4

It's often a hard job to sync to a client's taste so what I will give you is a tool that will help you make things a loooooot easier: The color tool allows you to set a primary color (in your case #031740) and then go through a predefined list of secondary colors and show you a fast preview of what it will look like. You simply need to set up a meeting with ...


3

As suggested by horatio we changed the off state of the button to be in the base layer. The button was changed to have no off state, and just an over state and it now degrades gracefully on touch based devices. That said, a lot of PDF readers built in to browsers, like the one in Chrome, will "helpfully" highlight buttons in a PDF, meaning that there is a ...


3

I copied the file to my server, viewed the hex data for the first 512 bytes and noted that the first two bytes are ascii II which I recognized from previous experience as the intel byte-order flag for TIFF. I gave it a TIFF extension and my desktop OS created a preview thumbnail automatically which matched the contents of the sketch. So: it is a TIFF file ...


3

i am getting same result in 72 itself That's because PPI settings in PhotoShop really only are applicable to printing the file on paper from software that reads the PPI meta data in the PSD. In other words, it does't matter at all what you set the PPI to in PhotoShop when working with screen-based graphics. All that matters is the pixel dimensions of the ...


Only top voted, non community-wiki answers of a minimum length are eligible