Android developers using android studio may find it is similar to eclipse + ADT, personal android studio after found that android studio in addition to the interface is more cool outside, there is not much advantage. And the majority of users criticized the memory usage is also a big problem There is no solution: I found that android studio is more memory than eclipse when developing Android. However, android studio in the file - new menu, you can quickly create a new Activity function is quite practical, as shown in Figure: android studio's new activity function do not have to let us very troublesome to build a java class and then inherit the Activity, Activity Several necessary methods are automatically declared for us. In fact, eclipse also has this feature:
Eclipse Android use activity template to quickly create a new activity
Eclipse new menu inside actually has a quick new Activity function, but not on the eye-catching position: rapid new activity several methods: 1 respectively open the menu FILE - NEW - other - Android - Activity; 2Ctrl + N- - Android - Activity; can also use the new activity method can quickly create new Android image resource file
This article has been printed on copyright and is protected by copyright laws. It must not be reproduced without permission.If you need to reprint, please contact the author or visit the copyright to obtain the authorization. If you feel that this article is useful to you, you can click the "Sponsoring Author" below to call the author!
Reprinted Note Source: Baiyuan's Blog>>https://wangbaiyuan.cn/en/eclipse-android-using-the-activity-template-to-quickly-create-a-new-activity-2.html
No Comment