In my Google TV application, I am listing out other applications (their icon and package name) and when the user clicks on them, respective application will launch.
I noticed that, other applications icons are quite small compared to Google TV resolution.
Right now, both width
and height
of each icon is wrap_content
.
If I make it hard coded, its looking blurry.
I am using the below code to get the icon:
Drawable icon = packageInfo.applicationInfo.loadIcon(mContext.getPackageManager());
Anybody please help me out to solve this issue.
Edit :
Answers provided here, here and here are for version 4.0 and above.
I am in search for a solution from version 3.2 and above.
TIA.