Android SharedPreferences – Save Key Value​ data example in kotlin

Android SharedPreferences is store key-value (String, Integer, Boolean, etc) Paris data. SharedPreferences object points to a file holding a key-value pairs and provides simple methods to read and write data. It can be private or shared. SharedPreferences usually use for save a setting preference (push notification, alert, the default setting of the app, etc) or manage a login Read More…


Android Tooltips – User Interface example in Kotlin

Android Tooltips is a hint to the user about a particular button or another view element. It shows the small pop message to a user on long-press the view or hovers their mouse on it. It’s useful because sometimes the only icon can adjust in screen and information (label) can be longer. This tutorial example, Read More…



Android ToggleButton with Example in Kotlin

Android ToggleButton uses at User Interface, where the user has can change the setting between two states. Some example of use On/Off – Volume, Wifi, Bluetooth, etc. Since Android 4.0, Android introduces another type of toggle button called switch, that provides slider control. Android ToggleButton and Switch are the subclasses of CompoundButton class. Android ToggleButton Attributes Here are Read More…


Android RadioButton & RadioGroup with Example in Kotlin

Android RadioButton is give a choice to user select an option. It can be show side by side or others ways but its take a space in screen. Other option is use spinner, if there is so many (like 4-30 or more) option and space on screen is less. Radio Buttons are mutually exclusive ( One Read More…


Android CheckBox and Example in Kotlin

Android CheckBox is used for android application user interface, where the user can select any one or more than options. Checkbox example is food ordering android app, where the user can select multiple food options. Checkbox control has both option select or deselect (checked and unchecked) option. CompoundButton class is the parent class of CheckBox class. You can Read More…


Android TextView and setText Dynamically example in Kotlin

Android TextView is a user interface element show text (label) to users in the application. You can change TextView dynamically (programmatically). View class is the parent class of android.widget.TextView. TextView can Create by declaring it inside a layout XML file or by instantiating it programmatically. Android TextView Attributes Here we are explaining the some attribute of TextView. android:id Read More…


Android Button Example [OnClick|Color|Design] in Kotlin

Android Button widget is the most important UI element in the Android app. You can perform Operations by button click like send Email, Message, WhatsApp, etc all this want action where Button is doing same. Button widget comes with default design and color schema but you can change its color, design, size, etc according to Read More…


Android ConstraintLayout and example in kotlin

Android ConstraintLayout is added in Android to overcome the issues of existing layout. Its provide a Flat view hierarchy , exactly no more nested views (inside RelativeLayout many layout or LinearLayout etc). Using ConstraintLayout will increase your android application performance. Its similar to RelativeLayout where views are relatively positioned in UI. Attributes of Android ConstraintLayout : Here are Read More…


Android TableLayout Tutorial with Example kotlin

Android TableLayout is provided row and column to manage UI data. You can manage your data in tabular format. Like you have a list of student in SQLite database and you want to show this data. Important point is that TableLayout doesn’t display border lines on rows and Each row can have zero or more cells. Read More…