Question

I have different layout folder inside for res folder :

  • layout
  • layout-large
  • layout-sw600dp
  • layout-sw800dp
  • layout-xlarge

Now i am going to my existing android application in Google TV emultor.

For Google TV layout compatible i have added

layout-large-notouch folder, This is not work then delete this one and added

layout-tvdpi-notouch folder This is not work then delete this one and added

layout-xhdpi-notouch

But my application is render layout from layout-large for Google TV.

I do not want to remove layout-large and i do not want to any change in layout-large.

Is there any for render layout for Google TV from different folder..?

Was it helpful?

Solution

Solve it my self:

I create layout-dpad folder inside of "res" folder, and Google TV layout is render form layout-dpad folder, but one thing is keep in mind that is layout-large should not present.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top