Default Text Label in Textbox using JavaScript/jQuery. Textbox Label
Nowadays, it has became a common practice to give user labels on fields that they are editing. For example, if you see Google’s custom search textbox in any website, most of them will have a Google’s...
View ArticleHow to set default activity for Android application
In Android, you can configure the starting activity (default activity) of your application via following “intent-filter” in “AndroidManifest.xml“. See following code snippet to configure a activity...
View ArticleStruts 2 Override Default Theme. Struts 2 Theme tutorial
Recently I came up with a requirement in Struts 2 to display a particular form with some style and alignment. While creating the form the developer had used Struts 2′s taglib /struts-tags to paint the...
View ArticleCode4ReferenceHow to find Android default screen orientation
Recently while developing my personal project, I had a requirement to find the default screen orientation of device. Tablet default screen orientation is landscape whereas Mobile phone default screen...
View Article