コード例 #1
0
 /** Sets the Shape of this ShapeDrawable. */
 public void setShape(Shape s) {
   mShapeState.mShape = s;
   updateShape();
 }
コード例 #2
0
 @Override
 protected void onBoundsChange(Rect bounds) {
   super.onBoundsChange(bounds);
   updateShape();
 }