message: Set behavior prop before added to window
  Otherwise there's a noticeable flicker before bottom sheet appears
diff: @@ -12,16 +12,12 @@ public class BottomSheetView extends ViewGroup {
  public BottomSheetView(Context context) {
  super(context);
  CoordinatorLayout.LayoutParams params = new CoordinatorLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
  - params.setBehavior(new BottomSheetBehavior());
  + BottomSheetBehavior bottomSheetBehavior = new BottomSheetBehavior();
  + bottomSheetBehavior.setPeekHeight((int) PixelUtil.toPixelFromDIP(200));
  + params.setBehavior(bottomSheetBehavior);
  setLayoutParams(params);
  }
  - @Override
  - protected void onAttachedToWindow() {
  - super.onAttachedToWindow();
  - BottomSheetBehavior.from(this).setPeekHeight((int) PixelUtil.toPixelFromDIP(200));
  - }
  -
  @Override
  protected void onLayout(boolean b, int i, int i1, int i2, int i3) {
  }
  