my code lines are expand and i was wondering if there was a way to collapse them all and make it that way everytime.
http://www.youtube.com/watch?v=Ki-j16GZ4hY heres the link to a video i posted that shows the exact problem.
I looked at your video twice and still don't understand what you issue is. In the video you said "I did this manually" but you never explained what "this" is! And the video seems to have nothing to do with the text you posted here. So here are two guesses:
a) Based on the text you posted here you want to auto-fold all lines. Try right-clicking the + or - in the left column next to the text and select fold all
b) Making a guess from the video, try going to Window | Preferences | XML | XML Files | Editor and play with the options there, such as "Split multiple attributes..."
By the way, this is an Eclipse question so moving the post to that forum.
<Button android:id="@+id/widget31" android:typeface="sans" android:text="Enter The Land Of COBUS" android:layout_height="wrap_content"
android:textStyle="bold" android:layout_alignParentBottom="true" android:layout_width="match_parent"></Button>
it was really expanded and ive watched tutorials and there text just lines up automatically. i was wondering if there was a way to just make it look like this everytime.
<Button
android:id="@+id/widget31"
android:typeface="sans"
android:text="Enter The Land Of COBUS"
android:layout_height="wrap_content"
android:textStyle="bold"
android:layout_alignParentBottom="true"
android:layout_width="match_parent">
</Button>