1.右键单击xml文件,选择open with—>xml 编辑器 2.默认是以Design的方式显示,不方便编辑。 3.看左下角有两种视图,一种是Design视图,一种是Source视图,点击Source视图即可正常编辑。