lundi 24 février 2014

[Q] Animation for changing Textnumbers topic




Hi,

this is my first time here, hello every body!

Currently i develop a quiz-application on android min api11 and Java. I descripe the situation i need help for.

1. The Player choose the correct answer and get 100 scores
2. The scores are displayed in a TextView (RelativeLayout)
3. The update of the scores is no problem "findId --> setText()"

Know i want this step animate like a counter. The User have to see every Scorenumber until the end result (001,002,003,...100) very fast for about 3 seconds (Like a byte loader for downloads).

Iam not sure whats the best solution.

I spend a lot of time for searching forum-discussions, tutorials, etc. The Community have different opinions.
Using a thread.sleep in a for-loop, drawing a canvas for each number, ... additional there are different practieces and no informations about the ressources.

my question is: have somebody experience and tipps for the given problem?

Do u need more informations about the project?


thanks a lot and many greetings!

Torsten





Aucun commentaire:

Enregistrer un commentaire