You can create your class that will extend from ImageView. at some point store a Drawable of the small image as an instance variable.
overwrite public void onDraw(Canvas canvas){ super.onDraw(canvas); mDrawable.setBounds(0, 0, drawableWidth, drableHeight); mDrawable.draw(canvas); } This will draw your smaller image (mDrawable), in the top left corner. On Jul 7, 10:45 pm, peeyush varshney <varshney.peey...@gmail.com> wrote: > I want that user can move smaller one and drop any where he want over Big > Image. > It is almost same as SeekBar. I tried same with vertical SeekBar with also. > but SeekBar Thumb is not getting adjust according to progress. > > On Wed, Jul 8, 2009 at 11:00 AM, Balwinder Kaur (T-Mobile) < > > > > balwinder.k...@t-mobile.com> wrote: > > > You can try something like this : > > > Create a mutable bitmap from your original image. > > //You can use the BitmapFactory class for that. > >http://developer.android.com/reference/android/graphics/BitmapFactory... > > Lets call it Bitmap b; > > Create a Canvas c as show below. > > Canvas c = new Canvas(b); > > Create another bitmap from the "small Seeker Type image". Lets call it > > Bitmap bsmall. > > c.drawBitmap(bsmall, ...); //Choose one of the drawBitmap methods > >http://developer.android.com/reference/android/graphics/Bitmap.html > > > Balwinder Kaur > > Open Source Development Center > > ·T· · ·Mobile· stick together > > > The views, opinions and statements in this email are those of the > > author solely in their individual capacity, and do not necessarily > > represent those of T-Mobile USA, Inc. > > > On Jul 7, 10:02 pm, peeyush varshney <varshney.peey...@gmail.com> > > wrote: > > > Hi All, > > > Has anyone customized the Image. Actually I want to have one > > Image > > > and over that one more samll Seeker Type image, > > > Is it possible. Do anyone have some Idea please help me out.. > > > > -- > > > Thank & Regards > > > Peeyush Varshney > > -- > Thank & Regards > Peeyush Varshney --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---