Can I use multiple shapes in one Android drawable?

后端 未结 2 1620
太阳男子
太阳男子 2020-12-17 09:50

What I\'m trying to do is define a common background for use in a LinearLayout which frequents my application on many of its Activitys. This particular layout is a header t

2条回答
  •  醉话见心
    2020-12-17 10:26

    Drawable accepts multiple shapes, (defined always in others files) if i understand your question maybe you can do a Layer drawable (this draws multiple underlying drawables on top of each other)

    i write this here, so, i dont tested, but try this and read this fantastic documentation.

    
        
            
            
        
    

    the android complete xml resources

    cheers

提交回复
热议问题