2018-05-01から1ヶ月間の記事一覧
簡単なことだけど、苦しんだのでメモ。 Android4.4と8.0で動作確認。 private void changeButtonColor(int id ,int color){ Button button = findViewById(id); Drawable drawable = button.getBackground(); drawable.setColorFilter(color,PorterDuff.Mode…
簡単なことだけど、苦しんだのでメモ。 Android4.4と8.0で動作確認。 private void changeButtonColor(int id ,int color){ Button button = findViewById(id); Drawable drawable = button.getBackground(); drawable.setColorFilter(color,PorterDuff.Mode…