Android : Hidiing activity below while opening Navigation Drawer -


i have created activity extends fragmentactivity. main activity creates facebook login fragment. how looks:

enter image description here

after this, used google navigation drawer example show navigation drawer. able when open naviagtion, activity below not getting deactivated (or hidden). how looks:

enter image description here

should manually hide on activity after opening navigation drawer ? isnt there automatic way thru navigation drawer handles ?

my layout xml looks this:

<relativelayout xmlns:android="http://schemas.android.com/apk/res/android"     <android.support.v4.widget.drawerlayout     .     .     .      </drawerlayout>     <fragment         android:id="@+id/facebookloginfragment"         .         .     </fragmet> </relativelayout> 

and mainactivity extends fragmentactivity.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -