0

I've got an image that has a localization to -pl.

So, naturally I have a drawable/aboutimage.png and a drawable-pl/aboutimage.png

This was working out fantastically, untill I switched my view to a snappy fragment view pager instead of a listview. The funny part is that it only refuses to display on android 2.2. 2.3 and even 4.0 it displays just fine.

My xml didn't change during that processs:

<ImageView
    android:id="@+id/routine_about_image"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center_horizontal"
    android:layout_marginTop="10dp"
    android:src="@drawable/aboutimage" />

I'm simply loading the layout via the LayoutInflater.inflate() in my Fragment's onCreateView:

View v = null;
LayoutInflater vi = inflater;
v = vi.inflate(R.layout.routine_exercise_about_item, null);

Any thoughts?

Rev Tyler
  • 601
  • 7
  • 17
  • Is this on the emulator? Do you see this across many devices? – Vikram Bodicherla May 22 '12 at 02:07
  • So far its in the emulator and a samsung ace. The ace is still on 2.2 and the emulator is set to 2.2. I'm going to test it on as many 2.2 devices as I can, I'll post an update if they all have a common problem. Going to be hard to find a 2.2 device though :) If anyone has a 2.2 test device and is willing to install an .apk for me I can post a download link. – Rev Tyler May 22 '12 at 07:39

0 Answers0