Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Searching for a "PaintCode" for android [closed]

Are there any vector drawing applications that generate native code for both iOS and Android? I'd like a tool for making UI Controls and Buttons for both iOS and Android (in Xamarin). I can make great dynamic objects with PaintCode for iOS, but then for the Android version I'd have to recreate it with some other tool for Android so I'm basically doing everything twice. I'd love to find a way to create some dynamic controls/buttons that can be used in both Xamarin iOS & Xamarin Android.

like image 307
LampShade Avatar asked Feb 05 '15 16:02

LampShade


2 Answers

The new version of PaintCode (version 3, as of November 2016) now exports Android compatible code.

like image 115
Albuquerque Avatar answered Sep 29 '22 08:09

Albuquerque


One common approach by many organisations (including mine) to deal with cross platform design is to use icon fonts.

The way it works is

  • create a SVG version of your icon/design
  • create a custom font with the svg/vector icon as a unicode character

The advantage:

  • It works with great many platforms, including android, ios, windows phone as well as the web.
  • icons are vector, hence scalable

the disadvantages:

  • icons cannot have gradients
  • icons cannot have multiple colors (can be solved by composing icon into multiple svg components and layering them in code)
like image 31
Kalyan02 Avatar answered Sep 29 '22 09:09

Kalyan02