如何在edittext和button下方添加行seprater是我的代码帮助我PLZ我按照此教程How to add (vertical) divider to a horizontal LinearLayout?不帮助我pl我只想添加行seprate rin bedtween edittext和按钮如何在edittext和按钮之间添加seprater
<RelativeLayout
android:layout_height="wrap_content"
android:background="#a8a8a8"
android:layout_width="fill_parent">
<EditText
android:id="@+id/EditText01"
android:hint="Enter some text..."
android:layout_alignParentLeft="true"
android:layout_width="fill_parent"
android:background="#a8a8a8"
android:paddingTop="15dp"
android:hint="SEARCH SCHOOL BY NAME"
android:layout_toLeftOf="@+id/Button01"
android:layout_height="wrap_content">
</EditText>
<Button
android:id="@+id/Button01"
android:text="Press Here!"
android:layout_width="wrap_content"
android:layout_alignParentRight="true"
android:layout_height="wrap_content"></Button>
</RelativeLayout>
看到我更新的答案! –