Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

6 anos atrás
6 anos atrás
6 anos atrás
6 anos atrás
6 anos atrás
6 anos atrás
6 anos atrás
6 anos atrás
6 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # 模板工程
  2. > 博客地址:[但愿人长久,搬砖不再有](https://www.jianshu.com/p/77dd326f21dc)
  3. > 当我们日复一日年复一年的搬砖的时候,你是否曾想过提升一下开发效率,如果一个模板的项目摆在你的面前,你还会选择自己搭架构么
  4. > 但是做出一个好的模板项目并非易事,有多少人愿意选择去做,还有多少人选择努力去做好,可能寥寥无几,但是你今天看到的,正是你所想要的,一个真正能解决你开发新项目时最大痛点的模板工程,你不需要再麻木 Copy 原有旧项目的代码,只需改动少量代码就能得到想要的效果,你会发现开发新项目其实是一件很快乐的事
  5. > 已经正式投入公司新项目开发多时,暂时没有发现毛病,[点击此处下载Demo](https://raw.githubusercontent.com/getActivity/AndroidProject/master/AndroidProject.apk),如果有问题随时欢迎你提交 [issues](https://github.com/getActivity/AndroidProject/issues/new) 给我反馈
  6. ![](picture/0.png)
  7. ![](picture/1.gif)
  8. ![](picture/2.png)
  9. ![](picture/3.png)
  10. ![](picture/4.png)
  11. ![](picture/5.png)
  12. ![](picture/6.png)
  13. ![](picture/7.png)
  14. ![](picture/8.png)
  15. #### 集成框架
  16. * 权限请求框架:[https://github.com/getActivity/XXPermissions](https://github.com/getActivity/XXPermissions)
  17. * 标题栏:[https://github.com/getActivity/TitleBar](https://github.com/getActivity/TitleBar)
  18. * 吐司工具类:[https://github.com/getActivity/ToastUtils](https://github.com/getActivity/ToastUtils)
  19. * 状态栏沉浸:[https://github.com/gyf-dev/ImmersionBar](https://github.com/gyf-dev/ImmersionBar)
  20. * 界面侧滑功能:[https://github.com/bingoogolapple/BGASwipeBackLayout-Android](https://github.com/bingoogolapple/BGASwipeBackLayout-Android)
  21. * 圆形ImageView:[https://github.com/hdodenhof/CircleImageView](https://github.com/hdodenhof/CircleImageView)
  22. * ButterKnife注解:[https://github.com/JakeWharton/butterknife](https://github.com/JakeWharton/butterknife)
  23. #### 模板项目亮点,[查看详细](ProjectDetails.md)
  24. * APP用户体验:已经集成界面侧滑以及状态栏沉浸框架
  25. * 必备优秀框架:危险权限处理,标题栏控件,吐司工具类,圆形ImageView
  26. * 常用页面模板:启动界面,主页界面,登录界面,注册界面,关于界面,浏览器界面
  27. * 集成友盟统计:集成友盟统计,并且加入了友盟多渠道打包,在发布release包时可选择渠道包
  28. * 界面样式规范:项目的严格按照 Material Design 设计进行配色,统一和规范Button和EditText控件样式
  29. * 常用自定义View:圆形ImageView,验证码点击倒计时View,带清除按钮的EditText,正方形的FrameLayout、LinearLayout、RelativeLayout、ImageView
  30. * 代码注释规范:代码严格按照谷歌级规范来做,如需寻找友盟相关的代码,全局搜索 "友盟" 即可,任何一处不关于原生的 API 都有非常完善的注释
  31. #### 修复Android普遍存在的问题,[查看详细](AndroidBug.md)
  32. * 修复 Button 在Android 5.1 之后英文字符串自动大写的问题
  33. * 修复 Button 在设置状态选择器后仍然残留按压阴影的问题
  34. * 修复某些低配置机型启动页停留在白屏的时间比较长的问题
  35. * 修复某些机型在 WebView 长按时布局被顶下来的问题
  36. * 修复 任务栈中 首页Activity 被重复启动的问题
  37. * 修正 Android 9.0 限制 Http 明文请求的问题
  38. #### Android技术讨论Q群:78797078
  39. #### 如果您觉得我的开源库帮你节省了大量的开发时间,请扫描下方的二维码随意打赏,要是能打赏个 10.24 :monkey_face:就太:thumbsup:了。您的支持将鼓励我继续创作:octocat:
  40. ![](picture/pay_ali.png) ![](picture/pay_wechat.png)
  41. ![](picture/pay_bonus.png)
  42. ## License
  43. ```text
  44. Copyright 2018 Huang Jinqun
  45. Licensed under the Apache License, Version 2.0 (the "License");
  46. you may not use this file except in compliance with the License.
  47. You may obtain a copy of the License at
  48. http://www.apache.org/licenses/LICENSE-2.0
  49. Unless required by applicable law or agreed to in writing, software
  50. distributed under the License is distributed on an "AS IS" BASIS,
  51. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  52. See the License for the specific language governing permissions and
  53. limitations under the License.
  54. ```