Giter VIP home page Giter VIP logo

lzandroid's Introduction

欢迎围观lzandroid beta版,为了防止重复造轮子,此框架是本人工作中遇到的一部分的常用需求的积累,目前只发布了很少的一部分,希望可以和大家一起慢慢完善,希望将来我们的android开发工程师有需要的时候可以直接把此框架拉出来就用,并且节省项目40%以上的开发时间,由于时间仓促,当前只是BETA版,等洒家觉得成熟了,会发布正式版的。欢迎关注,欢迎提交

测试打包key及服务器php代码

打包key目录 /key/lazy

WEB服务器目录 /key/web/

##目录结构

APP

  • application <底层application>
  • basedb <底层sqlite数据库操作类>
  • basefunc <底层功能类>
  • basemodel <底层mode类>
  • baseprotocol <底层网络请求类>
  • baseservice <底层service类>
  • baseui <底层ui界面类>
  • config <常用配置类>
  • handler <常用handler类>
  • sample <demo项目代码>
  • umengCallback <友盟回调类>
  • wxapi <微信回调类>

##首页界面效果

image

##屏幕适配

由于android和苹果的屏幕不一样,美工需要做大量的工作去适配android和苹果的app,洒家琢磨着用苹果的效果图和标注去适配安卓,试验成功。给美工节省30%以上的工作量,思路如下

  • 已知IOS2倍效果图尺寸640*960
  • android最好适配的尺寸720*1280,在此尺寸下2px=1dp
  • 把 ios 效果图放大到android的尺寸 为 640 * 960 * 1.125 = 720*1080
  • 根据适配计宽不计高的原则, 200像素省掉

得出结论:IOS 2倍效果图的尺寸下 2px / 1.125 = 1.77777px = 1dp

  • 为了避免图片发虚的情况,请用IOS的三倍图的切图,二倍图的标注。
  • 关于屏幕的高度,请按照权重排版,根据项目的实际情况自由发挥

欢迎进群交流: 300585952 QQ:187228131 另外求一份北京地区安卓开发的工作,目前已离职。

lzandroid's People

Contributors

mankind-evolve avatar

Watchers

James Cloos avatar yangmo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.