Mac Show Image Dimension

Mac does not display file information by default. You can change this so it will show the image dimension in Finder, Windows and Desktop. In Finder go to the menu View -> Show View Option or press Cmd + J. Select “Show Item Info”, remember to check “Use as Defaults” which will make all folders

Read More

Android SetTextSize From Dimen

Setting the TextSize of your TextView from a dimension resource might not work at first. When setting make sure to use the getResource()  text.setTextSize(getResources().getDimension(R.dimen.textsize)); dimens.xml <?xml version=”1.0″ encoding=”utf-8″?> <resources> <dimen name=”textsize”>24sp</dimen> </resources>