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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -