If you follow that link you posted, you'll see a table that lists constant
names, their values, and an explanation of each, associated with the
attribute 'visible'.
Whenever you see something like this -- NEVER, EVER, put the values in your
code. Put the constants there. The only reason for doc
No do iconView.setVisibility(View.VISIBLE). Don't just make up numbers.
On Sat, Apr 30, 2011 at 4:11 PM, Alaeddine Ghribi wrote:
> 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:vi
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/re
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.wordpr
Excatly that's the problem, i didn't notice it, i just copied it from my
previous project :P !
However, i want to set the image to show after a period, i've maked this:
public void onRegistrationDone(String localProfileUri, long expiryTime) {
updateStatus("Registered to ser
30.04.2011 23:04, Alaeddine Ghribi пишет:
I have a problem, the image is not showing even when deleting
"visibility" ?
Have i a problem with the XML file ?
Yes.
The view that's above the ImageView is set to fill_parent height, so it
takes the entire height of the screen, leaving no room for t
I have a problem, the image is not showing even when deleting
"visibility" ?
Have i a problem with the XML file ?
Thank you.
On 30 avr, 17:06, Dianne Hackborn wrote:
> First thing is to actually use one of the correct constants in
> View.setVisibility() -- such as View.VISIBLE.
>
> On Sat, Apr 30
First thing is to actually use one of the correct constants in
View.setVisibility() -- such as View.VISIBLE.
On Sat, Apr 30, 2011 at 11:35 AM, Alaeddine Ghribi <
alaeddineghr...@gmail.com> wrote:
> I've made this:
> public void onRegistrationDone(String localProfileUri, long
> expiryTime) {
>
I've made this:
public void onRegistrationDone(String localProfileUri, long
expiryTime) {
updateStatus("Registered to server.");
Log.d("SUCCEED","Registration DONE");
ImageView iconView = (ImageView)
findViewById(R.id.connecte
9 matches
Mail list logo