我正在制作一个徽标测验类的应用程序,对于正确答案,我希望文本/图像来自 Z 轴到屏幕,更像是向内的 3d 效果。然后文本/图像也应该移动一点,就像在它的位置摆动一样。我该怎么办?
提前致谢!:)
if(checkanswer.equalsIgnoreCase(jawab[0])||checkanswer.equalsIgnoreCase(jawab[1])||checkanswer.equalsIgnoreCase(jawab[2]))
{
answer.setBackgroundColor(Color.GREEN);
check_answer.setText("CORRECT ANSWER !"); //Correct Answer should wiggle!
answer.setEnabled(false);
// Disable SUBMIT button
submit.setClickable(false);
// EDIT THE SCORES
forScores=getSharedPreferences(FileName,0);
editkar=forScores.edit();
int score=forScores.getInt("Level "+receiver[1], 0);
score++;
editkar.putInt("Level "+receiver[1],score);
editkar.commit(); }