FAQ Database Discussion Community


ListView not clickable even with descendantFocusability

android,listview,focus,clickable
I'm trying to implement a ContextMenu, but by doing so I checked that my listview was not clickable. I went over different threads based on this subject and tried everything proposed android:focusable="false" android:focusableInTouchMode="false" even descendantFocusability="blockDescendants" but still not working Here is my main xml : <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"...

How to make dynamic phone number clickable for mobile users

javascript,mobile,numbers,phone,clickable
I have phone numbers on my website that are automatically inserted via a JavaScript to display either a default phone number (that's defined within the primary JavaScript) or change to a variable phone number if the webpage is accessed by a URL string with the phone number in it -...

ios core plot increase CPTPlotSymbol clickable area

ios,graph,core-plot,increment,clickable
I am using core plot library for showing Scatter plot in my app. I am creating CPTPlotSymbol like this :- CPTMutableLineStyle *symbolLineStyle = [CPTMutableLineStyle lineStyle]; symbolLineStyle.lineColor = [CPTColor blackColor]; CPTPlotSymbol *plotSymbol = [CPTPlotSymbol ellipsePlotSymbol]; plotSymbol.fill = [CPTFill fillWithColor:blueColor]; plotSymbol.lineStyle = symbolLineStyle; plotSymbol.size = CGSizeMake(5.0 , 5.0); Then graph point are...

Clickable username and hashtag in UILabel (Not UIWebView!)

ios,objective-c,swift,uilabel,clickable
The idea is for example there is a UILabel (like in Instagram) "User1 started following User2" I want that when we click either on chunk of text 'User1' or 'User2' it does some action(Not opening like usual link in UIWebView) Tried TTTAttributedLabel , didn't find anything which will fit me...

clickable text from jTextPane

jtextpane,clickable
I am implementing a function which sets text to jTextPane. So when user clicks certain word in jTextPane, the definition of that word should be displayed in jTextArea. I know how to display text in jTextPane and in jTextArea. What's troubling me is that when I click in jTextPane the...

To make a particular part of my text clickable

android,redirect,text,clickable
I'm tring to make a particular part of my text clickable. Please see the below image for example: In this image "www.google.com" is placed inside an expandable listview. Can anyone please help me how I can make this text clickable so that it re-directs to its corresponding web page ArrayList<String>...

XYZ Not working in android

android,html,tags,textview,clickable
i have searched on Stack overflow and followed the solution but still not getting what i want. i am receiving String from server like this <p><a href="http://www.arenafootball.com/sports/a-footbl/aflsrk/mtt/micheaux_robinson_841978.html"><span style="font-size: small;"><strong>AFL Stats</strong></span></a></p> and now i am trying to display it in TextView in android usingtv.setText(Html.fromHtml("")) Code: TextView tv = (TextView) findViewById(R.id.tv);...

C# Making a clickable list with names from a specific folder

c#,list,directory,readfile,clickable
Ive searched high and low for this but cant find it. Im trying to make a list with names from a specific folder that holds a lot of text files. I want the list to be clickable so let's say if it show a name like "Name1" and i click...

WPF expander not expanded above buttons make buttons unclickable

wpf,xaml,clickable,expander
In a WPF form, I have an expander that expands above other controls, such as buttons : <Expander Grid.Row="0" Panel.ZIndex="99" Name="searchMenuExpander" Header="Search menu" FontWeight="Bold" HorizontalAlignment="Stretch" Margin="10,10,0,0" MinWidth="510" MinHeight="200" VerticalAlignment="Top" Foreground="MidnightBlue" Cursor="Arrow"> <Grid Background="White"> <Border HorizontalAlignment="Stretch" VerticalAlignment="Stretch" /> <TextBlock Text="Name" HorizontalAlignment="Left" VerticalAlignment="Top"...

Create and display clickable cell of cells in Matlab GUI

matlab,uitableview,matlab-guide,cell-array,clickable
So I want to display a cell matrix in Matlab GUI. Moreover, some of that cells are arrays of cells, and I want them to be clickable and that by clicking on them I activate a function. Imagine I have a cell matrix: A=cell(2,2); A{1,1}='Collumn1'; A{1,2}='Collumn2'; A{2,1}={'A','B','C','D'}; A{2,2}={'E','F'}; I want...