On Mon, Oct 4, 2010 at 4:32 AM, Kambanka <[email protected]> wrote: > I have a basic LayoutActivity set to fill_parent. When created, > though, it is broken on the left and right. The problem is that just > below the titlebar of the activity and above application canvas there > are two lines - one left and one right - which are 1px high and about > 5-10px wide. A consequence of their presence is that some of the > widgets (buttons mainly) below these lines got their edges misplaced > down as if they "push" the contets down. It happens on a new > installation of Eclipse with Google Android SDK 0.9.9. When compiled, > signed and deployed to HTC Wildfire (Android OS 2.1) the lines keep on > being there. These lines are also present in the basic HelloWolrd > empty new project. > > Here's a link to a screenshot with broken buttons - > http://www.ka-service.eu/MisplacedLines.png > and a screenshot with a newly created Android project (the XML layout > is visible, too) - http://www.ka-service.eu/HelloWorldLines.png > > Anyone know what's wrong?
Those are Buttons, and you are comparing them to TextViews. What you are seeing is some effective built-in padding of the Button widget, I suspect. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.0.1 Available! -- 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

