Android Grouped Stacked Bar Chart Using MpChart Kotlin

In this tutorial we will use popular Chart library for Android (MpAndroidChart). We will use BarChart View from MpChart Library. We will write code which will result in below Graph. Android Grouped and Stacked BarChart using MpChart Example Steps: Add Bar Chart View in XML Layout File.Prepare X-Axis values and Labels for Chart Data.Grouping –  […]

Android Expandable Listview Tutorial Kotlin

Introduction: ExpandableListView in Android is a View which is vertically scroll-able like normal ListView but it can have child items for each List Item. Child items in Expandable List View can be collapsed or expanded on clicking. Add ExpandableListView in XML Layout file <android.support.constraint.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android”xmlns:app=”http://schemas.android.com/apk/res-auto”android:layout_width=”match_parent”android:layout_height=”match_parent”><ExpandableListViewandroid:id=”@+id/rvFaqs”android:layout_width=”match_parent”android:layout_height=”0dp”android:layout_marginTop=”16dp”android:groupIndicator=”@null”app:layout_constraintBottom_toBottomOf=”parent”app:layout_constraintStart_toStartOf=”parent”app:layout_constraintTop_toTopOf=”parent”/></android.support.constraint.ConstraintLayout> Add XML Layout file for ExpandableListView parent Item Our Parent […]

Android App Language Change Localization Programatically kotlin Example

Introduction This tutorial will explain you how to change your application language at run time (programatically). In certain cases your Android Application is supposed to support multiple languages for example English, Arabic, French. This concept is known as Localization. Developer design app layout in such a way that layout support Right to Left (rtl) support […]

Right way of using vector drawables in Android Studio

In this tutorial I will guide you on How to import Vector Assets and Drawables in your Android application. I will also cover how to give support for devices which do not support vector assets using AppCompat library. Importing Vector Asset using Android Studio In case of Vector Assets You do not directly copy paste […]

Custom Spinner with ImageView and TextView in Android Kotlin Tutorial

In this tutorial, We will implement Custom Spinner Adapter using Kotlin. We will use Base Adapter class and custom layout for spinner adapter item. We will display spinner item with ImageView and TextView. We will also cover: Spinner on item select listener. Adding hint in spinner (Add first item in spinner as Hint and change […]

Android Implementing Full Screen Activity Splash Screen in Kotlin Tutorial

I this tutorial, I will teach you how to add Full-Screen Splash Activity in Android app using Kotlin. Declare Launcher Activity: Create new Activity and name SplashActivity And mark it as LAUNCHER Activity in the Manifest. so whenever user will click on your application icon from home or from the menu this activity will be launched. […]

Why Android App Developers Should Use Open-Source and Closed OSs

Many battle lines have been drawn in the fight between the two most ubiquitous smartphones on the planet: the iPhone and the Samsung Galaxy lines. However, war has always been a messy business, which means that some of the battle lines may not make sense in the broader context. In the fight for smartphone supremacy, […]

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top