This topic created in 5113 days ago, the information mentioned may be changed or developed.
因为工作中需要翻译文章,所以就期望能够做一个程序,能够将英文粘到左边的textview,然后在右边的文本框中写译文。
当然,如果只是这样就很简单了,最主要是能够将左右的段落连接起来,比如我选中左边一个段落,右边就能够高亮相应的译文
现在是放入两个textview,但是如何将其保存到一个文件中去?然后读取的时候分开读?
还有就是如何连接两边的段落?
谢过~
6 replies • 1970-01-01 08:00:00 +08:00
 |
|
1
manhere May 20, 2012
汉王有这种软件啊,忘记名字了。。。
|
 |
|
5
lex May 20, 2012
如果自己做的话,可以用webview,然后html大概是这样:
<div class="para"> <textarea class="target">大菠萝</textarea> <p class="source">Diablo</p> </div>
<div class="para"> <textarea class="target">Leah</textarea> <p class="source">莉亚</p> </div>
<style> .para:hover{background:lightgray;} .target{float:right;width:50%;background:transparent;border:0;} .source{width:50%;} }</style>
|