2013-05-30 46 views
0

我试图在harism演示中的全屏幕上显示页面卷曲效果,但找不到任何解决方案,没有人知道如何显示完整的效果harism演示中的屏幕图像。如何在harism演示中显示全屏页面卷曲

在此先感谢

+0

这是什么** harism演示**? –

+0

其开源的3D页面卷曲https://github.com/harism/android_page_curl – rahul

回答

3

内CurlView.java

public void setMargins(float left, float top, float right, float bottom) { 
    mRenderer.setMargins(0, 0, 0, 0); 
} 

设置活动的主题是全屏这样的:

<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> 
+0

刚刚做到了,无论如何非常感谢您的支持Santosh :) – rahul