Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Property Animation Android

1) Here I will rotate a View around its vertical axis using the rotationY property. we will create an XML resource file in the /res/animator directory named as flip_on_vertical.xml. <objectAnimator xmlns:android="http://schemas.android.com/apk/re

How to make Radial Gradient in android

Using below Layout code you can create a Radial Gradient, Here I have created a Gradient.xml layout by using shape and gradient property. By using GradientDrawer we can make smooth transition between two or three colors in liner, radial or sweep pat

How to create floating action button layout in android

In the below code layout I have created floting action button layout. Here I have used CoordinatorLayout, LinearLayout, TextView and FloatingActionButton. FloatingActionButton move left or right when we changes layout_anchorGravity. In this layout Fl

How to create Animation button in android

In the below example I have created a animation button. Here I have added Button and TextView in activity_main xml layout then I have created new directory (anim) , In anim directory I have created new anim_traslate.xml layout. In MainActivity I have

How to create popup layout

In the below example I have created popup layout. In popup.activity layout, First I have created LinearLayout, In LinearLayout I added a TextViw and Button, then in step second I have created rounded.xml layout & in drawable folder, here I have a

How to create Toolbar text animation in android

In the below example I have created Toolbar text animation function. Here In activity_main.xml layout first I have created Toolbar and added a TextView, then In MainActivity I have used ObjectAnimator class. You can see below program it will clearly

How to make Custom Spinner with using material design

In the below example code I have created a Custom Spinner. Here first, I have added spinner library in build.gradle file. After that, I have added Spinner layout in activity_main.xml layout. In MainActivity I have added items name in String. You can

FlexBox layout in android

 In the below example I have describes "how to use FlexBox layout". FlexboxLayout extends the ViewGroup like relative layout and linear layout. You can add different attributes to the flexlayout like flexDirection, flexWrap, justifyCon

How to set selector in android

If you are looking to change the image or color of the widget when it is clicked or focused, Here is the code snippet that explains it:- Step 1:- set the widget in an XML file for which you want to applying selector:- <ImageView android:

Vibrate Animation to ImageView

To give imageview / button vibrate animation, need to follow these steps. create xml file "vibrate_anim.xml" in anim folder <!--?xml version="1.0" encoding="utf-8"?--> <rotate xmlns:android="http://schemas.android.com/apk/res/android"

1 5 30
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: