From 7fbb4a9f1237847d08cc49704fca84f8c3d86123 Mon Sep 17 00:00:00 2001 From: OliE Date: Sat, 24 Feb 2018 07:38:56 +0100 Subject: [PATCH] colour action button foreground icon black --- .../java/com/health/openscale/gui/fragments/GraphFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android_app/app/src/main/java/com/health/openscale/gui/fragments/GraphFragment.java b/android_app/app/src/main/java/com/health/openscale/gui/fragments/GraphFragment.java index e8c32e93..0b234834 100644 --- a/android_app/app/src/main/java/com/health/openscale/gui/fragments/GraphFragment.java +++ b/android_app/app/src/main/java/com/health/openscale/gui/fragments/GraphFragment.java @@ -243,6 +243,7 @@ public class GraphFragment extends Fragment implements FragmentUpdateListener { FloatingActionButton actionButton = new FloatingActionButton(getContext()); actionButton.setTag("actionButton" + measurementView.getName()); + actionButton.setColorFilter(Color.parseColor("#000000")); actionButton.setImageDrawable(measurementView.getIcon()); actionButton.setClickable(true); actionButton.setSize(android.support.design.widget.FloatingActionButton.SIZE_MINI);