if you need further help join me at skype:
jitendragaur1009@outlook.comYou have to do the scaling of each XML translation at .brs file after that your issue will resolve
ui_resolutions=hd
function scale(fromVal = 1 as Integer) as Dynamic
dInfo = CreateObject("roDeviceInfo")
mode = getDisplayMode()
if mode = "FHD" then
return (fromVal)
else if mode = "HD" then 'FHD->HD:720/1080'
return (fromVal)
else if mode = "SD" then 'FHD->SD:480/1080'
return (fromVal * 0.44444)
end if
end function
function getDisplayMode() as String
gaa = getGlobalAA()
if gaa.displayMode = Invalid then
deviceinfo = CreateObject("roDeviceInfo")
displaySize = deviceinfo.getDisplaySize()
if displaySize.h = 1080
gaa.displayMode = "FHD"
else if displaySize.h = 720
gaa.displayMode = "HD"
else if displaySize.h = 480
gaa.displayMode = "SD"
end if
return gaa.displayMode
else
return gaa.displayMode
end if
end function
m.contentList=m.top.findNode("contentList")
m.contentList.rowLabelFont=m.rowlabelfont
m.contentList.rowLabelColor="#000000"
m.contentList.translation=[scale(40),scale(360)]
m.contentList.itemSize=[scale(1250),scale(270)]
m.contentList.numRows=scale(10)
m.contentList.itemSpacing=[scale(10),scale(20)]
m.contentList.focusXOffset=[scale(0)]
m.contentList.rowItemSize=[[scale(168),scale(236)]]
m.contentList.rowItemSpacing=[[scale(20),scale(0)]]
m.contentList.rowLabelOffset=[[scale(5),scale(2)]]