take note that using these codes won't work the content scrolling
Window window = getWindow(); window.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); //this won't work
IMPORTANT: on you xml LinearLayout add this code android:fitsSystemWindows="true"
I used this codes in IXM App Contact Activity
<activity
android:name=".ui.ContactUsActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateHidden|adjustResize" // this code
android:parentActivityName=".ui.PeopleActivity" />