[android-developers] Re: Why is the default to use dpi instead of screen size for drawables
My layout is the same for both apps, I simply want to use higher
quality graphics for the tablets 90dpi vs 200dpi.
From the link I assumed from the below example that you should have
similar drawable buckets if the layout is actually the same.
res/layout/main_activity.xml # For phones
res/layout-xlarge/main_activity.xml # For pre-3.2 tablets
res/layout-sw600dp/main_activity.xml # For 3.2 and up tablets
Thanks again
On Sep 13, 9:18 am, Dianne Hackborn <hack...@android.com> wrote:
> If you are writing drawable-large, you are almost certainly doing it wrong.
>
>
>
> On Tue, Sep 13, 2011 at 6:02 AM, ArcDroid <jacobrjohn...@gmail.com> wrote:
> > So it appears I need to have the same higher res images in drawable-
> > hdpi and drawable-large buckets. This is going to make the install
> > big if an app has many pictures.
>
> > On Sep 10, 10:44 am, Dianne Hackborn <hack...@android.com> wrote:
> > > They are two completely different things.
>
> > > Please read:
> >http://android-developers.blogspot.com/2011/07/new-tools-for-managing...
>
> > > On Sat, Sep 10, 2011 at 7:44 AM, ArcDroid <jacobrjohn...@gmail.com>
> > wrote:
> > > > Directories are already created for ldpi, mdpi and hdpi, but it
> > > > appears that normal, large, xlarge work much better for tablets and
> > > > phone sizes since some old phones fall into the mdpi bucket. why is
> > > > the default to use dpi instead of screen size?
>
> > > > Thanks,
> > > > ArcDroid
> > > >http://www.arcdroid.com
>
> > > > --
> > > > 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
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support, and so won't reply to such e-mails. All such
> > > questions should be posted on public forums, where I and others can see
> > and
> > > answer them.
>
> > --
> > 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
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails. All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home