2019-04-29から1日間の記事一覧
FAB(Floating Action Button)の色をコードの中で変更する際、少しハマったので、備忘録。 fab = getActivity().findViewById(R.id.fab); // 背景色を変えたい fab.setBackgroundColor(getResources().getColor(R.color.colorPrimary)); で変わると思ったが、…
FAB(Floating Action Button)の色をコードの中で変更する際、少しハマったので、備忘録。 fab = getActivity().findViewById(R.id.fab); // 背景色を変えたい fab.setBackgroundColor(getResources().getColor(R.color.colorPrimary)); で変わると思ったが、…