Code

Learn free code

circle shape xml android

This is a simple circle shape xml as a drawable in Android. Note: To make the oval shape appear as a circle, in these examples, either your view that you are using this shape as its background should be a square or you have to set the height and width properties of the shape tag to an equal value. Android Example, Circle shape in XML drawable file on Android, custom cricle shape, custom butom, […]

circle shape xml android Read More »

Adding Floating Action Button (Java)

The Floating Action Button (FAB) is a circular button that triggers primary action in your app’s UI. This tutorial shows you how to add the FAB to your layout, customize some of its appearance, and respond to the button taps. We will show Snackbar on FAB click.We will use Java and Android Studio.Minimum API: Android 2.1 is API level 7 Step 1: Create a new project OR Open your

Adding Floating Action Button (Java) Read More »