I have two problems about Google material icons:
How can I align google material icons to the left or right side?
How can I put Google material icons front of any text in a side menu?
Related
Please see this image. On responsive website, the Side menu and Home icons some times shows as Imoji's. The icons used are from Icons library : font-family: feather
See the screenshot of the situation in attached in image
Normally icon fonts are still accessible by letters, find the appropriate letter and set the button text and font.
let button = UIButton(frame: CGRect.zero)
button.titleLabel?.font = UIFont(name: "feather", size: 50.0)
button.setTitle("A", for: .normal)
I have an app which has multiple themes, some of them are "light" themes and some are "dark".
In my actionbar I have mutiple icons, which I've downloaded as PNGs from Google's material icons website.
Questions:
How do I change them to be black/white according to the theme?
If the answer is to use vectors, how still do I make them change color? Would vector icons affect performance?
My website truptidesale.com has animation which is created using three.js on canvas. i have given background image to canvas and made position as absolute and z-index -1 so that my navigation bar will be on top of canvas. This works very well on my desktop but website does not scroll or cant click on navigation bar when i access website on iphone or android phone.
can somebody please help me to make this work on mobile? Thank you so much.
I'm developing a universal app. I have a list of icons in the manifest. The icon on the taskbar is fine, transparency works.
The start menu icon doesn't have transparent edges.
No edges.
The list of icons that I have.
How would I make the edges transparent? Should I add any other icons?
This is by design as the background (behind the tile itself) may be colored quite differently. In the start menu, there's a dark background whereas there's a white background in the Cortana search. Maybe try sending MS your wishes via the feedback app :)
Seems like that it's by design, as you can see, default Windows Apps behave the same too, even those which use transparent color for their logo (like Calculator, Mail, etc).
However, If you set background color of logo and tile to "transparent" (in app manifest) your app icon may get displayed in start menu with transparent background in some circumstances like when Windows is in hight contrast theme.
I have seen this question/answer:
How do you draw text on a <canvas> tag in Safari
But I looking for how to do it on an iphone. Does the iphone support it already?
Also, it'd be nice to see a web page that discusses what the current iphone os/browser supports regarding canvas, html 5 and other related web tech.
Apple has an introduction at Safari Reference - Using Canvas and more details in the DOM Reference.
In general, the iphone canvas support is excellent and very useful.
EXCEPT for the missing text rendering, which I have heard will be available in a future OS upgrade.
While waiting, you can use Jim Studt's Canvas Text Function to display simple text on the Canvas.
For an example of how it looks, check out the Night Sky iPhone webapp which draws lines, text and images on the Canvas as well as saving and loading it from localStorage.