lundi 18 mai 2015

Android swithing between fitsSystemWindows = true/false

I have a simple question about using frame layouts. Consider this structure:

RelativeLayout
   FrameLayout1
   FrameLayout2

Is it possible to put one fragment to each of these containers (FrameLayouts) and set to the first android:fitsSystemWindows=false and to the second android:fitsSystemWindows=true and simply switch visibilities to achieve wanted effect of one fragment going under translucent systembar and the second one not ?

Aucun commentaire:

Enregistrer un commentaire