Load your company on the flash screen logo Play a subtle role in propaganda , stay app Most of the projects in have flash screen interface skip function , Don't talk about the code :

public class MainActivity extends Activity { private TextView tv_scape;
privateHandler handler; private Runnable runnable; @Override protected void
onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.
activity_main); tv_scape=(TextView)findViewById(R.id.tv_scape);// skip /** *
Normally, do not click skip */ handler=new Handler(); handler.postDelayed(runnable= new
Runnable() {@Override public void run() { // Jump from splash screen to first screen Intent intent=new
Intent(MainActivity.this,SecondActivity.class); startActivity(intent); finish();
} },5000);// delay 5S Post send handler information /** * Click to skip */ tv_scape.setOnClickListener(new
View.OnClickListener() {@Override public void onClick(View view) { // Jump from splash screen to first screen
Intent intent=new Intent(MainActivity.this,SecondActivity.class);
startActivity(intent); finish(); if(runnable!=null){ handler.removeCallbacks(
runnable); } } }); } } design sketch :

complete , I hope I can help you .

Technology
©2019-2020 Toolsou All rights reserved,
java Four functional interfaces ( a key , simple )os Simple use of module Browser kernel ( understand ) Some East 14 Pay change 16 salary , Sincerity or routine ?HashMap Explain in detail It's unexpected Python Cherry tree (turtle The gorgeous style of Library )html Writing about cherry trees , Writing about cherry trees