Viewing XML by default


Last Updated:

  1. andywhoa

    andywhoa Well-Known Member This Topic's Starter

    Joined:
    May 15, 2010
    Messages:
    105
    Likes Received:
    13
    Hi,

    I'm new to Android and I haven't used Eclipse in the longest time. When opening a layout, say main.xml, can I change the settings so it defaults to the XML file and not the Layout view?

    Thanks for your help
     

    Advertisement
  2. andywhoa

    andywhoa Well-Known Member This Topic's Starter

    Joined:
    May 15, 2010
    Messages:
    105
    Likes Received:
    13
    Anyone? :(
     
  3. yktan

    yktan Member

    Joined:
    Jul 12, 2010
    Messages:
    5
    Likes Received:
    1
    Depends on which version of Eclipse you are using. For Eclipse Galileo, you can change the file associations at:
    Windows -> Preferences -> General -> Editors -> File Associations

    Other versions may be at:
    Window -> Preferences -> Workbench -> File Associations
     
    cp1 likes this.
  4. cp1

    cp1 Well-Known Member

    Joined:
    Apr 30, 2010
    Messages:
    375
    Likes Received:
    35
    Thanks, I was wondering the same thing for a while :)
     

Share This Page

Loading...