In Android, there are two constants for providing height and width of any view. But if you provide any specific height to any view, it won’t be change until you change it dynamically or statically in layout file.
What if you want to provide MAX height to any view? Max height means, your view must not exceed the limit of provided height.
When we are doing some important operation or work on activity and it may possible that by mistake we pressed “back” button. Then what?? This will simply stop all your important work and you are redirect to previous activity.
Android 5.1 is released! Android 5.1 as API level 22 (LOLLIPOP_MR1) is an update to the Lollipop release that offers new features for users and app developers. Lets take a look at whats new added or deprecated in API level 22. What’s new for developers?
LOLLIPOP_MR1 is Lollipop with an extra sugar coating on the outside!
If you are using NFC (Near Field Communication) Mifare in your application, you should be careful while using NFC Mifare UID
(Unique IDentification also know as Card Serial Number) of NFC card.
When I read this question http://stackoverflow.com/questions/8974088/how-to-create-a-resizable-rectangle-with-user-touch-events-on-android on StackOverFlow, I tried to develop a custom control overlay which behaves like it.
Read this article to make your own resizable rectangle overlay on touch in Android. This will help you in Image or map application.
Download Source : https://github.com/rathodchintan/rectangle-overlay