Skip to content

NoTitleAndFullscreen

pyricau edited this page May 10, 2012 · 1 revision

Since AndroidAnnotations 2.2

If you never remember how to hide the title bar, and how to set an activity to fullscreen, those annotations are for you!

@NoTitle

This annotation requests the Window feature Window.FEATURE_NO_TITLE.

@NoTitle
public class MyActivity extends Activity {

}

@Fullscreen

This annotation adds the Window flag LayoutParams.FLAG_FULLSCREEN.

@Fullscreen
public class MyActivity extends Activity {

}

Using AndroidAnnotations

Questions?

Enjoying AndroidAnnotations

Improving AndroidAnnotations

Clone this wiki locally