android-floating-action-button
android-floating-action-button copied to clipboard
SetClickable to false
I think on clickable set to false the colour of the fab should turn to disabled colour but that does happen.
my xml code: <com.getbase.floatingactionbutton.FloatingActionButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/floating_action_location" android:layout_margin="8dp" app:fab_colorDisabled="@ color/red_faded" app:fab_colorNormal="@ color/red" app:fab_colorPressed="@ color/red_dark" app:fab_icon="@drawable/current_location" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" android:clickable="false" /> my activity code: floatingActionLocation.setClickable(false);
Am i doing something wrong??