createColorDrawable

decode solid color / gradient / frame drawable from string like #AARRGGBB, e.g. #5599AA

SolidFillDrawable: #AARRGGBB - e.g. #8090A0 or #80ffffff FrameDrawable: #frameColor,frameWidth[,#middleColor] or #frameColor,leftBorderWidth,topBorderWidth,rightBorderWidth,bottomBorderWidth[,#middleColor] e.g. #000000,2,#C0FFFFFF - black frame of width 2 with 75% transparent white middle e.g. #0000FF,2,3,4,5,#FFFFFF - blue frame with left,top,right,bottom borders of width 2,3,4,5 and white inner area

static
createColorDrawable
(
string s
)

Meta