I am trying to change visibility of a button (Image).
However this code does not affect the image - any ideas?
Prevword_btn = (ImageButton) this.findViewById(R.id.prev_btn);
Prevword_btn.setVisibility(View.INVISIBLE);
Nextword_btn = (ImageButton) this.findViewById(R.id.next_btn);
Nextword_btn.setVisibility(View.INVISIBLE);
Also when I try to set visibility of the Image Button in the xml
layout file (main.xml) I get an error message from this code
android:visibility="1"
saying integers are not accepted?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---