title: how to dynamic load two different layout based on condition in android code
body: <p>I have a small project, which will require the one android application be used by different group.</p>
  
  <p>For example: one group is the regular user, another group is the admin user. </p>
  
  <p>My question is, if I like to create one similar UI android application, how to dynamically load the layout based on different condition (condition may be embedded in the local sqlite database), and move forward, the same condition will be kept, and the layout will be slightly different for different group of users.</p>