我正在處理非常複雜的xml drawable,我想知道是否有任何工具/插件允許我預覽我的drawable?如何預覽xml drawable?
我正在尋找類似於可用於佈局的「圖形佈局」選項卡。
例如,如果我有這樣的事情:
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:left="0dp" android:right="0dp">
<shape android:shape="rectangle">
<gradient android:angle="-90" android:startColor="#2B2B2B"
android:endColor="#000000" />
</shape>
</item>
<item android:top="1sp" android:bottom="26sp" >
<shape android:shape="rectangle">
<solid android:color="#10ffffff"/>
</shape>
</item>
</layer-list>
我怎麼能預覽形狀和梯度? 而且我可能在做夢,但有沒有任何圖形工具來構建drawable?
對於Android用戶來說,明確知道你指的是哪一種工具? –
我忘了,對不起。 –
這是很好的建議。謝謝。 – Andrey