2014-10-27 64 views

回答

0

你不能使用drawable xml的形狀來創建它。

可用形狀是:

"rectangle" A rectangle that fills the containing View. This is the default shape. 
    "oval" An oval shape that fits the dimensions of the containing View. 
    "line" A horizontal line that spans the width of the containing View. This shape requires the <stroke> element to define 

的線的寬度。 「戒指」一個戒指的形狀。

Documentation here

您可以使用畫布繪製。

相關問題