Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Set Visibility doesn't work after set it as invisible

 
Jeyaganeshan Jeyatharsini
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made an animation:

<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >

<alpha
android:duration="1000"
android:fromAlpha="0.0"
android:repeatCount="infinite"
android:toAlpha="1.0"
android:fillAfter="true" />

</set>

I didn't made it to invisible..
But when I getVisiblity in onResume() method (I go back & come again) it is invisible... how to resolve this?
to avoid it I made setVisible in onResume(). But it doesn't work.. help me!!
 
ibrahim yener
Ranch Hand
Posts: 202
Android Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post us your onResume code block.

Normally it should work setVisibility(View.VISIBLE);
 
Jeyaganeshan Jeyatharsini
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah. I put like your code segment!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic