android - How to match xml layout files to integers on an decompiled apk? -


i trying learn how decompiling android apk using apktool works. when use apktool extract simple apk, of resources extracted correctly. when check activity oncreate, expect see findviewbyid(myview) this:

findviewbyid(2356778) 

i not know number comes from, , can not figure out number refers xml layout file.

if extracted apktool means, corresponding layout name findviewbyid(0x7f030028) present in /res/values/public.xml

in public.xml can see this,

<public type="layout" name="your_layout_name" id="0x7f030028" /> 

Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -