Thursday, April 18, 2013

Re: [android-developers] Re: Compatibility mode issues on 4.x

Dear Friend,

Just include following code in your manifest

 <supports-screens
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:resizeable="true"
    android:anyDensity="true"
    />

Thanks & Regards,
Krishna V. Mahadik


On Thu, Apr 18, 2013 at 5:28 PM, Mark Murphy <mmurphy@commonsware.com> wrote:
On Thu, Apr 18, 2013 at 3:53 AM, user123 <ivanschuetz@gmail.com> wrote:
> I did the work to optimize layout for xhdpi devices

Then you did it wrong. Layouts should be density-independent. The
layout of an Xperia Z (xxhdpi) should be the same as a Galaxy Nexus
(xhdpi), which should be the same as a Nexus S (hdpi), etc., as they
are all the same basic screen size, within fractions of an inch.

Screen size != screen density. In fact, there is no correlation between the two.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.7 Available!

--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
--
.                 \\\///
.               /        \
.               | \\   // |
.             ( | (.) (.) |)
----------o00o--(_)--o00o-----------------

"Yesterday is not ours to recover, but
tomorrow is ours to win or to lose."

-----------ooo0-------------------------------
.           (   )   0ooo
.            \ (      (   )
.             \_)     ) /
.                    (_/

--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment