Android Studio Java classes dont seemed linked to layout files -


i having issue can not link layout files java classes. importing code know worked project, , moved source code , associated layout xml files other project. (copy , paste)

is way link them back>

here example:

setcontentview(r.layout.activity_camera_protocol_demo); 

it can not resolve activity_camera_protocol_demo.

is fix this?

it text views , buttons ect on layout file.

go build --> rebuild project. solved me problems had.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -