Today I installed Android Studio and started the first Android development. This article will continue to record some common skills in Android development. Welcome to bookmark and like.
1. Forward and backward
ctrl + alt + left : 后退
ctrl + alt + right :前进
2. Automatically add libraries
alt + Enter
3. Test running time
long startT = System.nanoTime();
long runT = System.nanoTime() - startT;
System.out.println(runT);
System.out.println(runT / (1000000) + "ms");