首页 > TAG信息列表 > Rounded

Android之Shape设置虚线、圆角和渐变学习

Shape在Android中设定各种形状,今天记录下,由于比较简单直接贴代码。 Shape子属性简单说明一下:   gradient -- 对应颜色渐变。 startcolor、endcolor就不多说了。 android:angle是指从哪个角度开始变. solid -- 填充。 stroke -- 描边。 corners -- 圆角。 padding -- 定义内容