Search code examples
androidgoogle-tvqualifiers

Android Layout qualifiers don't work?


I am developing an android using the API Google Tv Addon, i wanna use the screen qualifiers no touch, i created a folder under /res/ called layout-notouch, i named my layout test.xml, in my activity when i put setContentView(R.layout.test) the application crash. how could i use this screen qualifier. Or otherwise, could i set qualifiers programatically. you can take a look here enter link description here


Solution

  • You can use layout-large-notouch for layout and drawable-land-xhdpi for drawables to target Google TV.