您可以创建自己的主题,其中样式化了colorHint:<style name="AppTheme" parent="Theme.AppCompat" <item name="android:textColorHint">@color/text_color_hint</item> </style>