Thank you Kumar.
I will corss check that property of Scaletype.
Actually I dont have problem with the emulator. Things work very fine
with the different type of emulator (small, medium, large). I have
ported android to fsl-imx51 board which inturn is connected to a 17"
monitor. It is, with this monitor where I see that images are not
scaled to fit the screen size. As i said earlier, android is
considering the images present in the folder mdpi for this display.
Which means that this display(17" monitor) is registering itself as
"medium".
Now, I wonder why is this display (17" monitor) registering as
"medium". Further the images in the folder mdpi should have been
scaled to fit the screen which actually is not happening.
Vinay.
On Nov 30, 4:30 pm, Kumar Bibek <coomar....@gmail.com> wrote:
> Yes, they will be scaled, provided you design your app to do so. Say,
> for example, if you have an ImageView/ImageButton, there is a property
> scaleType. If you don't change it, the images will be scaled. But if
> you are using that, then, depending on the type, it might or might not
> scale.
>
> But, I am still not clear about your confusion. The emulators should
> first of all register as "large" devices, else, there's no point in
> having the hdpi folder.
>
> On Nov 30, 12:39 pm, Vinay <vinayku...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > Thank you very much for the information.
>
> > Yet another question is: The images that are present in the hdpi
> > folder are however not to the scale such that it can fit for a 17"TFT
> > monitor. So in such a case will the images be automiatically scaled ??
> > I see that all other applications are rendered full screen and even
> > the custom application invovling only default android widgets also
> > works fine.
>
> > It is only images that are being used (for image View etc.) that pose
> > problem.
>
> > I'll be thankful if you can please provide some insight about the
> > autoscaling as well.
>
> > Thanks again,
> > Vinay.
>
> > On Nov 30, 10:19 am, Kumar Bibek <coomar....@gmail.com> wrote:
>
> > > Well, the device/emulator you are running your application should register
> > > as a "L" device. Only then, is will pick up the corresponding resources.
>
> > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
>
> > > On Tue, Nov 30, 2010 at 9:48 AM, Vinay <vinayku...@gmail.com> wrote:
> > > > Hai All,
>
> > > > I did go through the Multiple screen support document:
> > > >http://developer.android.com/guide/practices/screens_support.html
>
> > > > I'm using freescale imx51 board connected to a DELL 17" TFT monitor.
> > > > The default applications do appear full screen. But when I port my
> > > > custom application it renders in compatibility mode. I have observed
> > > > that the images that are in the folder "mdpi" are being used by the
> > > > application for the above said display.. I have also tried using
> > > > support screen and any density parameters in the manifest file.
>
> > > > I have all the three folders (hdpi, ldpi, mdpi) holding density
> > > > specific images. First I tested my application on the emulator (Medium
> > > > Density / Normal Screen). Hence my image size were specific to 480X320
> > > > (Landscape
> > > > mode). I generated hdpi and ldpi images accordingly:
> > > > hdpi = 1.5 x mdpi
> > > > ldpi = 0.75 x mdpi
>
> > > > Please help understand why the custom application not being rendered
> > > > full screen like all other default pplication. Why are images not
> > > > being scaled to fit the DELL 17" monitor connected to the imx51
> > > > board.
>
> > > > Also what exactly should be values of support screen and any-density
> > > > fields in the manifest file when above said display's are being used
>
> > > > Thanks in advance
>
> > > > Vinay.
>
> > > > --
> > > > 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+unsubscribe@googlegroups.com<android-developers%2Bunsubscribe@googlegroups.com>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-developers?hl=en-Hidequoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en