Questions tagged [clickable]

The tag refers to a graphics user interface item, which can be clicked using the mouse or tapped (in case of touchscreen application).

702 questions
1
vote
0 answers

How can i make the inside of polygon clickable?

In the past days, I have tried to make the inside of those polygons clickable, but I had no success. I can click on lines of that polygon, but not inside it. How can I solve this? I have tried many solutions, but no success. class ParcelsCoordinates…
Alin
  • 11
  • 3
1
vote
1 answer

javascript pop-up window with clickable image

I have a pop-up window (in Javascript) in which I would like to include a button hidden in an image. So if the user clicks on the image the action should be performed. In HTML this is easy, but I don't know how to do this in Javascript. Thanks for…
Dan 3210
  • 11
  • 2
1
vote
3 answers

Disabling layer under SlidingDrawer in Android

I've found a few questions on this topic and i've tried the solutions, but I can't seem to get it right. I have a TableLayout as the first child in a RelativeLayout and a SlidingDrawer as the second child. The slide works fine, but clicking on the…
Metallicraft
  • 2,211
  • 5
  • 31
  • 52
1
vote
3 answers

How to make recyclerView_items unclickable, while one of them is clicked and working?

Premise Each of my RecyclerView_items displays an image, and changes its image_resource when tapped. One of them is the right answer which has additional function: navigation to another fragment 5-second after changing its image. Basically, the…
zousan
  • 93
  • 6
1
vote
2 answers

UIBarButtonItem not clickable

I have a very tricky problem and after long searching (google, stackoverflow, ...) i didn't get the solution that works for me. Let me introduce you in my current choosen architecture: I have a a AppDelegate, which has a UIView that contains a…
1
vote
2 answers

How to make EditText regain focus?

I have one activity with an EditText and a button. When the button is pressed, I call myEditText.setClickable(false); myEditText.setFocusable(false); I have another button, which when pressed, changes the activity. Intent myIntent = new…
1
vote
1 answer

Clickable TextView inside a GridView in Android

I have a GridView in android and i am populating it with TextView created inside the overrided method getView of BaseAdapter class. Initially the onClick method of the created TextView is not implemented, but performs the sense of pressed. But when…
mlecar
  • 729
  • 6
  • 9
1
vote
1 answer

Converting the text into a clickable Link

I have a web application, which displays the result parsed from an XML file in the form of table using ajax. It is working good, but the thing is, the data in the XML file is mostly URLs but I am seeing the result in the form of text. I want that…
Lucky
  • 17
  • 6
1
vote
3 answers

Android clickable TextView with hint and image to start search dialog and present selected result

I'm searching for an example that shows how I can implement a clickable textview that starts the Android default search dialog and displays a selected result line. It should have the same behaviour and design as the search field in the Google Maps…
user640688
  • 321
  • 3
  • 10
1
vote
1 answer

Buttons not clickable inside div: believe it to be due to the svg background

I have two buttons placed in a few layers of divs. Placing the buttons outside of the divs allows them to become clickable, but inside they are not. After some testing it seems to be the 'background' div that is preventing the clickable button,…
Liam Thompson
  • 23
  • 1
  • 7
1
vote
0 answers

How to handle taps on separate words in UILabel using swift when attributed text contains emojis?

In general detection of a tap in a specific range inside UILabel (or tap of a specific word) could be easily solved using the following extension: extension UITapGestureRecognizer { func didTapAttributedTextInLabel(label: UILabel, inRange…
daxh
  • 571
  • 7
  • 14
1
vote
0 answers

Avoiding "Other element would receive the click" with elementToBeClickable

I have this method using implicit wait pre configured to return me some WebElement: private WebElement findElement(By locator) { WebElement element = null; for (int i = 0; i <= numberOfTries && element == null; i++) try { …
rado
  • 5,720
  • 5
  • 29
  • 51
1
vote
2 answers

Clickable word from txt file

I read a .txt file from a folder in a textview with this code: String txt = ""; StringBuffer sbuffer1 = new StringBuffer(); InputStream is = this.getResources().openRawResource(R.raw.file); BufferedReader reader = new…
1
vote
1 answer

Clickable link in echo..how?

I am using this code to display woocommerce custom field on frontend: // DISPLAY Source Product URL --------------------------------- echo '
'; echo '
'; echo "
Lestra
  • 39
  • 6
1
vote
2 answers

Android layout not clickable when include ImageView and TextView

I have a layout like following. There are total five similar tabs. When I set onClickListener to the LinearLayout tab_dashboard in code, nothing fired. I have to set click listener to the ImageButton and TextView as well to make the whole area…
Ziwei Zeng
  • 691
  • 5
  • 21