Copy and rename a fragment layout you want to use. Then take a look at the deisgn code for a product and you should see a blockif for login there - copy it and reuse it for your newly renamed fragment layout. Use this layout whenever you want to hide the fragment.
Comment