SynchroLabs / SynchroServer

The Synchro Server platform
https://synchro.io
1 stars 2 forks source link

Bundled toolbar icons #46

Closed BobDickinson closed 8 years ago

BobDickinson commented 8 years ago

We bundle a set of actionBar images for Android, which can be referenced by the Android actionBar.item and actionBar.toggle controls. The icon attribute of these controls resolves to resources that we bundle, with names in the form: ic_action_xxxx.

I'm not sure where these came from (I can't find any list of these online anywhere). This leads me to wonder if the set of icons we are bundling is sensible (or contemporary).

At any rate, right now the set of bundled icons is not documented in the relevant Synchro API docs - https://support.synchro.io/hc/en-us/articles/205273908-Android-ActionBar-Controls

At some point we should figure out the right stuff to bundle and document it.

BobDickinson commented 8 years ago

I think the correct answer here is probably to bundle the Google "Material Design" icon set (the current hotness):

https://design.google.com/icons/index.html

https://github.com/google/material-design-icons/

http://google.github.io/material-design-icons/

They also provide iOS icons and web icons (PNG, SVG, and even an icon font).

This gets me thinking that maybe we should use this icon set across all platforms. On iOS you would still have the native "system" icons, but we could replace the 3rd party add-on icons that we currently bundle there with the material design set. On Windows, you'd probably still want access to the native icons (from the Windows Segoe icon font), but it would be nice to be able to reference the material design icons also (by bundling the material design font).

The thing that gets me really excited about this is that I think this means we could make a cross-platform toolbar now that would work most of the time (still letting the user fall-back to the native tool-bar to do something platform specific as needed). And we could add web toolbar support as part of this.

The material design icons seem to be in black and white (a black version and a while version), so not sure if we need to do some "tinting" on iOS to make them look right.

bcr commented 8 years ago
Blakes-MacBook-Pro:SynchroClientAndroid blake$ ls -al ~/Downloads/material-design-icons-2.0.0.zip 
-rw-r-----@ 1 blake  staff  54003444 Nov  9  2015 /Users/blake/Downloads/material-design-icons-2.0.0.zip

SynchroLabs/SynchroClientAndroid@2005dbbc7ccf9db91d883ea705f5b3d8406f5df3

Indeed, the Material Design are the icons currently installed for Android, and the intent was for those to be used everywhere else.

BobDickinson commented 8 years ago

Material Design now available on all platforms.