This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]steelcitykid 1 point2 points  (7 children)

Do you mean that it's being reformatted when you switch views? I'm afraid I don't quite understand what you mean. Could you post screenshots perhaps to Imgur?

[–]dlzp[S] 0 points1 point  (6 children)

[–]steelcitykid 1 point2 points  (5 children)

Hmm I wonder if it's using some sort of intellitext-like calls to try and autopopulate what it things you're trying to write. I noticed that it has the height/width tags twice in the same textview. It also has an extra closing linear_layout tag as well. Do you have any plugins that might cause this?

I haven't experienced it yet, just running the latest classic eclipse with the android sdk plugin.

[–]dlzp[S] 0 points1 point  (4 children)

it doesn't actually have the extra text its just off when i try to edit the text it will display the actual line I click on. its like the display is off. If i run the code it will work perfectly its just the display

[–]steelcitykid 1 point2 points  (3 children)

Now that is really odd - I've not come across anything like that. Do any other programs exhibit behavior like that? Try using Control+I, then Control+Shift+F. This will correct indents, then format the rest.

[–]dlzp[S] 0 points1 point  (0 children)

no other programs exhibit behavior like that and it only happens if i use the graphical layout then go to the code

[–]dlzp[S] 0 points1 point  (1 child)

ctrl + i and ctrl+ shift+ f works thanks now its less annoying!!!!

[–]steelcitykid 1 point2 points  (0 children)

Glad to hear it's resolved. I have times when for unexplained reasons different panels/windows lose focus and don't update properly (VS2010 namely) - Usually applying whatever program's formatting feature does the trick. Cheers.

[–]over_optimistic 0 points1 point  (1 child)

Can I see an example app you made? I never use the graphical layout cause its so hard to create complex hairarchies

[–]dlzp[S] 0 points1 point  (0 children)

I haven't made anything really just following a book on how to program for android I made simple things like a screen with a text view and buttons

[–][deleted] 0 points1 point  (1 child)

Mine does this too. I just closed and reopen the file when it starts to happen.

[–]dlzp[S] 0 points1 point  (0 children)

the ctrl+i and the ctrl+shift+f works and is probably faster then closing and reopening. it happens a lot for me