Question

i want put in the top of my app 1 banner rotator. I found this answer, but i get like 30 errors D: (i am newbie)

android ad banner

If someone can do work the code, or put other code, i will be grateful.

Était-ce utile?

La solution

There is an example of Crossfading Two Views, in the android training website, with the full code, than can be useful to you, if you can adapt it.

http://developer.android.com/training/animation/crossfade.html

You can also follow some other approaches, like a extending a ViewAnimator

Anyways if you cannot use the code of the post you are linking, probably you need a few more of reading before, since every solution will require the same level or undestanding (and a full copy/paste is never a solution)

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top