Android GPUImageView inverted

I am using Android GPUImage library for image processing. I have a main GPUImageView and a ListView (and RecyclerView) below it, which shows the same image as the main GPUImageView, but with all the different filters. The image in the ListView / RecyclerView is all flipped 180 degrees (upside down) and I have no idea why. I'm trying to set the XML rotation (android: rotation = "180") on a GPUImageView to XML, but the result is an empty GPUImageView. Here is my GPUImageView in XML:

      <jp.co.cyberagent.android.gpuimage.GPUImageView
        android:layout_width="match_parent"
        android:layout_height="80dp"
        android:layout_centerHorizontal="true"
        android:id="@+id/imageFilter"/>

      

+3


source to share





All Articles