I have a FragmentActivity and a few fragments in my application.
In some conditions , i'll pop a dialog from activity, it will be fullscreen but it should stay below main action bar. is it possible ? ( I want to keep main action bar visible )
My Dialog Style
<style name="FullScreen" parent="@android:style/Theme.Holo.Light">
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">false</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
Dialog
public class FDialog extends Dialog implements OnClickListener{
Context mContext;
public FDialog(Context context) {
super(context,R.style.FullScreen);
mContext = context;
}
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.dialog_content);
}
Thanks