I add functionality to someone else's application, I encountered a problem in adding new id. With layouts everything is easy and simple, I supplement R $ id.smali with static data following the order of the hexadecimal system. For example, the latter costs 0x7f03008d , which means you need to add your own 0x7f03008e , etc. But this is with layout. And what about the id? Here is such a list (last 5)
.field public static final welcome_sync_opt3:I = 0x7f0801cc .field public static final writebar_attach:I = 0x7f0801e0 .field public static final writebar_edit:I = 0x7f0801de .field public static final writebar_line:I = 0x7f0801e1 .field public static final writebar_send:I = 0x7f0801df