WindowFeatureAndFullscreen

WonderCsabo edited this page May 25, 2015 · 3 revisions

@WindowFeature

Since AndroidAnnotations 3.0

You can customize your window features by using @WindowFeature on an enhanced activity. The annotation value should be one or several of Window FEATURE_* constants.

@WindowFeature({ Window.FEATURE_NO_TITLE, Window.FEATURE_INDETERMINATE_PROGRESS })
@EActivity
public class MyActivity extends Activity {
 
}

@Fullscreen

Since AndroidAnnotations 2.2

This annotation adds the Window flag LayoutParams.FLAG_FULLSCREEN.

@Fullscreen
public class MyActivity extends Activity {

}

21/10/2018 The 4.5.2 release is out !

Using AndroidAnnotations

Questions?

Enjoying AndroidAnnotations

Improving AndroidAnnotations

Extending AndroidAnnotations

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.