Android Studio Template

这篇文章是转载hongyang的文章,里面预设了非常多的Activity模板,可以方便的添加各种效果,极大的减少了bufenbiao

插件收集

对于Activity的模板,在
Appaction/AndroidStudio.app/Contents/plugins/android/lib/templates/activities
这里写图片描述

每个Activity模板,对应一个文件夹,对应我们创造Activity时,New Activity,如图:

这里写图片描述

除了内置的几个模板,我们可以自己开发,当然github上也有部分开源的模板,只需要下载别人提供的模板文件,copy至

{Android Studio installation dir}
\plugins\android\lib\templates\activities\

然后重启Android Studio即可。

可以参考的插件如下

模板开发相关资料

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/

下面这个是关于鸿杨的自定义模板的地址,可以链接过去学习一下
http://mp.weixin.qq.com/s/u_yaTIfT79Nxz9oWWpEcnA

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值