Jquery.scrolling: check HTML elements visibility in Viewport after a page scroll or resize

Jquery.scrolling: check HTML elements visibility in Viewport after a page scroll or resize

With responsive design and adaptive layouts constantly increasing their audience, the importance of controlling the visibility of HTML elements inside the viewport is continuosly increasing. Unfortunately, neither javascript nor the popular jquery frameworks provide a native way to …

Jquery.scrolling: check HTML elements visibility in Viewport after a page scroll or resize Read More

Android Studio: customize the "back to parent" ActionBar icon image (homeAsUpIndicator)

Like you probably already know, the ActionBar of an Android App can be set to allow backwards navigation from a child Activity to its parent, assuming that the relationship has been properly configured in the AndroidManifest.xml …

Android Studio: customize the "back to parent" ActionBar icon image (homeAsUpIndicator) Read More

Android: proportionally stretch an ImageView to fit the whole screen width while maintaining its aspect ratio

Proportional image resizing is a fairly common scenario while developing an Android app: there are a number of situations where you might want an image to stretch itself to horizontally fit …

Android: proportionally stretch an ImageView to fit the whole screen width while maintaining its aspect ratio Read More

CSS namespaces: how to avoid conflict between style sheets files

The increasing need for speed in developing responsive, mobile-friendly websites recently shifted more and more web developers towards the use of some advanced  CSS-based framework and/or boilerplate like Bootstrap, Foundation, Gumby, YAML, Skeleton and many others. Each one of them offers …

CSS namespaces: how to avoid conflict between style sheets files Read More