Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<layer-list>または<shape>またはそれらの組み合わせを使用して、描画可能なxmlに2つのグラデーションを含める方法はありますか?
<layer-list>
<shape>
Roman Nurikの回答でのあなたの説明に基づいて、あなたが探しているのはcenterColorだと思います。
<gradient startColor="#00FF00" centerColor="#FFFF00" endColor="#FFFFFF"></gradient>
理由がわかりません...2つの形状のドローアブルを参照するレイヤーリストドローアブルは、機能するように聞こえます。あなたはそれを試しましたか?