Sorry but i'm not understanding your point. If i make iconView.VISIBLE i
have an error(sorry for my mis-understood).In the XML file i have to do like
android:visibility="visible" and in the JAVA code i normally make
iconView.setVisibility(1);
? As pointed in the doc:
http://developer.android.com/reference/android/R.attr.html#visibility
 <http://developer.android.com/reference/android/R.attr.html#visibility>Sorry
another time :\ .

2011/4/30 Kostya Vasilyev <[email protected]>

> As was already pointed out by Dianne, View.setVisibility() uses constants,
> like View.GONE and View.VISIBLE - not arbitrary values like 0 or 1.
>
> -- Kostya
>
> 30.04.2011 23:56, Alaeddine Ghribi пишет:
>
>>                        iconView.setVisibility(1);
>>
>
>
> --
> Kostya Vasilyev -- http://kmansoft.wordpress.com
>
> --
> 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
>

-- 
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

Reply via email to