Profile

Cover photo
Charan Kumar B R
Attended NMIT
Lives in Bengaluru
167 followers|5,512 views
AboutPostsPhotosVideos

Stream

Charan Kumar B R

Shared publicly  - 
 
 
Today's 60-second #AndroidDev #Protip from +Roman Nurik is about screen size qualifiers.

If you have custom layouts for larger screen devices such as tablets, now's the time to stop using the -large or -xlarge resource qualifier and switch to using -swXXdp or -wXXdp qualifiers. The latter were introduced in API level 13, which basically all tablets now have support for according to the latest platform version charts [1]. That means that for basically all cases where -large would have any effect, -swXXdp can be used instead to provide more granularity.

So which actual sw or w qualifiers should you use? Here's a quick just-give-me-something starting point:

7" tablets: Instead of layout-large, use layout-sw600dp.

Example: Nexus 7 = 960×600 dp; the smaller of the two dimensions is 600.

10" tablets: Instead of layout-xlarge, use layout-sw720dp.

Example: Nexus 10 = 1280×800 dp; the smaller of the two dimensions is 800. Some 10" tablets are a bit more narrow so 720 is a commonly used switching point.

There's more to it than just that (you really want to choose switching points based on your content's minimum requirements, not on device form factor), but that's a #Protip for another day (::cough:: +Nick Butcher ::cough::).

That's it for today, if you've got any questions or related tips, let's hear them in the comments!

[1] http://developer.android.com/about/dashboards/index.html
18 comments on original post
1
Add a comment...

Charan Kumar B R

Shared publicly  - 
 
Google has unified all the chat clients: Talk, GTalk, Gmail Chat and Google+ Chat to Hangout.  

Its under one roof for users Windows, Android, Mac and iOS.  

UI is awesome, experience it!!
Main thing Hangout lacks is online/away/invisible indication. A big drawback!!!!!!
1
Add a comment...

Charan Kumar B R

Shared publicly  - 
 
Good one!
 
I wasn't raised in a mansion
Or fed with a silver spoon
I wasn't brought up to think money is everything
Because only fools believe that’s true
I wasn't raised to live out my parents dream
But to proudly dream my own
I wasn't raised to walk the popular path
But to strongly pave my own
I wasn't raised with material things
But something great indeed
I was raised with love
And love is all I need
~*~*~*~*~*~*~* ☀ ☀ ☀ ☀~*~*~*~*~*~*~*~*~☀ ☀ ☀ ☀ ~*~*~*~*~*~*~*
1
1
Mariyan Richard's profile photo
Add a comment...

Charan Kumar B R

Shared publicly  - 
 
Greg Stortz originally shared:
 
LOL! Share it!
285 comments on original post
1
1
Rohith S A's profile photo
Add a comment...

Charan Kumar B R

Shared publicly  - 
 
Just before hanging judge asked the prisoner "You have any last wish?"
Prisoner says Yes, i want to update my Google+ status to "I am Dead"!! lol :D
1
Add a comment...
Have him in circles
167 people
Suhas Sathyanarayan's profile photo
niranjan shetty's profile photo
Divya Sunku's profile photo
Badamm Mahesh's profile photo
Purna Prasad Arcot's profile photo
Spreadtrum Comunication's profile photo
anish kushalappa's profile photo
Sandeep Raj's profile photo
Bhupal Singh's profile photo

Charan Kumar B R

Shared publicly  - 
 
Happy Birthday to Shivrajkumar (Sandalwood SRK) and Sanjay Manjrekar!!
1
Rohith S A's profile photoKavitha Kavi's profile photo
2 comments
 
Happy birthday shivanna
Add a comment...

Charan Kumar B R

Shared publicly  - 
 
Google Plus +1 button is more popular and widely used than twitter button.
-Recent Survey!!
1
shailesh singh's profile photoCharan Kumar B R's profile photo
2 comments
 
yeah dude!! already more than 3 weeks, dats enuf for survey!!
Add a comment...

Charan Kumar B R

Shared publicly  - 
 
Trip with MCA friends, been to Shirdi, Ellora Caves, Mini TajMahal and many places...
2
mallikarjun sarur's profile photoRohith S A's profile photoCharan Kumar B R's profile photokiran kumar's profile photo
4 comments
 
.:)
Add a comment...

Charan Kumar B R

Shared publicly  - 
 
Go Google+ :)
1
Add a comment...
People
Have him in circles
167 people
Suhas Sathyanarayan's profile photo
niranjan shetty's profile photo
Divya Sunku's profile photo
Badamm Mahesh's profile photo
Purna Prasad Arcot's profile photo
Spreadtrum Comunication's profile photo
anish kushalappa's profile photo
Sandeep Raj's profile photo
Bhupal Singh's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Bengaluru
Previously
Bengaluru
Links
Contributor to
Education
  • NMIT
    MCA, 2009 - 2012
  • Surana College
    BCA, 2006 - 2009
Basic Information
Gender
Male
Relationship
Single
Other names
Charan