Try to clean your project and rebuild all if that happens.

Peli
www.openintents.org

On Aug 21, 10:14 am, sdphil <phil.pellouch...@gmail.com> wrote:
> i have an incredibly weird issue --
>
> I have an image button --
>
> <ImageButton android:id="@+id/Btn1"
>              android:layout_width="wrap_content"
>              android:layout_height="fill_parent"
>              android:src="@drawable/btn1"
>              android:background="@color/transparent"/>
>
> The button doesn't show up.
>
> If i copy the file in the drawable directory to "btn2" (the exact same
> file) and change the src in the xml to point to the new file "btn2",
> it shows up.  if i rename it back to btn1, it doesn't show up again.
>
> then some time later, after adding some other buttons, btn1 reappears,
> but a later button I've added goes missing again.  Then I do the same
> trick of copying the file to another copy, rename it, and change the
> src in the xml and it appears again!!
>
> very unusual.  any ideas on what could be happening?
>
> tia.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to