Categories
Android

Android XML Editor cannot process this input

If you open an XML document in Eclipse and you get the error “Android XML Editor can not process this input”, you can solve it by opening the preferences (Window menu -> Preferences) and select General -> Editors -> File Associations, highlight *.xml , and choose XM Editor as default editor, and then no more Android Common XML Editor.

Categories
Android

Placing the components of a LinearLayout

The purpose of layout is to arrange the various components within itself according to a particular scheme and the LinearLayout is the simplest of layout which is proposed by default when you create an Android project.