Photoshop 中的 Android 布局
有没有在 Photoshop 中设计 Android 布局的插件?创建 android XML 布局是不必要的乏味(尤其是必须为每个参数键入“android:”,并在每个函数上键入布局参数,而当您开始该元素的开始标记时,它们可能会自动包含),这是可用工具的一个因素。
我确信人们会为自己将其打出来而感到自豪,但还记得那些吹嘘在记事本中编码的 HTML 精英吗?类比:您可以使用扳手将钉子钉入木头,但还有更好的工具。
我想photoshop的切片工具和html导出工具可以很容易地配置为保存为android XML,图层可以是相对布局,并且定位完好无损。有人已经这样做了吗?
is there a plugin for designing android layouts in photoshop? Creating android XML layouts is unnecessarily tedious (especially with having to type "android:" for every parameter, and typing out the layout parameters on every function when they might as well be auto-included when you begin the opening tag for that element), this is a factor of the tools available.
I'm sure people pride themselves in typing it out, but remember HTML elitists that brag about coding in notepad? Analogy: You CAN use a wrench a to drive a nail into wood, but there are better tools.
I imagine that photoshop's slice tool and html export tool could EASILY be configured to save for android XML, layers could be RelativeLayouts with the positioning intact. Has anybody done this already?
试试这个工具,虽然不完美,但有用:
http://www.droiddraw.org/
try this tool, not perfect, but usable:
http://www.droiddraw.org/