title: Use Layout xml conditionally in Android?
body: <p>I am getting started with some android development, and on the first screen of the app I am working on, I want the screen to display either a login/registration prompt, or the User's photo, depending on whether or not they are logged in to the app. </p>
  
  <p>Should I just scratch using the xml for this? or there a way I can get the xml to draw differently depending on whether or not the user has logged in?</p>