Dhanveer thakur
Dhanveer thakur

Reputation: 978

Set TextView on a particular Coordinates on screen

I Want to Set TextView on a particular layout coordinates dynamically. eg i have cordinates (-58.418854,-275.28494). how can i set that textview on these coordinates?

Upvotes: 2

Views: 136

Answers (1)

0x5050
0x5050

Reputation: 1231

Use

view.setX();
view.setY();

Developer guide link

Upvotes: 2

Related Questions