Layout Shadow

Layout Shadow


You can have your linear layout a shadow by using this simple code:

Code:
linear1.setElevation((float)6.2);

linear1 - Linear Layout ID
float - To use decimal numbers
6.2 - Value

Comments

Popular posts from this blog

Number with Comma (9,999)

Get Percent of the Number (98%)

Get X, Y Position of Layout