use of com.google.android.material.shape.CutCornerTreatment in project Carbon by ZieIony.
the class Toolbar 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 FlowLayout 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 DrawerLayout 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 Button method setCornerCut.
@Override
public void setCornerCut(float cornerCut) {
shapeModel = ShapeAppearanceModel.builder().setAllCorners(new CutCornerTreatment(cornerCut)).build();
setShapeModel(shapeModel);
}
Aggregations