Android item size in layer-list

后端 未结 4 637
梦谈多话
梦谈多话 2020-12-11 04:13

I need to set size for item in layer-list. For using as windowBackground in launch activity. I wrote this XML file and Android Studio displays it correctly. But in applicati

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 04:23

    Starting from API 23, it is possible to set width and height right within the "item" tag:

    
    

提交回复
热议问题