I've seen this before. Where the 1.5 devices are pulling the -ldpi
drawable folder even though it really shouldn't know about them. The
only way I was able to get around this was removing the -ldpi resources.
Mike
On 03/01/2010 04:45 PM, westmeadboy wrote:
To recap, I have an app that targets v4, with min v3.
I ended up with three drawable folders:
drawable-hdpi-v4
drawable-mdpi
drawable-ldpi-v4
Is this the correct approach in this situation?
On Jan 29, 11:40 am, Dianne Hackborn<[email protected]> wrote:
Correct, it doesn't do anything with it. (Though technically by the time
the .apk is on the device, the folder is irrelevant; what the device is
doing is looking at the resource table, which contains a data structure
representing the different pieces that aapt parsed out of the directory
names, and only looking at the particular fields of that structure it knows
about.)
On Fri, Jan 29, 2010 at 1:45 AM, westmeadboy<[email protected]>wrote:
You mean, it ignores the "ldpi" component of the folder name and so
treats the "drawable-ldpi" folder the same as a "drawable" folder?
On Jan 29, 2:05 am, Dianne Hackborn<[email protected]> wrote:
It does ignore it, and ends up with two resources that are equivalent so
picks one of them.
On Thu, Jan 28, 2010 at 3:07 PM, westmeadboy<[email protected]
wrote:
Then I would expect it to ignore it, but it doesn't.
I think you misread my post, Dianne.
On Jan 28, 11:55 pm, Dianne Hackborn<[email protected]> wrote:
Because this is a new configuration param that it doesn't know about,
so
doesn't see, and wouldn't want to see, because it wouldn't know what
to
do
with it.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]<android-developers%2Bunsubs
[email protected]><android-developers%2Bunsubs
[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Dianne Hackborn
Android framework engineer
[email protected]
Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see
and
answer them.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]<android-developers%2Bunsubs
[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Dianne Hackborn
Android framework engineer
[email protected]
Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see and
answer them.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en