[android-developers] Re: How to know the request is from Android 4.0 phone or Android 4.0 Tablet?
if dual pane view is VISIBLE, it is tablet.
you would have to put it in xml file for tablet like under layout-xlarge-land (3.0 to 3.1) and layout-sw600dp-land (3.2+)
On Thursday, May 10, 2012 12:25:01 AM UTC-4, Kevin Chang wrote:
--I woudl like to develop a Web Application. It has different UI design for Phone and Tablet because they have different screen size. I always Take user agent of browser to know what device access my application. Then I can know to give appropriate size of UI.
User Angent of Android 4.0 Table and Android 4.0 Phone are similiar. There is no way to distinguish them like (iPhone and iPad did).
Can any one shed a light to know that the access is from Tablet or Phone of Android 4.0?
Thanks,
-Kevin
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