android - Removing bounds when rotate a view 90 degree -


i rotate view 90 make vertical , width of view still reserved. how can change ?

i have try following view size changes :

params.setmargins(-getdpi(view.getheight()), 0, 0, 0);

enter image description here


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

c++ - Fill edges and center of array/vector with different values -

sql - calculate weighted average for each day and id based on time intervals in PostgreSQL -