久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Android XML 編輯器和 Eclipse 的問題...難以手動編輯

Problems with Android XML Editor and Eclipse...Hard to manually edit XML(Android XML 編輯器和 Eclipse 的問題...難以手動編輯 XML)
本文介紹了Android XML 編輯器和 Eclipse 的問題...難以手動編輯 XML的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

自從我上次開發(fā) Android 應(yīng)用程序以來已經(jīng)有好幾年了.從那時起,Eclipse 中添加了一個圖形編輯器,允許您以所見即所得的方式(android sdk 的一部分)為布局生成 XML.我喜歡.加快速度.

但是,使用這個編輯器,我在xml 視圖"而不是圖形布局"視圖中編輯 xml 實在是太費時間了.

在 XML 視圖中,我不能再使用很多快捷鍵.像 ctl-c 或 ctl-v (剪切和粘貼),最令人沮喪的是我不能使用刪除"鍵.當我執(zhí)行剪切和粘貼時,沒有任何反應(yīng).檢查剪貼板,我可以看到一開始沒有任何內(nèi)容被復(fù)制.當按下刪除鍵時,會發(fā)生奇怪的副作用.有時什么都沒有……有時輸入小部件被刪除.我想不通.

在 XML 視圖中,我可以使用鼠標進行剪切和粘貼,一切都很好.我可以使用退格"鍵而不是刪除鍵來刪除文本.所以我可以毫無問題地把所有東西都放進去.但是...這是背部的主要疼痛.我已經(jīng)編程了 20 年的某些方式,并且很難讓自己使用鼠標進行剪切和粘貼等等.

有其他人遇到過這種情況嗎??我在互聯(lián)網(wǎng)上沒有找到任何與此問題相關(guān)的信息.

注意:我知道我可以將 Eclipse 中的編輯器首選項更改為只使用普通的 eclipse xml 編輯器,但我失去了所見即所得的顯示...這對于可視化來說非常好.

如果您發(fā)現(xiàn)此問題或知道解決此問題的方法...請告訴我.

我不認為這有什么不同,但這是我的規(guī)格.

日食:版本:4.1.0內(nèi)部版本號:M20110912-1510

Android 開發(fā)工具 12.0.0.v201106281929-138431

解決方案

今天發(fā)布的 ADT 20 Preview 3 中已修復(fù)此問題.

http://tools.android.com/download/adt-20-previewp>

It's been a few years since I have last developed android apps. Since then, a graphical editor was added to Eclipse that allows you to generate the XML for an layout in a WYSIWYG fashion (part of the android sdk). I like it. Speeds things up.

However, with this editor I am having a heck of a time editing the xml in the "xml view" as opposed to the "graphical layout" view.

When in the XML view, I can no longer use a lot of shortcut keys. Like ctl-c or ctl-v (cut and paste) and most frustratingly I can't use the "delete" key. When I perform a cut and paste, nothing happens. And checking the clipboard, I can see that nothing gets copied in the first place. When hitting the delete key, strange side effects happen. Somtimes nothing...othertimes enter widgets are removed. I can't figure it out.

While in the XML view, I can use the mouse to cut and paste and everything is fine. I can use the "backspace" key to remove text instead of the delete key. So I can get everything in there with no issues. But...this is a major pain in the backside. I have been programming certain ways for 20 years and it is hard to get myself to use the mouse to cut and paste and whatnot.

Has anyone else eperienced this?? I haven't found anything on the internet pertaining to this problem.

Note: I know I can change the editor preferences in Eclipse to just use the normal eclipse xml editor but I lose the WYSIWYG display...which is nice to have for visualization.

If you have seen this problem or know of a way to get around it...please, please, please let me know.

I don't think it makes a difference, but here are my specs.

Eclipse: Version: 4.1.0 Build id: M20110912-1510

Android Development Tools 12.0.0.v201106281929-138431

解決方案

This is fixed in ADT 20 Preview 3, released today.

http://tools.android.com/download/adt-20-preview

這篇關(guān)于Android XML 編輯器和 Eclipse 的問題...難以手動編輯 XML的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Why would you choose Android API over Google APIs in the SDK on Eclipse?(為什么在 Eclipse 的 SDK 中選擇 Android API 而不是 Google API?)
admob 6.2.1 nullpointer exception(admob 6.2.1 空指針異常)
My phone cannot be detected in eclipse to test run(eclipse 無法檢測到我的手機進行試運行)
platform-toolsaapt.exe directory missing in android SDK(android SDK 中缺少 platform-toolsaapt.exe 目錄)
error importing com.google.android.gms.*;(導(dǎo)入 com.google.android.gms.* 時出錯;)
How do I know that the Soundpool is ready using SDK target below 2.2?(我如何知道 Soundpool 已準備好使用低于 2.2 的 SDK 目標?)
主站蜘蛛池模板: 黄色三级av | av片在线观看 | 中文字幕亚洲欧美 | 成人小网站 | 久久草视频 | 在线a| 蜜臀久久99精品久久久久宅男 | 婷婷五月在线视频 | 国产精品一区二区不卡 | 久久艳片www.17c.com | 国产在线不卡视频 | 精品99视频 | 日本一级大片 | 深夜福利在线播放 | 国产欧美日韩综合精品 | 日韩中文字幕第一页 | 亚洲色在线视频 | 精品蜜桃一区二区三区 | 99伊人| 日本黄a三级三级三级 | 亚洲无人区一线二线三线 | 成人91视频| 日韩av在线免费看 | 深夜免费福利 | 奇米影视亚洲春色 | 亚洲欧美精品一区 | 欧美超碰在线 | 国产精品久久久久久久免费看 | 久热在线 | 国产精品国产精品国产专区不片 | 免费网站观看www在线观 | 黄色1级视频 | 国产一级黄 | 成人福利在线 | 国产欧美成人 | 日韩精品视频在线免费观看 | 久久精品欧美一区二区 | 秋霞一区二区三区 | 国产精品成人国产乱一区 | 成人免费福利视频 | 一级黄色小视频 |