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
2
votes
0 answers

How to change color of clicked word in TextView repeatedly - Android Studio?

I have this code: public class MainActivity extends AppCompatActivity { @SuppressLint("ClickableViewAccessibility") @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …
Doxi67
  • 48
  • 6
2
votes
1 answer

Android BottomNavigationView item text not clickable

I'm using a BottomNavigationView but somehow I can't navigate to another item when I exactly click on the item's text because the click gets intercepted. This is a big problem as the text takes up half of the button. If I do a longpress it actually…
Wirling
  • 4,810
  • 3
  • 48
  • 78
2
votes
1 answer

Pandas make a column clickable and sort

I followed this post How to create a table with clickable hyperlink in pandas & Jupyter Notebook to create a clickable link in a dataframe. However, it seems any time I sort the dataframe, the hyper links go away. df =…
Alex Man
  • 457
  • 4
  • 19
2
votes
1 answer

Making a Bitmap Clickable with a Canvas

Hopefully this is the last step in completing my app. I need to make a bitmap within a canvas clickable that will either call a new activity that will play a video (mp4) or within the current activity play the video. The class that displays the…
jbellomy
  • 49
  • 1
  • 8
2
votes
1 answer

How to make a clickable link in TextView.seterror()

Hi everyone. I'd like to add a clickable url in the errormsg shown by using TextView.setError(msg) method. please take a look on my code. final EditText testview = findViewById(R.id.testview); final TextView textView =…
Ven
  • 39
  • 1
2
votes
0 answers

JDialog on Linux: Components clickable but invisible when Type is Type.POPUP

As the title states I have a JDialog with invisible but clickable components. See SSCCE below. This behaves correctly (i.e. the "close me" button is visible) on Windows with oracle jdk1.8.0_201. The problem is reproducible on Debian 10 with openbox…
edr
  • 436
  • 3
  • 5
  • 15
2
votes
4 answers

Creating a clickable UIImageView using an extension

I have the following Swift code. extension UIImageView { func enableClickablePrint() { let imageTap = UITapGestureRecognizer(target: self, action: #selector(imageTapped)) self.addGestureRecognizer(imageTap) …
Charlie Fish
  • 18,491
  • 19
  • 86
  • 179
2
votes
2 answers

Android Click on Widget not working after adding widget

prefs.java Intent resultValue = new Intent(); resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); setResult(RESULT_OK, resultValue); Context context = getApplicationContext(); …
jjsan
  • 41
  • 1
  • 5
2
votes
0 answers

Create clickable file to run docker using Platypus

I'd like to create clickable file for Mac users to run docker container. I want to use Platypus to achieve this: My setup: Script: #!/bin/sh set -e docker run -d --name nginx nginx:latest echo ">>>>> done!" After clicking .app file nothing…
Taz
  • 5,755
  • 6
  • 26
  • 63
2
votes
1 answer

Only a part of the button clickable

I made two buttons, but only a part of the buttons is clickable, the whole part of the button should be clickable. I used position absolute to give the buttons a place in my page. The hml code:
RaytjeKn
  • 51
  • 1
  • 6
2
votes
1 answer

Define a clickable/touchable area for custom markers in android google-maps-api-2

I'm new to google maps or rather android programming. Nevertheless I just managed to set up a google map for an internet browser. I created several custom markers (markers with my own icon) which have a specific clickable area. For google maps for…
2
votes
1 answer

textView.setMovementMethod in Android data binding

I want to achieve clickable link in a textview. I am now migrating all my UI to Android data binding and was wondering how to achieve it. textView.setMovementMethod. Any suggestions? Best, SK
Shashi Kiran
  • 999
  • 5
  • 13
  • 27
2
votes
0 answers

Change card view clickable property programmatically

how can I change the card view clickable property from true to false at run time for example when the "A" radio button checked I want to display new items and clickable false, and when the "B" radio button checked I want to display new items with…
Ali Habbash
  • 777
  • 2
  • 6
  • 29
2
votes
1 answer

Android draw unclickable layout over apps

I have a layout that I draw over other apps which is set to match_parent to fill the whole screen. In this layout I have a chat head which can be dragged around and clicked to reveal more. Normally I would set the layout to wrap_content and take up…
Ben
  • 757
  • 1
  • 7
  • 15
2
votes
2 answers

Clickable html links in Python 3.6 shell?

Say, I have a list full of html links that looks something like this: https://www.nytimes.com/2017/05/19/realestate/they-can-afford-to-buy-but-they-would-rather-rent.html When I run a script in Python 3.6 Idle, I get the list as an output in Python…
Moondra
  • 4,399
  • 9
  • 46
  • 104