Skip to main content

All Questions

Tagged with
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 ...
Emma.bk's user avatar
  • 189
1 vote
4 answers
760 views

How to get invisible button on other button click

I have 2 buttons for display. The 1st button is Unpressed - that displayed before the user clicks on it and the 2nd button is pressed that displayed after the user clicks on it. After User click on ...
Michael's user avatar
  • 429
1 vote
1 answer
75 views

Android: On Click gradual visibility change

I have got a little problem which is for me impossible to solve. I've got lots of TableRows called Radek_X and they are set to be android:visibility="gone". And I need that if you for the first time, ...
J Sol's user avatar
  • 67
0 votes
4 answers
2k views

How do I change button visibility from other class?

So basically I have a button in my MainActivity Button button1 = (Button)findViewById(R.id.button1); button1.setVisibility(View.GONE); What is the way to change my button visibility from my ...
Sadboy's user avatar
  • 3
0 votes
1 answer
38 views

Having trouble with regaining button visibility

I have a couple of buttons that I set to visible and gone on a button click, but when I try to call the state of the button in onResume, it is crashing. What am i doing wrong in my code? Any help ...
Android Newbie's user avatar
0 votes
2 answers
159 views

How do I show a button within my thread here? java android

I've been trying to make a button visible when the counter == 7 but it just keeps crashing whenever I add a method showButton(). This is the method that makes the button visible: public void ...
eanewt's user avatar
  • 1
2 votes
2 answers
388 views

2 dimensional Array and JApplet: button visibility and label change

I am having 2 somewhat straightforward problems: 1) I am trying to set btns[0][0] (row 0, column 0) to be the only visible button on my 00-99 button grid, and after I press the button, the ones ...
user3597420's user avatar
1 vote
2 answers
694 views

How to make a button visible frominvisible on a successful event happend in another activity

I have buttons V1-V8 visible and R1-R8 invisible initially in my activity_main.xml file My MainActivity.java file package com.example.buttonvtor; import com.example.buttonvtor.MainActivity; import ...
user3399423's user avatar
0 votes
4 answers
5k views

How to make Views with an Invisible attribute 'Visible' after clicking a button

I have several Views, text views, and a button that have the android:visibility="invisible" attribute. My goal is to click a button that resides above these 'invisible' widgets, so that these widgets ...
Bobby's user avatar
  • 3
0 votes
1 answer
187 views

Having problems updating the visibility of a button within a popup

I'm trying to get it so that when the user clicks popbtnnext within the popup, the program checks if the rest of the array flaggedwordsused is null. If not, the button is set to be visible and the ...
ghodnett's user avatar