I have developed an app already for Image Editing. Now I have add the feature of adding the text over the picture, same as Whatsapp status, Instagram etc.. I am going to add text using Edit Text, but than I want to move that text where ever I want all over the picture. How can we make EditText movable??
public void editIntent()
{
RelativeLayout.LayoutParams params = new
RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,
RelativeLayout.LayoutParams.WRAP_CONTENT);
EditText et = new EditText(this);
et.setHint("Add a caption..");
rl.addView(et);
}
rl is the object of relative layout