public class ViewState


Stores the bounds and rotation of a widget

Summary

Public fields

int
int
int
float
int

Public constructors

Public methods

void

Get the parameters of the view

int

the height of the view

int

The width of the view

Public fields

bottom

Added in 2.2.0-alpha13
public int bottom

left

Added in 2.2.0-alpha13
public int left

right

Added in 2.2.0-alpha13
public int right

rotation

Added in 2.2.0-alpha13
public float rotation

top

Added in 2.2.0-alpha13
public int top

Public constructors

ViewState

Added in 2.2.0-alpha13
public ViewState()

Public methods

getState

Added in 2.2.0-alpha13
public void getState(View v)

Get the parameters of the view

Parameters
View v

the view

height

Added in 2.2.0-alpha13
public int height()

the height of the view

Returns
int

the width

width

Added in 2.2.0-alpha13
public int width()

The width of the view

Returns
int

the width