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 at this moment (in Jelly Bean).
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 becomes even more visible when highlighting a block of text. To fix this you can disable this […]
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 settings menu, and scroll down to and click “About phone.” Scroll down to the bottom […]
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 the OS: On Windows, %HOMEDRIVE%%HOMEPATH%\.VirtualBox\Machines\\Logs E.g. C:\Documents and Settings\Username\.VirtualBox\Machines\\Logs\vbox. log On Mac OS X, this […]