android - How to make a animation icon on the ActionBar? -
i try make refresh icon rotating in actionbar of android application. tried follow instruction: http://techiedreams.com/android-rss-reader-part-3-action-bar-with-animated-item/
it works if copy code same in website. however, if move oncreate part, rotation looks different , strange. center of rotation seems moved top left corner of view.
how can make icon of menu item rotate in actionbar normally?
thank you.
i had same exact problem until replaced showasaction property
make sure replace refresh icon's android:showasaction="collapseactionview|ifroom" android:showasaction="ifroom"
however else you.
Comments
Post a Comment