question

Katie Lawrence avatar image
Katie Lawrence asked

using smallest-width qualifiers for various kindle devices

I have set up resource-values folders to hold style folders that define the size of some text elements in sp units. In general this works out well for the various Kindle devices I am supporting, but when I look at my text on a Kindle 2nd generation and the same text on a Kindle HDX 7", the text on the HDX is about twice as large. Both of these devices seem to look at my values-sw600dp folder. I tried setting up folders using normal, large, xlarge, etc, instead, but both of these devices are "large", so the problem is not fixed. I also tried setting up values-xhdpi and values-mdpi folders to separate out these two devices, but these folders seemed to be ignored. Can anyone tell me what qualifiers I can use to handle the different Kindle devices?
fire tablet
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Bipin@Amazon avatar image
Bipin@Amazon answered
Almost every application should provide alternative resources to support specific device configurations. For instance, you should include alternative drawable resources for different screen densities and alternative string resources for different languages. At runtime, Android detects the current device configuration and loads the appropriate resources for your application. http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources if you use multiple qualifiers for a resource directory, you must add them to the directory name in the order. table shows the device specifications for each of the Kindle Fire tablets https://developer.amazon.com/sdk/fire/specifications.html
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.