This demo explains how you can create a Custom Notification in Android old and New versions. The notification appears expanded in Versions > 16. Let’s jump into the code… Below is the MainActivity that creates the notification. You can download the complete Android Studio Source Code from here.. Send your comments to email@example.com
Hi all …….. Ofter we have trouble with loading continous images in ANDROID from our application directory. The reason is that all resources have a unique resource ID which we need to get to load these resources. The following example shows how to get these unique identifier from the “path” of the resource. For example… Read More »
Hello all… I have shown a lot of examples of animations in android. Today I will show you how to show an image transition animation between two images. For that you have to create an xml named “expand_collapse.xml” inside the res/drawable folder. The contents of “expand_collapse.xml” are Now in the main.xml place an imageView to… Read More »
Hello…. In today’s tutorial I will show you how to style your text in ANDROID. This is a simple example to show how styling is done using XML in android. This will also show you how to get a string from the resources in java code. First create a new project and name it “StyleTextDemo”… Read More »
The following code helps you to do a drag and drop in ANDROID.