title: Android reset activity component state on navigation back
body: <p>I have 2 activities in my application.
  In <strong>activity1</strong>, I set some configuration and I modify the state of some component (ex: set button state <em>disabled</em>). And I navigate to <strong>activity2</strong>.</p>
  
  <p>In <strong>activity2</strong> I do some stuff and at end, I finish this activity and come back to <strong>activity1</strong>.</p>
  
  <p>But In <strong>activity1</strong>, my components state are the same when I leave this activity.</p>
  
  <p>How to reset the components state with valuesdeclared in <strong>XML file</strong> (<em>layout</em>) ?</p>