Игра “Рулетка” : Android Studio уроки
MainActivity.java import androidx.appcompat.app.AppCompatActivity;import android.os.Bundle;import android.view.View;import android.view.animation.Animation;import android.view.animation.DecelerateInterpolator;import android.view.animation.RotateAnimation;import android.widget.ImageView;import android.widget.TextView;import java.util.Random;public class MainActivity extends AppCompatActivity { private TextView tvResult; private ImageView rul; private Random random; private int old_deegre = 0; private int deegre = 0; private static final float FACTOR = 4.86f; private String[] numbers = {“32 RED”,”15 BLACK”,”19 RED”,”4 BLACK”, “21 RED”,”2 BLACK”,”25 RED”,”17 BLACK”, “34 RED”, “6 BLACK”,”27 RED”,”13 BLACK”,”36 RED”,”11 BLACK”,”30 RED”, “8 BLACK”,”23 RED”,”10 BLACK”,”5 RED”,”24… Подробнее »Игра “Рулетка” : Android Studio уроки