让你飞快构建Android开发框架----Android Studio Template
来源:互联网 发布:python logger 编辑:程序博客网 时间:2024/05/21 10:30
上周在QQ群吹水的时候,发现数个QQ群被一张神奇的图刷屏了,大家纷纷表示对该图有极大的兴趣,该图如下:
2、插件收集
其实上述的效果图为AS的模板,打开Android Studio的安装目录,对于Activity的模板,在
/plugins/android/lib/templates/activities
,如下图:
除了内置的几个模板,我们可以自己开发,当然github上也有部分开源的模板,只需要下载别人提供的模板文件,copy至
然后重启Android Studio即可。
可以参考的插件如下:
- Android-studio-material-template
https://github.com/kanytu/Android-studio-material-template
A template for Android Studio to create applications with material design and Navigation Drawer.包含:MaterialNavigationDrawerActivity。
- android-studio-template
https://github.com/MontazzeStudio/android-studio-template
包含DrawerWithTabsActivity和RecyclerRefreshActivity
- AndroidStudioTemplate
https://github.com/gabrielemariotti/AndroidStudioTemplate
包含SwipeRefreshLayout,还有一些常用的模板。
除了Activity模板,还有些其他的模板,下面这个模板就很有意思:
- https://github.com/intrications/material-design-icons-adt-template
用于创建Material Design Icon,可以非常方便的创建Icon,再也不需要自己去找下载各种尺寸了。
然后可以选择创建需要的Icon,如图:
当然上述这些开源项目理论上只是用于参考,不过讲道理我们应该自己去学习如何编写这样的模板,针对我们平时的需求去编写一些模板,提升开发效率。
我也给大家找了些模板开发的相关链接,大家可以参考下。
3、模板开发相关资料
- http://www.jianshu.com/p/81d03519dd33
- https://www.zhihu.com/question/46979171
- http://www.i-programmer.info/professional-programmer/resources-and-tools/6845-android-adt-template-format-document.html
- https://developer.android.com/studio/projects/templates.html
- http://robusttechhouse.com/tutorial-how-to-create-custom-android-code-templates/
有兴趣的可以结合这些项目和开发资料尝试自己开发一些模板了,本文的目的就是先对Android Studio的模板有个直观的认识,后面也会编写一个如何开发模板的博客,希望这些资料对各位有用~~
- 让你飞快构建Android开发框架----Android Studio Template
- 让你飞快构建Android开发框架----Android Studio Template
- Android Studio live template巧用动态模板也能大大提高你的开发效率
- Android Studio常用代码模版,让编码飞起来 template
- Android Studio_Android Studio Template
- Android Studio Template
- 【Android Studio】Live Template
- Android Studio Template
- Android开发环境的构建---Android Studio
- 4.0、Android Studio配置你的构建
- myeclipse 彻底让烦人的各种验证消失 让你的开发速度飞快
- Android Studio使用技能分享(2)--全面提升你的开发效率,让你运指如飞
- 1.1构建Android Studio开发环境
- 神奇的Android Studio Template
- 神奇的Android Studio Template
- 神奇的Android Studio Template
- 神奇的Android Studio Template
- 神奇的Android Studio Template
- 关于小程序
- struts2实现文件下载
- java 集合类对比
- WebAssembly,Web的新时代
- Spring的MapPropertySource刷新系统属性值(key-value配置在外部系统中如redis,数据库等)
- 让你飞快构建Android开发框架----Android Studio Template
- 可重用模块化设计运用到menu小程序
- Pyhton3+openCV3初体验
- python+requests接口自动化测试框架实例详解教程
- [Android学习笔记] Service 学习
- Vue.js框架
- 浅谈nginx内存池(三)
- 1.2 Web 资源
- 通过 实例带你学习RPC框架gRPC