Enhancing ImageView brightness programmatically

前端 未结 5 2045
不知归路
不知归路 2021-01-03 10:56

I have an android app in which I am increasing brightness of image with the code below. But this is very slow so does anyone knows a fast way to enhance image brightness of

5条回答
  •  天涯浪人
    2021-01-03 11:19

    You can place a semi-transparent view on top of your ImageView. How: a FrameView with two children, the 1st one is the ImageView and the 2nd is a View (just View) with a semi-transparent background. Then you will have to modify the background opacity programmatically.

提交回复
热议问题