So I need to add TextViews andButtonsto my code **inside** the code itself like, dynamically adding them inside aforloop. My problem is setting thelayout_gravity` for both and getting them unique id’s. Is there a way to add an id from within the code?
UPDATE
I need the id of the TextViews and Buttons to get into the R.id folder, is that even possible?
You can any component like these.