Android - Open new Activity from extends framelayout

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Android - Open new Activity from extends framelayout

Postby simple80 » Sun Sep 23, 2012 9:15 am

Hello,

I'm doing that sample:

http://code.google.com/p/proyectouvipoo ... .java?r=87

I want to change at this line

public void onClick(View v) {layout.setVisibility(GONE);}

to

public void onClick(View v) {

Intent myIntentopen = new Intent(MainActivityold.class, MainActivitynew.class);
startActivity(myIntentopen);

}

but it dosn't work.

thanks.
simple80
Freshman
Freshman
 
Posts: 2
Joined: Sun Sep 23, 2012 9:10 am

Top

Re: Android - Open new Activity from extends framelayout

Postby Podachka » Mon Nov 11, 2013 5:48 pm

Very good and informative exchange .. Thank you!
Podachka
Junior Developer
Junior Developer
 
Posts: 16
Joined: Mon Nov 11, 2013 5:37 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 9 guests