title: Setting Button ID programmatically
body: <p>Android 2.3.3</p>
  
  <p>I have a table with N rows and N columns. For each row, I should add 4 buttons dynamically, and later do actions based on the button clicked. I know we can set the button IDs with Integer values with <code>button.setID()</code>, but I want to know whether we can set IDs as string values as we set in XML files, such as <code>btnXYZ1</code> and <code>btnXYZ2</code> etc., </p>