All Questions
Tagged with visibility button
92
questions
0
votes
1
answer
59
views
I'm trying to make this a randomly visible and clickable small link button. How can I make this work?
I'm building a church website and I'm new to coding so I don't fully understand pseudocode, but here's what I have right now:
css:
@keyframes offsetFix {
0% (background-color: #ffffff;)
90% (...
0
votes
1
answer
81
views
How to hide one button on click on another button
I have two button one is show and another is hide. When i clicked on
show button that time hide button design should be change and when i
click on hide button when hide button come from old design ...
0
votes
1
answer
374
views
UX: should I hide basic functionality that users can't reach?
I'm working on dashboards now, e.g. employee form. Some users have permissions to delete employee and some are not. Usually these permissions are changed only if user assigned to new type, e.g. from ...
0
votes
1
answer
142
views
button needs to be clicked twice to toggle layer visibility?
Using an example I found on this thread https://gis.stackexchange.com/questions/198896/mapbox-gljs-group-layers/198920#198920?newreg=120a87a082494e41b2e6ab240c94b266 I have grouped multiple layers ...
0
votes
1
answer
1k
views
Flutter have one scaffold with same body and bottom navigation bar but different appbars and have a button on one of them which toggles its state
I have a Flutter app. On the main screen, it has an appbar, body, and bottomnavigation bar. On the bottom are four icons to flip through the different screens. One of the screens has an icon on the ...
0
votes
3
answers
115
views
How do I fix a dropdown button (HTML)
Whenever I try to change the things in this code, I'm only changing the button and function parts, but either nothing shows, or the button dosent work, when I click the button, it should show ...
0
votes
1
answer
255
views
Button does not want to stop being visible
So, I'm trying to make simple screenshot app in Window Forms, but i would like my button to dissapear whenever I take a shot. Unfortunately, it does not want to be invisible, even after setting ...
0
votes
1
answer
453
views
Showing Hidden Image With Onclick Function
my objective is to have an image hidden until a button is pressed to then show the previously hidden image.
Right now I have an image in html with an Id of "yellowrose" that is hidden with ...
3
votes
2
answers
2k
views
In vuetify, how to display tooltip when button is disabled
I'm using button and tooltip component in my vuetify project. I want to display tooltip only when the button is disabled and I'm looking for a solution how can I do it correctly.
For now tooltip is ...
0
votes
1
answer
321
views
I need to add, some delay, to make appear a boutton
I need to add some delay to a "function",this is for a web that I am doing, and the button is already there, I only change his visibility. I've tried many things, but it didn't work. The ...
3
votes
2
answers
5k
views
Set textview visibility based on button click in Kotlin
Using Kotlin, I would like to be able to have an invisible Textview become visible on my activity when the user clicks a button. Ideally, I would like them to enter a particular code (i.e 1234) into a ...
0
votes
1
answer
223
views
Using RemoteViews to set Visibility of widget button
I've got a widget with one button which I want to display as either Green, Amber or Red - I need to be able to change from one to another programmatically after the widget is loaded. I have tried a ...
0
votes
1
answer
62
views
asp.net visibility of button depended on DataTable row value
I would like to add button to ListView only for some of rows. I have something like "online chat" and I want to add delete option only for one user. It is complicated because I would like to have "...
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 ...
0
votes
1
answer
43
views
how can i change the visibility of a button when the user modyfies the data inside recyclerview?
I need to change the visibility of a button deppending on a recycler's view content, when it changes it must become visible otherwise it has to remain invisible
I've tried with interfaces, callback ...
1
vote
4
answers
761
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 ...
0
votes
2
answers
506
views
TableLayout Visibility GONE working only on second click on button
I have a problem with a TableLayout. I'm trying to hide all its content when I click on a "Clear" button. However, it works only when I click twice on the button. I also have two radio buttons that ...
0
votes
0
answers
34
views
javascript to toggle a span class to appear/dissapear. i don't know any javascript at all [duplicate]
I am trying to have my button (id="AnswersEx1") when it is clicked, to toggle on/off the (class="FrenchStage1Ex1") text. There are at least two instances of that class being used.
My html:
<h5>...
1
vote
2
answers
60
views
How can i make my button become visible with TextChanger?
I made a button invisble in xml, I want to make button visible again when a certain string value in my EditText is made. I have used TextWatcher check when the value is met using an if statement. ...
1
vote
3
answers
47
views
JavaScript Function Activation Issues
I have another question that's been bugging my mind since I started using js fairly recently so that my app would be nicely responsive but I've been hit with another block here.
As the title says I ...
0
votes
1
answer
27
views
Button is not getting displayed after the ViewPager tag
I am creating a gallery and in this I am using a ViewPager tag to create a gallery. Just down to it I want to create a button of "Back" whose actions I am specifying in the "onclick" function.
My ...
2
votes
1
answer
161
views
When I add a button, why does the dynamic text disappear?
I have a problem where I have some dynamic text which works perfectly fine, but the moment I add a button it disappears.
I don't have any special fonts.
I've searched for this problem everywhere but I ...
0
votes
1
answer
657
views
xamarin binding a button in code to viewModel (without xaml)
I'm using the mvvm approach to develop a barcode scanning app with xamarin. The main hurdle was that the 3rd party scanner object does not work in xaml. I used a ContentPage to create a simple logic-...
30
votes
3
answers
28k
views
MultiDataTrigger with OR instead of AND
I am trying to set multiple DataTriggers on my Button. I did some research and found that MultiDataTrigger allows you to do this. I want the Visibility property of my Button to be set to false if the ...
2
votes
3
answers
155
views
Change button alignment of buttonA when buttonB is GONE
I have placed two buttons prev and next in a RelativeLayout. When I reach the last page of my app, I am disabling the next button using :
next.setVisibility(View.GONE);
The alignment of prev button ...
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, ...
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 ...
1
vote
2
answers
304
views
How to change button style depends on width
I have simple user control with few controls inside, layout is following:
<Grid>
<DockPanel>
<Grid
DockPanel.Dock="Left"
Margin="25 0 0 2">
...
1
vote
0
answers
2k
views
WPF - Get current actually visible controls inside ScrollViewer
I have a scrollviewer in my WPF project. Inside the scrollviewer there are several buttons with images in the inside. Something similar to Popcorn Time (image).
There can be a lot of buttons inside ...
0
votes
2
answers
3k
views
Button visibility depending on two properties (OR not AND)
I have a button in WPF and I want to make it visible if the mouse is over the border the button is in. This is simple:
<Button Grid.Column="1" Click="DimFilter_Click" Style="{...
0
votes
1
answer
931
views
Android change Button visibility after do onClick
If I call method in onClick() one time it works, but if I call it twice time in the onClick() method it doesn't work.
private void changeVisible() {
if(progressBar.getVisibility() == View....
1
vote
1
answer
353
views
Resizing buttons with keeping the same width when some buttons are invisible
I would like implement automatically resizing buttons keeping the same width when some buttons are invisible. I used code prepared by Andreas Rejbrand at this link, but the issue is more complicated ...
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 ...
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 ...
4
votes
1
answer
60
views
A button with comment having already clicked will not show up the next time user opens app
I want that a button with comment having already clicked will not show up the next time user opens app. I searched on google and understood that I should use shared preferences but I don't know how to ...
1
vote
1
answer
31
views
Add 2 diagonals lines before my Button
I want to implement button that after Mouse Enter 2 new Buttons appear, i can do that with only change the Visibility property but i want to 2 new Button will appears with diagonal Lines:
Any ...
0
votes
2
answers
2k
views
Button Visibility in WPF at startup
I have some button that I want them to be hidden when the wpf loads up.
I use this:
public MainWindow()
{
mySendButton.Visibility = Visibility.Hidden;
myReceiveButton.Visibility =...
-1
votes
3
answers
362
views
Android: To set a button invisible
On double tap, buttons to be toggled visible/invisible. I created my layout dynamically. Its working if the btns are initially visible but I want them initially invisible.
My DoubleTap fn is
public ...
2
votes
2
answers
3k
views
Visibility of Gone takes still space of particular control in android?
I am using the LinearLayout and inside there's button I am making visibilty gone based on supported states. SupportedStatuses are true then making Button as Visible but SupprtedStatuse are false then ...
-3
votes
5
answers
121
views
Android visibility issue with Button?
I´m using a Button and CheckBox in my code. I want when the button is clicked to make the checkboxes visible, but when I click on this button, then this error is coming in logcat: ...
-1
votes
1
answer
283
views
setVisibility not working [duplicate]
I am trying to hide a button if a logged in user is a Donor. I have my code like this.
String typ = user.get("type").toString();
Log.d("before checking type", typ);
if (typ == "Donor"){
...
0
votes
2
answers
1k
views
Android: Increment Button in loop to setVisibility
I make a game like 4Pics1Word.
Now I have 14 buttons and I want to set the visibility of the Buttons in a loop.
If the answer has 5 letters, the first 5 Buttons should be Visible
For example this ...
0
votes
1
answer
537
views
Not able to set the visibility of a button inside a listview programmatically
I am trying to set the visibility of a button based on a certain condition in a listview.
Context : The listview has parameters for response to a post . It contains title,description etc of the ...
1
vote
1
answer
446
views
How can I make a button visible in one activity when clicking a button in another? - Android
So I have a simple quiz game where the user writes his answer on an EditText and then click the buton "Check" to check if his answer is correct. If his answer is correct, the button on the other ...
0
votes
1
answer
2k
views
How to load an image on button click?
I'm kind of new to HTML / Javascript, and I'm trying to figure out how to make it so when I click a button, an image loads. This is all I can come up with, but then again I am very bad with this stuff,...
0
votes
3
answers
1k
views
change listview's button visibility in an activity
I have a ListView which has a button inside its each rows, I declare the Button inside my ListView adapter, this Button is invisible but I need to change the Button view to visible for some cases.
as ...
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 ...
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 ...
0
votes
2
answers
226
views
Button with image not overlaying another image
I have an image that is the stretched to be the size of the window (width and height wise).
I have a button that sits on top with the following XAML:
<Image Source="sample.png"></Image>
&...
1
vote
1
answer
113
views
Need to send two buttons backwards and forwards
I've got the code, and all seems correct, I've had it reviewed and it seems impossible to find out why the button isn't doing what its coded to do. I'm making a Music player, and when I press the play ...