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,
python primitive -- lock Lockgit Pull the remote branch and switch to it ( Essence 2020 year 6 month 3 Daily update ) TypeScript Detailed explanation of Chinese interface Note 14 : The second biggest obstacle to motivating others in R & D management rk3399_android7.1 debugging USB Summary of Bluetooth module ( Essence )2020 year 7 month 15 day Wechat applet import and include difference be based on RK3399 PWM Drive development Golang Array bisection , Array split , Array grouping ( Essence )2020 year 8 month 2 day TypeScript The use of generics Java Thread of Sleep() Summary of usage