Monthly Archives: January 2013

Android TextView Strike

To make a strike in your TextView in Android use the setPaintFlags like this: TextView tv=(TextView) v.findViewById(android.R.id.text1); tv.setPaintFlags(tv.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); If you’re using Html.fromHtml to set the text you can’t unfortunately use the <strike> as this is not supported for Android

Posted in Android, Tips and Tricks Tagged with: , ,

Eclipse XML Layout Text Editor Broken

When editing xml layout file for Android in Eclipse you might encounter the xml being wrong, flipping and broken. When changing tabs between the graphical layout and the xml file, the lines of code will start disappearing or moving around. It

Posted in Android, ErrorFix Tagged with: , ,

Android 4.2 Enable Developer Options

Developer Options is gone, almost. It’s not just on Nexus 7 or Galaxy Nexus. Google has hidden the developer settings in the latest version of Jelly Bean, 4.2 for some reason. You can however easily enable it again. Go to the

Posted in Android, ErrorFix Tagged with: ,

VirtualBox Log Files Location

VirtualBox log files is one of the great tools to diagnose an issue in your VirtualBox. It will always create a log file which reflects the lifecycle of your virtual machine. VirtualBox log files is located in user/per-vm directory. Depending on

Posted in Linux, Mac, Tips and Tricks, Windows Tagged with: ,