Android Bottom Sheet Tutorial with Example in Kotlin

Android Bottom Sheet is a component that slides up from the bottom to up in an application. For example, when you have a video to share and you click on the Share button, it will open a one slider from bottom, which contains available apps in your device. Sometimes it can also have a menu option. Read More…


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 pair and provides simple methods to read and write data. It can be private or shared. SharedPreferences usually use to 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 on screen and information (label) can be longer. In this tutorial Read More…


Android Spinner with Example in Kotlin

Android Spinner provides an option set, where the user can select any one of the options. Like a list of cities, in this case, a user can select the city. The advantage of Spinner is giving more option lists in less space. The Default state of the spinner is shown currently selected value. The user has 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 examples of use On/Off – Volume, Wifi, Bluetooth, etc. Since Android 4.0, Android introduces another type of toggle button called switch, which 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 given a choice to users to select an option. It can be shown side by side or in other ways but it takes space on the screen. Another option is use spinner, if there is so many (like 4-30 or more) option and space on the screen are less. Radio Buttons are Read More…


Android CheckBox and Example in Kotlin

Android CheckBox is used for the android application user interface, where the user can select any one or more options. Checkbox example is the 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 the CheckBox class. Read More…


Android TextView and setText Dynamically example in Kotlin

Android TextView is a user interface element that shows the text (label) to users in the application. You can change TextView dynamically (programmatically). View class is the parent class of the 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 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. The button widget comes with default design and color schema but you can change its color, design, size, etc according Read More…


Android ConstraintLayout and example in kotlin

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