Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the Color code for Android Hint?

What's the Color code that Android:hint uses? By that I mean the grayish color.

like image 694
Paramone Avatar asked Mar 11 '14 13:03

Paramone


People also ask

What is the Android color?

Android green is a shade of chartreuse or Caribbean green, defined by Google as the color of the "Android robot" logo for the Android operating system.

What does Android hint do?

To label an editable TextView or EditText , use android:hint to display a descriptive text label within the item when it's empty. If an app's user interface already provides a text label for the editable item, define android:labelFor on the labeling View to indicate which item the label describes.


2 Answers

R: 128  G: 128  B: 128 

or

#808080

like image 118
ottse Avatar answered Oct 05 '22 21:10

ottse


in your xml use this:

    android:textColor="?android:textColorHint" 
like image 20
Pomanh Avatar answered Oct 05 '22 20:10

Pomanh