I´ve tried most of the xml options but the result was the same. I can move part of the imageview outside the"windows" limit when moving to the left (x < 0) but when I try to move it to the right just the same way (x + imageview.getWidth() > windowSize.width) android starts rezising the image automatically so it fits completly in the screen.
Please, throw some light in here! On 24 jan, 16:33, Gabriel Simões <[email protected]> wrote: > Will I have to crop the image dinamically? Please, give me some help > on this one. > > On 24 jan, 15:27, Gabriel Simões <[email protected]> wrote: > > > > > > > > > Hello, > > > I´ve been searching the internet on how to position an ImageView > > inside a RelativeLayout using coordinates in pixels. > > After quite a research I decided to use LayoutParams and setMargin() > > which is working quite well. > > Sometimes my ImageView should be positioned up to half width outside > > the screen limit and using this method I´m able to set it before the > > left border (X coordinate < 0). > > My problem happens when the X cordinate + ImageView.getWidth() > > > screenSize ... the ImageView is automatically resized to fit on the > > screen, being half of its original width and height. > > > I think it´s probably just a property I need to set but I couldn´t > > find anything about it. > > > Could you guys help me out? > > > Thanks, > > Gabriel Simões -- 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

