edittext的光标的位置 android:hint="搜索" android:paddingLeft="10dp"(设置padding,hint字在哪里,光标就在哪里)。 另外: android:textColorHint="#898989" //设置hint字体的颜色