Android Tutorial

How To Define Custom Color Variables In Android Studio

The android class android.graphics.Color provides some color constants which can be used directly in an android application. For example, BLACK, WHITE, RED, GREEN, BLUE, YELLOW, CYAN, MAGENTA, GRAY, LTGRAY (light gray), DKGRAY (dark gray). But you may find that it is not enough, sometimes you need more colors. So this article will show you how

How To Define Custom Color Variables In Android Studio Read More »

Android Custom View And OnTouchListener Example – Move View On Touch Move

android.view.View component acts like JPanel in Swing programming. It’s just a rectangular blank area, the android.view.View component doesn’t have any content. For built-in UI components of Android applications, they all inherit the class android.view.Viewand then render the appearance on the blank areas provided by the View component.

Android Custom View And OnTouchListener Example – Move View On Touch Move Read More »

How To Resolve Package R Dose Not Exist Error In Android Studio

R.java is very important in android application development. It is used to identify all resource data such as id, layout, image, drawable resource, etc. R.java is generated by android studio automatically. But it is sometimes confused for developers to use it. This article will help you to resolve these problems about R.java you may encounter.

How To Resolve Package R Dose Not Exist Error In Android Studio Read More »