安卓XML布局问题 有关验证码

想弄出来这种效果 弄不出来
图片说明
还有就是大家弄布局的时候都是用手敲吗 有没有好的模板之类

一个layout,里面放两个textview就行了,如果要平分宽度,就设置每个textview的weight=1

都是用手敲的

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center_horizontal"
    tools:context="com.xiaoyan.testandroid.MainActivity" >

    <TextView
        android:layout_width="0dp"
        android:layout_height="40dp"
        android:layout_weight="1"
        android:gravity="center"
        android:text="验证码:" />

    <EditText
        android:layout_width="0dp"
        android:layout_height="40dp"
        android:layout_weight="1"
        />

    <Button
        android:layout_width="0dp"
        android:layout_height="40dp"
        android:layout_weight="1"
        android:text="获取验证码" />

</LinearLayout>