android - How to create imageviews dynamically? -
hello everyone. need create this,displayed in picture. have no idea how should implement it?. if press camera button , add photo - must added list.
i think create row of invisible imageview , initialize them when needed, think bad solution.
you can use way create imageviews dynamically:
imageview iv=new imageview(context); iv.setid(id); iv.layout(l, t, r, b);
l,t,r , b specify padding left,top,right , bottom respectively can add imageview respective layout
Comments
Post a Comment