title: How can we show Page Curl Animation on click of the Button in android
body: <p>I am using the Page curl animation in my application.</p>
  
  <p>Code can be found here: <a href="https://github.com/harism/android_page_curl/" rel="nofollow noreferrer">https://github.com/harism/android_page_curl/</a>. </p>
  
  <p>That code is working fine but i want to make some Modifications in it. </p>
  
  <p>1.To display the image on full screen with no background.</p>
  
  <p>2.I want to show this curl animation on click of the button also.</p>
  
  <p>The code for the mail CurlActvity class is <a href="http://pastebin.com/ZLzP6Zxt" rel="nofollow noreferrer">http://pastebin.com/ZLzP6Zxt</a> at there. </p>
  
  <p>If anyone have some Idea about where i have to made changes the code then please help me. Any help is appreciated. </p>
  
  <p><strong>Edit:</strong>
  The 1st problem To display the image on full screen with no background is solved by some modifications in the <code>private class SizeChangedObserver</code> . The only issue is to set the animation onClick of the button.</p>