有没有办法,我可以自定义的Android的EditText就像下面的图像的方法吗?谢谢你。
Is there a way that I can customize the android EditText just like the image below? Thanks.
试试这个
<LinearLayout android:layout_height="wrap_content"
android:layout_width="match_parent" android:background="@color/front_white"
android:orientation="vertical">
<EditText android:layout_height="35dip" android:layout_width="fill_parent"
android:id="@+id/editText1" android:background="@color/front_white"
android:hint="Email Address"></EditText>
<TextView android:layout_height="1dip" android:layout_width="fill_parent"
android:background="@color/dark_gry" />
<EditText android:layout_height="35dip" android:layout_width="fill_parent"
android:id="@+id/editText2" android:background="@color/front_white"
android:hint="Re-enter"></EditText>
</LinearLayout>
我希望这是你正在寻找。
I hope it is what you are looking for..