use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class CollapsingToolbarLayout method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class RelativeLayout method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class RecyclerView method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class LinearLayout method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class ConstraintLayout method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
Aggregations