Android Weekdays selection custom widget

Android offers a very good componentized model for building custom UI, based on the fundamental layout classes: View and ViewGroup. Some of the default widgets includes Button, TextView,EditText, ListView, CheckBox, RadioButton, Gallery, Spinner, etc. Few default available layouts are LinearLayout, FrameLayout, RelativeLayout. If none of these prebuilt widgets or layouts satisfy our business requirement, we can […]

person access_time April 28, 2016launch Read More

Android Material Design EditText with Floating Labels

If you have noticed in recent android applications, the EditText widget looks very pleasing. Hint text gives a floating animation when the EditText is focused. This has been introduced in Android Lollipop as part of Material Design concept. This has eliminated the need for a separate TextView which permanently holds some screen space to show […]

person access_time February 8, 2016launch Read More

Android Category Screen using ExpandableRelativeLayout

In this tutorial we are going to show how to create a category screen using ExpandableRelativeLayout. This expandable layout can be used inside ListView as list row item. Let us assume that our application includes a screen which has category selection. Every category will have some items. In this example we have added checkboxes for multiple item […]

person access_time February 4, 2016launch Read More

Disabling screen shot capture in Android application

In this tutorial we are going to show how to protect your application from screen shot capturing. Some applications might be having sensitive personal data (for example all banking applications), so as a developer we need to disable the option to take screen shot using DDMS console. See following steps : Use WindowManager.LayoutParams.FLAG_SECURE before setContentView() mehtod

person access_time June 18, 2015launch Read More