// TODO: Manage sizes to avoid specific ones. It always must be parent size (match_parent)
@Override
    protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        // TODO: Manage sizes to avoid specific ones. It always must be parent size (match_parent)
        int widthSize = MeasureSpec.getSize(widthMeasureSpec);
        int heightSize = MeasureSpec.getSize(heightMeasureSpec);
        mWidth.set(widthSize);
        mHeight.set(heightSize);
        mQuadrangle.set(0, 0, widthSize, heightSize);
        super.onMeasure(widthMeasureSpec, heightMeasureSpec);
    }
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
// TODO: Manage sizes to avoid specific ones. It always must be parent size (match_parent)
int widthSize = MeasureSpec.getSize(widthMeasureSpec);
int heightSize = MeasureSpec.getSize(heightMeasureSpec);
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
// TODO: Manage sizes to avoid specific ones. It always must be parent size (match_parent)
int widthSize = MeasureSpec.getSize(widthMeasureSpec);
int heightSize = MeasureSpec.getSize(heightMeasureSpec);
mWidth.set(widthSize);
mHeight.set(heightSize);
mQuadrangle.set(0, 0, widthSize, heightSize);
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
}
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
// TODO: Manage sizes to avoid specific ones. It always must be parent size (match_parent)
int widthSize = MeasureSpec.getSize(widthMeasureSpec);
int heightSize = MeasureSpec.getSize(heightMeasureSpec);
mWidth.set(widthSize);
mHeight.set(heightSize);
mQuadrangle.set(0, 0, widthSize, heightSize);
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
}