Listview item's background with gradient in Fragment

有些话、适合烂在心里 提交于 2019-12-04 06:17:03

问题


I've got a problem, using gradient in background for listview's items inside fragment activity (using ABS).

So, first of all I've got a background, that is succesfully using in other application. It has a gradient from (r = g = b = 91) to (r = g = b = 81).

And thats how it looks in simple activity:

And thats how it looks inside fragment activity:

At first I think that it is very big gradient and I did a gradient only for 2 points, from (r = g = b = 80) to (r = g = b = 78).

And thats what I gоt:

I'm still want to use gradients in listview's items backgrounds in order items not seemed to be plane.

So, why I'm getting such terrible image, using gradient in backgrounds for listview items inside fragment?

来源:https://stackoverflow.com/questions/13780178/listview-items-background-with-gradient-in-fragment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!