开源中国6-1期开源软件推荐 DroidDraw
时间:2010-05-31
来源:linux论坛
在手机上看
手机扫描阅读
开源中国6-1期推荐的开源软件是DroidDraw,基于Java Swing的Android页面设计器。
可以通过DroidDraw来生成复杂的Android Layout XML文件,据作者介绍,Android的Layout和Swing Layout中有很好的对应,设计器的代码编写起来还是比较容易的。
android下,高级组件,通过xml来配置,书写,然后程序装载这个xml资源显示在屏幕上。虽然官方提供了ide得插件,可以更方便得编辑 xml, 但是用起来还是很不方便得,因为不能所见及所得得设计界面。好在有热心得哥们,写了更方便得工具,搭救广大水深火热得小程序员们。
设计器的界面如下:
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://pub.chinaunix.net//uploadfile/2010/0531/20100531085526660.jpg');}" onmousewheel="return imgzoom(this);" alt="" />
可以通过DroidDraw来生成复杂的Android Layout XML文件,据作者介绍,Android的Layout和Swing Layout中有很好的对应,设计器的代码编写起来还是比较容易的。
android下,高级组件,通过xml来配置,书写,然后程序装载这个xml资源显示在屏幕上。虽然官方提供了ide得插件,可以更方便得编辑 xml, 但是用起来还是很不方便得,因为不能所见及所得得设计界面。好在有热心得哥们,写了更方便得工具,搭救广大水深火热得小程序员们。
设计器的界面如下:
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://pub.chinaunix.net//uploadfile/2010/0531/20100531085526660.jpg');}" onmousewheel="return imgzoom(this);" alt="" />
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28