title: Android - How to get the time of created button
body: <p>Is there any function in Android, that can return time, when the <code>Button</code> was created (displayed) in layout. I am using now something like that, but I don't know, how realistic time it returns. </p>
  
  <p><code>frameLay.addView(okButton,layoutParams);
  Date date1 = new Date();
  setTimeCreate(date1.getTime());
  </code></p>
  
  <p>Maybe there are some functions in C/C++, which I can use.</p>
  
  <p>PS: Sorry for my English, I am not native english speaker</p>