Curl animation (e.g. open book page) in android

I am developing an application that includes many images (hd), and these images will be displayed in the next / previous, replacing the screen left / right, respectively. Changing the images should look like the opening pages of a book (curl of the animation http://www.youtube.com/watch?v=_vOYvaNhSHw ) , as well as on each page, I have to play different audio files when I touch different parts of the screens . I have googled and found many solutions for it, but they do not work and show memory from a related exception. These urls

In all of the above links, the memory or curl animation problem is worse, so I can't get help from them.

Please help me out of this problem. It would be grateful.

+5
source share
1 answer

can you add the parameter below to the manifest. In my case, this will help me when I have big bitmap and OutOfMemoryError

  android:hardwareAccelerated="true" android:largeHeap="true" android:icon="@drawable/ic_launcher_android" android:label="@string/app_name" android:theme="@style/AppTheme" 
+3
source

Source: https://habr.com/ru/post/1207030/


All Articles