hi friends,
i have two layouts for scrren:1 and screen:2
all i need to make screen:1 appear momentarily before screen:2 appears
i code looks like :
public class Screen1 extends ...
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.screen1);
public void onStart()
{ super.onstart(); startActivity(new Intent(this,Srceen2.class)); }
In Screen2 class
public class Screen2 extends ...
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.screen2);
when i run the apk the screen2 appears .now how to make scrren1 appear
momentarily ,
I tried to insert a code "Thread.sleep(..) in onstart() to make my
first screen1 appear momentarily ,but in vain
Please help
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---