現在、画面の 50% を占めるように拡大 (通常は縮小) している大きな画像ロゴがあります。最初に、ベースの /res/drawable フォルダーに配置しました。ほとんどのデバイスでは問題なく動作しましたが、画面が小さい一部のローエンドの電話では、スケーリングによってエイリアシングが発生し、見栄えが悪くなります。そのため、次のように画像を配布しました。
/res/drawable
-Large image, intended to be used on most devices
/res/drawable-normal
-Smaller image, intended to target smaller screens
ただし、Samsung Galaxy Tab 2 10' でテストすると、ベース ドローアブル フォルダー内の画像ではなく、通常のフォルダー内の画像が選択されます。このタブレットは、そこから他のリソースを選択しているため、drawable-xlarge カテゴリに当てはまることはわかっています。そのため、機能させるために、このディレクトリ構造を考え出す必要がありました。
/res/drawable
-Large image, intended to be used on most devices
/res/drawable-normal
-Smaller image, intended to target smaller screens
/res/drawable-xlarge
-Same image as the drawable base folder, only used for the tablet to select the correct image.
今は思い通りに動作しますが、なぜシステムが特大デバイス用に通常のフォルダを選択するのか理解できません。最初に xlarge フォルダーを調べてから、基本の drawable フォルダーにフォールバックするべきではありませんか?
前もって感謝します。