File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes Changing java file after layout change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Changing java file after layout change" Watch "Changing java file after layout change" New topic

Changing java file after layout change

Kovacs Akos
Ranch Hand

Joined: Oct 13, 2013
Posts: 30

After layout change I can not use the new layout's functions. In logcat I see that he try to find the function in the old layout's java file. Why?
Steve Luke

Joined: Jan 28, 2003
Posts: 3932

It is not clear what you mean. Could you restate the problem in more detail:
- Include specifically what you did that did not work
- Include the message you get from LogCat
- Include example source code

The first thing to do would be to clean your project and rebuild it to make sure all classes are using the most up to date versions of things.

I agree. Here's the link:
subject: Changing java file after layout change
Similar Threads
GUI not updated
RADi, a new Java GUI Builder
help please?
can we change layout file after clicking button