Search code examples
androidgoogle-tvandroid-resources

Android Resource Identifier for High Resolution Phones and Google TVs


Which resource identifier can I use for Google TVs to distinguish it from phones like the Galaxy S3, layout-sw720dp doesn't work?


Solution

  • I tried the tvdpi, but unfortunately the Galaxy S3 was picking up its resources. I ended up using layout and layout-large for the resources. The Nexus and Google TVs get their resources from layout-large and the Galaxy S3 gets its resources from layout. Thanks.