Skip to content

Instantly share code, notes, and snippets.

@micrypt
Created August 22, 2010 14:51
Show Gist options
  • Save micrypt/543848 to your computer and use it in GitHub Desktop.
Save micrypt/543848 to your computer and use it in GitHub Desktop.
/* By dylan (http://www.androidsnippets.org/users/dylan/index.html)
* Considering forking and updating VuDroid (http://code.google.com/p/vudroid/) to add in full screen PDF viewing.
*/
public class FullScreen extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.main);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment