Questions tagged [hint]
361 questions
9
votes
6 answers
Android TalkBack: Hint overwrites contentDescription
I have an EditText like below
I want…

Egemen Hamutçu
- 1,602
- 3
- 22
- 34
9
votes
2 answers
How to create EditText hint as Text with image in android
How to create EditText hint/placeholder with Text & image in android. I write like this

sandeepmaaram
- 4,191
- 2
- 37
- 42
8
votes
2 answers
Issue with adding hint text in Jquery data table search box
Using a plugin such as watermark.js for adding the greyed out hint text in the search field of the Jquery datatable is not an option, I have to custom write it. I am almost there but facing this minor and strange issue explained below the following…

user1006072
- 953
- 5
- 20
- 29
8
votes
2 answers
EditText hint disappears with gravity
I have seen many similar questions to this one but I think this still covers new ground:
1) Hint text disappears when you set gravity
2) android:ellipsize="start" fixes that so you can have centered hints and centered text
3) why does the code below…

dylan murphy
- 1,370
- 1
- 18
- 33
8
votes
7 answers
hint and textview with right gravity and a singleline
I've opened a bug but i was wondering if anyone encountered this issue and knows a workaround.
If you define a text view with a hint inside it, give it right gravity (android:gravity="right") then if you define android:singleLine=true or…

codeScriber
- 4,582
- 7
- 38
- 62
8
votes
2 answers
Can I set something like "tooltip" for a view in android?
Can I set some message to appear like a "tooltip" for a TextView or Button?

Adham
- 63,550
- 98
- 229
- 344
8
votes
1 answer
How to add hint text in a Textfield in JavaFX
I want to add some hint text in a textfield, like "name" or "surname". I create the textfield like this TextField userTextField = new TextField(); , but I cannot find how to do that. Here, I just found this Clear prompt text in JavaFX TextField only…

user2556079
- 624
- 3
- 9
- 23
8
votes
3 answers
Can I get the default hint color of an EditText?
Is there a way to get the hint color from an EditText?
I need the color to set it as the text color of the EditText too

Marian Klühspies
- 15,824
- 16
- 93
- 136
7
votes
1 answer
How to add rel="preconnect" to tags other than link?
I am using Chrome Dev Tools to audit my site's homepage. And it gives one of the opportunities "Preconnect to required origins" for the facebook, twitter and linkedin share button in my homepage.
I read the google article about preconnect and…

alancc
- 487
- 2
- 24
- 68
7
votes
0 answers
Spring Data MongoDB: Specifying a hint on a Spring Data Repository find method
I am implementing a Spring Data Repository and having my repository extend the MongoRepository. I am looking for a way to specify a hint on my findBy methods so I can be control. I have seen several times when a non-optimal index would be picked as…

cowboy_programmer
- 101
- 4
7
votes
1 answer
Programatically show Balloon Hint only for invalid text edit input
I'm following this example:
http://lawrencebarsanti.wordpress.com/2009/12/16/display-error-messages-with-tballoonhint/
I'm trying to only show a balloon hint when the current value in the edit box is not acceptable. The check is triggered when…

ikathegreat
- 2,311
- 9
- 49
- 80
6
votes
1 answer
Hint.interpret gives a compiler error when used on a Polysemy.Sem value
I'm trying to compile Polysemy monad values at runtime using Hint (Language.Haskell.Interpreter).
When I try to do this I reliably get an error about improper use of the : operator in "interactive" code; it seems as if the text hint is passing to…

ShapeOfMatter
- 991
- 6
- 25
6
votes
0 answers
Change TextInputLayout only hint text style
I am trying to change TextInputLayout hint text style to bold. I changed color and other styles of hint in styles with use of TextAppearance :