Android GPUImageView upside down

486 views Asked by At

I am using the GPUImage library for Android to do image processing. I have a main GPUImageView and a ListView (and RecyclerView) under it which shows the same image as in the main GPUImageView but with all the different filters. The image(s) in the ListView/RecyclerView are all flipped 180 degrees (upside down) and I have no idea why. I try to set the XML rotation (android:rotation="180") on the GPUImageView in XML but that results in a blank 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"/>
0

There are 0 answers