Description

SpecByName parses the spec name from an entry string if necessary and returns the Package and TypeSpec associated with that name.

For example:

tbl.SpecByName("@android:style/Theme.NoTitleBar")
tbl.SpecByName("style")

Both locate the spec by name "style".

SpecByName is referenced in 1 repository

github.com/golang/mobile