0

I'm working on on demo of drag and drop. In that I created some dynamic TextView on FrameLayout and now I want to move that TextView on that FrameLayout. So please please tell me any proper way to that... Thanks in advance..

Akshay
  • 5,721
  • 7
  • 39
  • 58

1 Answers1

0

try it out

MarginLayoutParams params=(MarginLayoutParams )poi.getLayoutParams();
params.leftMargin=80;

 params.topMargin=50;
    poi.setLayoutParams(params);
rajshree
  • 790
  • 5
  • 18