Ad

How To Know Where A Fab Button Is Used In Project (activity And Fragment And Xml)?

I need to change color of all fabs in my project . I set color for each individually and can't change them from one place the problem is I don't know where I used fab in project . I have to search all project and it is so Time-consuming.

how can I find them easily to modify faster?

Ad

Answer

In Android Studio click Edit -> Find -> "Find In Path", input FloatingActionButton and optionally click "Open in Find Window"

Ad
source: stackoverflow.com
Ad