title: How to create custom button onClick() event Android(Studio)?
body: <p>I'm creating my first Android App, and as part of it, I need to add new buttons after a click on another button.</p>
  
  <p>Then I need to <code>create()</code> a button after a <code>onClick()</code> event on another button.</p>
  
  <p>How to do it?
  Things you should know:</p>
  
  <ul>
  <li>I am using Android Studio to develop the app,</li>
  <li><p>I have already imported these:</p>
  
  <pre><code>import android.view.*;
  import android.widget.Button;
  import android.widget.TextView;
  </code></pre></li>
  <li>And I'd like to know where to get the whole Library list for android, or better, I'd like you to say what's your best android library to develop on such these things, I need to find and get experienced on a library so I'll need suggestions!</li>
  </ul>
  
  <p>Thanks a lot in advance :)</p>
  
  <p>P.S. Just typed those <code>create()</code> and <code>onClick()</code> to make it clear that I was talking about methods, but not that both of 'em are real ones or the ones I'll need ;)</p>
  
  <p>P.P.S. I don't know how many buttons will be ther becuase I do NOT choose that, the user does, it's somethig like: I want to create a new thing, then I press the button '+' and create a new button (the new thing), for this reason, the amount of buttons isn't known, that's why I can't use the visibility trick, but yeah I first thought about that aswell!</p>