title: Android - How to get reference to view in a custom layout?
body: <p>I have a <code>ListView</code> that gets its layout for each item from "rowlayout".</p>
  
  <p>I want to do something to one of the buttons in the rowlayout in my main activity, how do i get a reference to it <code>findviewbyid</code> doesn't work. </p>
  
  <p>I guess i'm essentially not understanding a general concept of how to get a reference to a view in a custom layout- unless getting a view from a <code>ListView</code> is different. Can anyone help? thanks. </p>