I'm aware that I can set different layouts for different screen sizes, but I would like to pull out the information of which one it has chosen. For example in the activity layout file for large tablets, I would like to add a view that scrolls through different statistical stuff, but on smaller phones this won't look good, and I'd rather have nothing there, as this will be a menu (i.e. fragments are overkill and will distract from the actual purpose)
So I would like to write some code which says something like:
if(xlarge) {
(manipulate stuff)
}
Is it possible to pull out the right constants from somewhere?