I don't think it's necessary to check yourself, just provide the
landscape layout in the folder res/layout-land and leave the other one
in res/layout and the magic of Android will manage this for you.

The problem with your pictures is probably that they have the wrong
aspect ration...they are portrait pictures that you are showing in
Landscape, so they are reduced in size.

Good Luck
John

On Nov 6, 1:23 pm, Justin Anderson <[email protected]> wrote:
> What I did for one of my apps is create different layouts for portrait and
> landscape modes.  In my onCreate I check to see if the device is in
> landscape or portrait mode and load the appropriate layout.
>
> ----------------------------------------------------------------------
> There are only 10 types of people in the world...
> Those who know binary and those who don't.
> ----------------------------------------------------------------------
>
>
>
> On Thu, Nov 5, 2009 at 9:02 PM, ElPollo Diablo <[email protected]> wrote:
> > Hello,
>
> >   I am starting off with android, and learning Java while I go with
> > it. I am just setting up a simple, useless app, so I can figure out
> > how to do it, but I am stuck.
>
> >   I have a set of 12 images I want to make into image buttons. I can
> > get them set up side by side and looking the way I want using a
> > relative layout, and setting the android:layout_toRightOf=, etc. This
> > works fine, unless I move the view into landscape, at which point the
> > images stay in the same place, and there is a large black emptiness on
> > the side of the screen. I am wanting to get the images to fill that
> > part of the screen automatically.
>
> >   I was hoping you could point me in the right direction. Perhaps I
> > should be looking into photogrid?  Any hints would be much
> > appreciated.
>
> >   Thank you
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Beginners" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-beginners%2Bunsubscr 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to