code: static ShapeDrawable getRoundedOutlineBackground(Resources resources, @ColorInt int color) {
          int r = resources.getDimensionPixelSize(R.dimen.com_auth0_lock_widget_corner_radius);
          int t = resources.getDimensionPixelSize(R.dimen.com_auth0_lock_input_field_stroke_width);
          RoundRectShape rr = new RoundRectShape(new float[]{r, r, r, r, r, r, r, r}, new RectF(t, t, t, t), new float[]{r, r, r, r, r, r, r, r});
          ShapeDrawable drawable = new ShapeDrawable(rr);
          drawable.getPaint().setColor(color);
          return drawable;
      }
docs: Generates a rounded outline drawable with the given background color.
  
  @param resources the context's current resources.
  @param color     the color to use as background.
  @return the rounded drawable.