Detecting android device hardware back button / soft back button press is very easy. But be careful while overriding the default back button action as it is not suggested to change the android default user experience. Method:- 1 Override the onBackPressed() method and take the action inside this function.
How to capitalize every first letter of a word in Android EditText ?
If you want to capitalise the first letter of every word in a EditText, assign android:inputType=”textCapWords” to EditText. Example: The same can be done programmatically also as shown below.
Desktop Support Engineer Interview Questions
Explain the different types of operating systems? Provide a few examples of NOS (Network Operating Systems) and SOS(Server Operating Systems) What is the difference between NTFS and FAT What are the improvements you found in Windows 2003 from Windows 2000 What are the improvements you found in Windows 2003 from Windows NT Explain active directory […]