Android LinearLayout Gradient Background

前端 未结 10 1792
渐次进展
渐次进展 2020-12-02 04:20

I am having trouble applying a gradient background to a LinearLayout.

This should be relatively simple from what I have read but it just doesn\'t seem to work. For r

10条回答
  •  隐瞒了意图╮
    2020-12-02 04:38

    My problem was the .xml extension was not added to the filename of the newly created XML file. Adding the .xml extension fixed my problem.

提交回复
热议问题