I try to create program in the code. There was a need to set a specific ID for each twist. I read the following article: https://stackoverflow.com/questions/3216294/programmatically-add-id-to-r-id
Here, for example, I have
res / values / ids.xml
<?xml version="1.0" encoding="utf-8"?> <resources> <item name="my_edit_text_1" type="id"/> <item name="my_button_1" type="id"/> <item name="my_time_picker_1" type="id"/> </resources> How to add a new ID there programmatically ??