Means that I have integrated my image with the activity background image. So I no longer have an imageview in the activity but only the background and I place my progress bar according to the screen dimensions not imageview dimensions.
"i think it should just work provided you get the matrix after the layout management has been done on your imageview" Than please advice when exactly (or where in the code to be precise) is this moment - since in all of the listeners I have mentioned, the Matrix did not gave correct points - the points where the same as if the imageview was not rescaled at all. So I.e. Input point 110,50 (correct on original unscaled bitmap)- output points 110,50 (incorrect on the screen) 2012/9/27 skink <psk...@gmail.com>: > > > Serdel wrote: >> "i don't think so since this matrix is used internally for drawing the >> image - see ImageView.java " >> >> Well I tried the matrix in onCreated, in onFocusChanged Listener and in >> Image view onPreDraw and onGlobalLayout listeners - the point where >> calculated exactly as if the bitmap was not resized and the progress bar >> was misplaced. >> >> I figured out a work around this - I just flattened my imageview to the >> layout background and I position my object with the screen Metrics (minus >> status bar size for height) and it works. > > > what do you mean by "flattening your image"? > > i think it should just work provided you get the matrix after the > layout management has been done on your imageview > > pskink > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en