search_item_edit.xml 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content" >
  5. <TextView
  6. android:id="@+id/aname"
  7. android:layout_width="wrap_content"
  8. android:layout_height="wrap_content"
  9. android:layout_alignParentLeft="true"
  10. android:layout_alignParentTop="true"
  11. android:text="Medium Text"
  12. android:textAppearance="?android:attr/textAppearanceMedium" />
  13. <EditText
  14. android:id="@+id/edit_val"
  15. android:layout_width="fill_parent"
  16. android:layout_height="wrap_content"
  17. android:layout_alignParentLeft="true"
  18. android:layout_below="@+id/aname"
  19. android:ems="15"
  20. android:hint="@string/prompt_search_criterion"
  21. android:inputType="textAutoComplete"
  22. android:maxLines="1"
  23. android:singleLine="true"
  24. android:text="" >
  25. </EditText>
  26. </RelativeLayout>