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

Search In

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"

How to make Menu Groups in android

In the below code I have created Menu Groups. Simply I have added menu items in menu folder, all menu item are added in group. See the below code it will clearly described how to make Menu Groups . Step(1)-MainActivity- public class MainActivity ex

Customise Progress Bar

To make the layout interactive and to look good, we need to modify the default of certain widgets. Here is the simple customisation of the progress bar:- Step 1:- Create a drawable xml say customised_progress.xml <?xml version="1.0" encoding="

How to change checkbox icon

In certain cases, according to the application we need to change the mark or the drawable of the checkbox. Step 1:- Create selector in the  drawable, say checkbox_selector.xml :- <?xml version="1.0" encoding="utf-8"?> <selector xmlns

How to make Popup function in android?

Here I have created Popup function , Popup function can be used to display menu item list, anchor text and listitem etc. In the below example when we clicked on menu button the popup will be open and if we click outside the popup it will disappears.

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

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: