Reputation: 2661
I am trying to show the page curl effect on images on full screen in harism demo but couldn't find any solution for that, does anyone know how to show the effect on full screen images in harism demo.
Thanks in advance
Upvotes: 0
Views: 909
Reputation: 5271
Inside CurlView.java
public void setMargins(float left, float top, float right, float bottom) {
mRenderer.setMargins(0, 0, 0, 0);
}
Set Activity's theme to be full screen like this:
<activity android:name=".CurlActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Upvotes: 3