2018-05-17から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…