All Questions
7
questions
1
vote
2
answers
388
views
Android Studio If-statement make TextView visible if invisible and invisible if visible
I am trying to make a textView invisible when pressing a button. But, if the textView is already invisible I want it to become visible.
Currently I am trying sonething like this:
public void ...
0
votes
1
answer
31
views
How do I referente all ImageView in android studio? (java)
I have 5 ImageViews, and i want to hide all.
My code:
findViewById(R.id.foto1).setVisibility(View.INVISIBLE);
findViewById(R.id.foto2).setVisibility(View.INVISIBLE);
findViewById(R.id.foto3)....
0
votes
2
answers
106
views
How can i eliminate Empty spaces in recyclerView when trying to hide cards with null properties?
Empty spaces in recyclerView when trying to hide cards with null properties
Hi, i'm new here. So this is my first question. I am trying to use the google Books API for a task and when I implement ...
0
votes
2
answers
101
views
Creating subText with visible/invisible method across TextViews
I have created two textViews that the first one is the main title and the second one is the subtext of the title. So I want to make the subtexts visibility to depend on clicking the main title.
It ...
0
votes
1
answer
99
views
Set a timer for the visibility of a button
This is purely theoretical put let's say once I put a timer for a button to appear only 86400 second later (like 24h), will it the count down continue after the app is shut down ?
Can the user close ...
-1
votes
2
answers
1k
views
Set Visibility not working on Image View
Why is my imageView not becoming visible with the checkingBalance = $1200 or more?
I have it set to invisible in the XML file. I essentially want the ivArrow ImageView to only appear visible IF my ...
0
votes
0
answers
860
views
Custom media player in android
I am trying to make a custom media player where when ever the music start a loader will start and when the music is paused or ends the the loader goes invisible .This is what i am trying to get when ...