Tooltip is a simple popup message tip shown near to a view. It is similar to its web version that shown when you mouse over it. It is helpful for giving special or extra information about a UI element in the page. From API Level 26 Android introduces new property called android:tooltipText through this we […]
Android Tutorial – Glide V4 Implementation
Glide is a widely popular, fast and memory efficient image loading library for Android. Glide supports fetching, decoding, and displaying video stills, images, and animated GIFs. In the context of image loading also, there are many popular third party libraries for loading and Glide is the most popular among them. The latest version of Glide […]
Android Gaussian Blur Effect Using RenderScript Framework
Gaussian Blur effect for a view is achieved by the help of RenderScript framework introduced in Android 3.0 (API level 11). It is a framework for running computationally intensive tasks at high performance on Android. RenderScript is primarily oriented for use with data-parallel computation, although serial workloads can benefit as well. ScriptIntrinsicBlur, Intrinsic Gausian blur […]
Android Create Message Shape Using XML
Here in this article i am going to show you how to create message shape drawable using XML. In this method you don’t need to provide graphic file. It is a recommended method because it only requires less space and configurable. i.e, you can change the dimension and color properties easily by editing the xml […]
How To Create Frame Animation In Android Using XML Drawable
Create Android Frame Animation Using Drawable Today animations are being a part of UI because it plays a very important role in making UI interactive. When it comes to show complex animations that cannot be created simply by basic view animations. And we know that GIF is a good solution for this but unfortunately it […]
Android How To Create Custom Toast Programmatically
Toast is a popup visible for a few seconds can be used to notify user with a message. Toast is being used to give feedback about an action has been performed in an application. Most noticeable factor that i noticed about the Toast is that it is independent from Activity. As a result of this […]
How To Give Gradient Effect To The Page Using XML
Similar PhotoShop Gradient Tool In Android we have the ability to create gradient effect to a view. This method does not require image creation. All we have to do is to create a gradient drawable and set it as the source or background of the view. Gradient Drawable Like a photoshop gradient tool, Gradient Drawable […]
How To Change Text Color Of setError Method
This tutorial is going to explain you about changing the default behaviour of a EditText View i,e setError() method. Changing the error text color is also a part of giving branding to the application and nowadays many popular applications do this. It is achieved by a utility class called SpannableStringBuilder. In this tutorial i will […]
Create Triangle Shape Using XML In Android
Here in this article lets how to create a triangle shape using XML shape. No images needed for this method. With few lines of code we can create a triangle shape with desired color. Shape class only allows for creating rectangular and circular shapes. But with trick we can create triangle. It is very useful […]
Color Opacity Using XML In Android
It is very easy to give color opacity effect in android. Best way to add transparency by percentage is by using alpha channel in android i,e 8 digit ARGB values, Alpha-Red-Green-Blue hexadecimal. Which is appending a 2 letter value to hexa code of a color. If you know alpha codes for transparency then you don’t […]
How To Create GridView In Android
Alternative design pattern to ListView. One of the ready made widget available in android UI widget set in which contents arranged like rows and columns(2D). Space conscious and eye catcher. Thus popular in mobile devices. GridView is commonly seen in content arrangement where single item needs to be projected like in media galleries and Calendar. […]
Create Splash Screen In Android
What Is A Splash Screen? Splash screen is the initial screen when user opens the app. It basically contains branding items like logo, slogan and company name etc. It also known as the boot screen. If you want to execute a long task and get the result to show as the content of the next […]
Create Custom Spinner In Android
Custom Spinner means a spinner with different look and feel other than it’s default look. It is a part of adding our own branding to an Android Application. Spinner is a common UI element in a form and unlike TextViews, EditTexts and Buttons customization of Spinner requires few steps. In this article we will change […]
Create Simple Listview In Android
Here i explain to you how to create a simple listview which uses built-in Arrayadapter. 1. Add listview container to layout 2. Create an listview adapter with items 3. Set adapter to listview 4. Catch click event 5. Build & Run Add listview container to layout Create an listview adapter Set adapter to listview Catch […]
How To Create Custom ActionBar In Android
In some cases we want to give our own branding to ActionBar For example, if you want to change the color. Unfortunately native action bar does not allow us a deep modification and ToolBar is a replacement for ActionBar but it only supported from Lollipop (Android OS version 5). Here in this post i will […]