@Override
  protected void onBoundsChange(Rect bounds) {
    super.onBoundsChange(bounds);

    // Update the text parameters since the size changed. If you modify the debug text, make sure
    // to also update MAX_NUMBER_OF_LINES and MAX_LINE_WIDTH_EM. The line width has been estimated
    // for a reasonable max line width on average.
    prepareDebugTextParameters(bounds, MAX_NUMBER_OF_LINES, MAX_LINE_WIDTH_EM);
  }
Pass a semi-transparency color (e.g., 0x66RRGGBB) to give the overlay a color shade.
drawee/src/main/java/com/facebook/drawee/debug/DebugControllerOverlayDrawable.java