Skip to content Skip to sidebar Skip to footer
Showing posts with the label View

Resizing A Bitmap To A Fixed Value But Without Changing The Aspect Ratio

I'm looking for a solution for the following problem: how to change the size of a Bitmapto a fi… Read more Resizing A Bitmap To A Fixed Value But Without Changing The Aspect Ratio

What Should My Android Layout Look Like?

I recently asked a question about how to add a view on top of a view, after asking that I realized … Read more What Should My Android Layout Look Like?

Android-gallery How To Set The Position Of The Child Which Is Selected

as we know,the default position of the child which is selected is in the middle.but i want to show … Read more Android-gallery How To Set The Position Of The Child Which Is Selected

Unable To Get The Bitmap Of A Linearlayout Along With Its Child Views

I am creating the bitmap from a linearlayout with the following code public static Bitmap loadBitm… Read more Unable To Get The Bitmap Of A Linearlayout Along With Its Child Views

Getting Grid View In Google Maps

Here I write some application, which shows my location. In the emulator I get this: But in device… Read more Getting Grid View In Google Maps

Android View Viewgroup Invalidate Ondraw And Draw

We're trying to write our own MapView, and I'm trying to figure out how adding overlays to … Read more Android View Viewgroup Invalidate Ondraw And Draw

How To Use Own View In Layout?

I created a class like this public final class MyView extends View { public MyView(Context con… Read more How To Use Own View In Layout?

How To Get The Draw Element Size On A Cavans?

I was working on a 'draw with mask' app. When the user drag on the screen , it cleans part … Read more How To Get The Draw Element Size On A Cavans?