android ics fading edges don't work

后端 未结 2 1323
野趣味
野趣味 2021-01-11 13:45

somehow fading edges seems not to work for android ics (android 4+) for own views. If I test this layout on a lower android version it paints the fading edge but not on andr

相关标签:
2条回答
  • 2021-01-11 13:58

    You can try some ideas from answer in my question post: Set textview fading in Android 4.0.3

    However, it seems like the fading edge won't work on 4.x somehow. The reason why? I don't know.

    0 讨论(0)
  • 2021-01-11 14:16

    "Using fading edges may introduce noticeable performance degradations and should be used only when required by the application's visual design. To request fading edges with API level 14 and above, use the android:requiresFadingEdge attribute instead"

    http://developer.android.com/reference/android/R.attr.html#fadingEdge

    0 讨论(0)
提交回复
热议问题