drawableのxmlで、*****の部分にランダムな値を入れたいです。rippie effectを考えると、xmlで指定したいです。自作クラスで,
lang
1Random rand = new rand; 2int[] hairetu3; 3 4onCreate 5super.onCreate(savedInstanceState); 6 setContentView(R.layout.activity_main2); 7 hairetu3 = new int[]{#000000, ...}
で色の配列を作り、ランダムに並び替えて、下のxmlに適用したいです。
lang
1<?xml version="1.0" encoding="utf-8"?> 2<ripple xmlns:android="http://schemas.android.com/apk/res/android" 3 android:color="*****"> 4</ripple>
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。