In this tutorial, we will discuss how we can swipe layout to hide and show with animation in Android using Kotlin and Java. Below I have shared a utility class that you can add in your project and just call it using 2 lines of code and that’s it. It supports all 4 types of […]
Login Activity in Android Studio – Kotlin & Java
In this tutorial, we will design a general Login Activity in Android Studio in both Kotlin & Java Android Programming languages. In this article, we are going to use Google Material Design guidelines to design the UI. And our EditText will be floating like it moves the hint above as heading when we start writing. […]
SignUp Activity in Android Studio – Kotlin & Java
It’s a common requirement in almost every App to provide Login & signup functionality to users. In this article, we are developing a SignUp Activity in Android Studio in both Kotlin & Java. We will design a signup form based on Google Material Design components. In our Activity code, we will also perform validation for […]
Load Gif in ImageView Android – Java & Kotlin
In this article, we will learn the easiest way to load Gif Images in ImageView in Android. We will use Glide Image loading & caching library to load Gif in Android. As we all now that directly we cannot load a Gif image in ImageView in Android. So mostly it’s suggested to use Webview to […]
How to Change Tint Color for an Image in Android
In this article, we will discuss how to change Tint Color for an Image in Android programmatically as well as in XML. Tint color means when we want to change the color of the image while rendering in ImageView. In XML is very easy to change tint color by just setting up the attribute android:tint=”” […]
Upload Image or File to Server in Android Kotlin
In this article, we will discuss the easiest way to upload all types of files, images, videos, pdf, and all other to the server in Android using Kotlin. We are going to upload file to Server in Android Kotlin using OKHTTP multipart request. In the following, the code is shared in the form of Utility […]
Blink GameObject in Unity
In this article, I am going to share a utility method that will help you to Blink GameObject in Unity 3d or 2d. In this method, it’s supposed that the SpriteRenderer component is attached to your game object. Just copy and paste the following method in your class. Its usage is explained later. Utility Method […]
Convert Bitmap to File in Android – JAVA & Kotlin
It’s a common requirement in Android Apps to save images as files in external storage and get a File reference from that saved location. Usually, we have images in the form of Bitmap in Android. In the following article, we will discuss how to Convert Bitmap to File in Android in both Java & Kotlin. […]
Capitalize First Letter of String in Android – Kotlin & Java
If we have a String in Kotlin or in Java in Android and we need to capitalize the first letter of the string, we don’t have any built-in method for the purpose. You can use the following methods to capitalize the first letter of String in Android in both Java & Kotlin. Capitalize First Letter […]
Utility Class to Get Screen Width & Height in Kotlin Android
It’s a common requirement to get screen width or height for Android developers in their Apps. In this article, I am sharing a simple utility class that will help you to get screen width & height in Kotlin Android. Just copy and paste the following utility class in your Kotlin project and it will get […]