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?