android - Scaling FrameLayout without scaling it's content -
i have floating action button extends framelayout
, add imageview
programmaticlly. tried scale button fit screen, scale working imageview
scaled button. want scale button without scaling imageview
. code , i'm using nineoldandroids
:
animatorset scaleset = new animatorset(); scaleset.playtogether( objectanimator.offloat(view, "scalex", 1,20), objectanimator.offloat(view, "scaley", 1,20) );
where view
floatingactionbutton
Comments
Post a Comment