If you are using the new 9.0.0 preview bits you can go to the
Options/Preferences dialog, and enable Android > Editors >
Automatically format the XML edited by the visual layout editor. This
will run the Eclipse formatter on your behalf behind the scenes when
you are making graphical edits, so you don't have to switch to the XML
editor and explicitly run the formatter yourself.

If this option is not enabled (as is the default), we will (as of
9.0.0 preview) attempt to modify the formatting as little as possible
and in general preserve the whitespace and indentation that already
exists in the file.

-- Tor

On Thu, Dec 16, 2010 at 5:07 AM, Kostya Vasilyev <[email protected]> wrote:
> Thank you, this worked great!
>
> 16.12.2010 16:02, Jake Basile пишет:
>>
>> This is an option in the Eclipse XML formatter. Open your
>> preferences>XML>XML Files>Editor and turn on "split multiple attributes each
>> on one line". --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget --
> http://kmansoft.wordpress.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
-- Tor

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to