Skip to content

Instantly share code, notes, and snippets.

@fumiz
Created February 19, 2012 10:29
Show Gist options
  • Save fumiz/1863008 to your computer and use it in GitHub Desktop.
Save fumiz/1863008 to your computer and use it in GitHub Desktop.
extract view id from android layout xml
grep +id your_layout.xml | perl -nle 'print /^.+"@\+id\/(.*)"/'
@StefanRademakers
Copy link

Awesome, just what I was looking for!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment