Skip to main content

All Questions

Tagged with
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 ...
Michael's user avatar
  • 429
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 ...
Maxouille's user avatar
  • 2,831
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>...
Aelfric's user avatar
  • 11
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. ...
RadiactiveDuck's user avatar
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 ...
Arkonsol's user avatar
  • 139
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 ...
shikher.mishra's user avatar
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 ...
Johnny Two Shoes's user avatar
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-...
Stevo381's user avatar
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 ...
CBreeze's user avatar
  • 2,945
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 ...
Vamshidhar R's user avatar
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
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"> ...
roman's user avatar
  • 49
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 ...
Sepak's user avatar
  • 157
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="{...
vany reidenbach's user avatar

15 30 50 per page
1
2
3 4 5
7