Questions tagged [focusable]

77 questions
3
votes
2 answers

ListView Android does not allow selector to work nor does it allows selections

Okay I know this may sound like any other issues regarding the ListView and ListActivity issues but this is not, I am going to go crazy as I have in the past week gone on and on searching all post to find any solution to this that may help me.…
Sanj
  • 3,770
  • 6
  • 26
  • 31
3
votes
1 answer

Are all WPF controls FOCUSable?

Are there any default exceptions where wpf controls are not focusable? My controls need to be all focusable, but I do not want to set everytime I create a control make focusable="true"
Panella
  • 31
  • 1
  • 2
2
votes
3 answers

After Animation EditText is focused for typing

I am trying to have my EditText Focused after the animation to expand it takes place. I tried programmicly setting the focus and in Xml have tried. I have run out of ideas that could fix this but someone out there has to know MainActivity, public…
EquiWare
  • 127
  • 2
  • 14
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
3 answers

ListView with EditText and OnItemClickListener

I have a ListView with a custom Adapter which populates Items with an EditText and a TextView:
Rafael T
  • 15,401
  • 15
  • 83
  • 144
2
votes
1 answer

how to make accessibility focus stay inside current fragment

How can I make focus navigation to stay inside the current fragment? Or, how can I set focusable to false for a whole fragment or view with its all child view? full explanation: I'm making my Android app accessible. I have this situation: home…
2
votes
1 answer

JAVA FX ScrollPane Does Not Allow To Request Focus On A Field

I'm developing a JavaFX client. It is a two-pane software. The left pane is a list that shows several applications (with different layouts) developed for the client (Application_1, Application_2, etc). The right pane is the place where the…
2
votes
2 answers

How can I make a control lose focus if the user clicks on something that's not focusable?

I've got an ItemsControl filled with dozens of items; each item is a bound text box and a couple of buttons. Because I want the user to be able to tab from text box to text box, the buttons have Focusable set to False. This works just fine. The…
Robert Rossney
  • 94,622
  • 24
  • 146
  • 218
2
votes
5 answers

implementing OnItemClickListener, but onItemClick doesn't work

In MainActivity there is onItemClick, and the activity iplements OnItemClickListener. all is very simple, the result of this listener is to print with a Toas a message on screen when an user touch an item of the ListView. But the onItemClick…
tune
  • 23
  • 1
  • 2
  • 5
1
vote
2 answers

Android - How to tell if user "clicks" anywhere outside of TextView?

I have a TextView that converts to an EditView on touch. However, I want the opposite to occur when a user touches anywhere outside of the EditView. I've tried to use setOnFocusChangeListener, but that only appears to work when something else…
Igor
  • 33,276
  • 14
  • 79
  • 112
1
vote
0 answers

SwiftUI tvOS Buttons wrapped inside focusable HStack do not respond action

I found similar problems on SO about the focus engine with SwiftUI on tvOS. I think I managed to solve the focusable issue by wrapping the two Buttons here inside HStack with focusable. HStack(spacing: 40) { …
Seto
  • 1,234
  • 1
  • 17
  • 33
1
vote
1 answer

It is possible to make just some tabs focusable (JTabbedPane)?

It is possible to make just some tabs focusable, for instance the first 3 of 5 tabs? So that when changing tabs with the left - right keys, the non-focusable ones to be skipped (to be displayed only by mouse clicks). Thanks!
radonys
  • 597
  • 1
  • 9
  • 20
1
vote
1 answer

JTextPane avoid blinking

I have a JTextArea and I want to disable blinking from it. I have tried to set focusable to false, but it doesn't seem to work. I also set editable to false and it doesn't work either. Any idea?
user743489
1
vote
1 answer

Disable focus for background layout

I show a settings box by clicking on a button. I use this code:
Edwin ZAP
  • 419
  • 1
  • 4
  • 16
1
vote
0 answers

Gridview scroll on KeyDown for android TV

I have implemented GridView on an Android TV app to show YouTube videos from a particular channel. What I want is on pressing the Ok key whichever Item is in focus it should be played and on keyDown GridView should scroll if it is the end of the…
Paras Watts
  • 2,565
  • 4
  • 21
  • 46